wok-next view python-bpython/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-bpython"
4 VERSION="latest"
5 CATEGORY="development"
6 SHORT_DESC="A fancy interface to the Python interpreter"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.python.org/pypi/bpython"
11 BUILD_DEPENDS="python-dev python-pygments python-greenlet python-requests \
12 python-curtsies python-six python-urllib3 python-idna python-certifi \
13 python-chardet python-wcwidth python-blessings"
15 compile_rules() {
16 pip install --no-compile --root=$DESTDIR bpython
17 }
19 genpkg_rules() {
20 VERSION=$(sed -n '/^Successfully installed/ s|.*bpython-||p' $LOGS/$PACKAGE.log)
21 copy @std
22 DEPENDS="${BUILD_DEPENDS/python-dev/}"
23 }