wok-next view python-bpython/receipt @ rev 20972
Improve Python packages: update, also provide Python3 packages where available
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 22 16:05:26 2018 +0300 (2018-09-22) |
parents | 8b5b2a6d07b8 |
children | c88baf7ab6c5 |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="bpython"
4 PACKAGE="python-bpython"
5 VERSION="0.17.1"
6 CATEGORY="development"
7 SHORT_DESC="A fancy interface to the Python interpreter"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:bpython"
14 BUILD_DEPENDS="python-dev python-pygments python-greenlet python-requests \
15 python-curtsies python-six python-urllib3 python-idna python-certifi \
16 python-chardet python-wcwidth python-blessings \
17 python3-dev python3-pygments python3-greenlet python3-requests \
18 python3-curtsies python3-six python3-urllib3 python3-idna python3-certifi \
19 python3-chardet python3-wcwidth python3-blessings"
20 SPLIT="${PACKAGE/python/python3}:3"
22 compile_rules() {
23 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
24 }
26 genpkg_rules() {
27 copy @std
28 py=${PACKAGE%%-*} # python/python3
29 DEPENDS="$py-pygments $py-greenlet $py-requests $py-curtsies $py-six \
30 $py-urllib3 $py-idna $py-certifi $py-chardet $py-wcwidth $py-blessings"
31 }