wok-next view python-blessings/receipt @ rev 20732

Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 17:01:41 2018 +0300 (2018-05-29)
parents 8cad5edc1a45
children 9b3461bf373c
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-blessings"
4 VERSION="latest"
5 CATEGORY="development"
6 SHORT_DESC="A thin, practical wrapper around terminal coloring, styling, and positioning"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.python.org/pypi/blessings"
11 BUILD_DEPENDS="python"
13 compile_rules() {
14 pip install --no-compile --root=$DESTDIR blessings
15 }
17 genpkg_rules() {
18 VERSION=$(sed -n '/^Successfully installed/ s|.*blessings-||p' $LOGS/$PACKAGE.log)
19 copy @std
20 DEPENDS="python"
21 }