wok-next annotate python-bpython/receipt @ rev 20889

Check Repology info from y* to z* packages: complete
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 15 10:27:39 2018 +0300 (2018-07-15)
parents 542df2bfb7b5
children 8b5b2a6d07b8
rev   line source
al@19763 1 # SliTaz package receipt v2.
claudinei@3421 2
claudinei@3421 3 PACKAGE="python-bpython"
al@20732 4 VERSION="latest"
claudinei@3421 5 CATEGORY="development"
al@19763 6 SHORT_DESC="A fancy interface to the Python interpreter"
claudinei@3421 7 MAINTAINER="claudinei@slitaz.org"
pascal@15378 8 LICENSE="MIT"
al@19763 9 WEB_SITE="https://pypi.python.org/pypi/bpython"
al@20885 10 REPOLOGY="python:bpython"
pascal@15378 11
al@19763 12 BUILD_DEPENDS="python-dev python-pygments python-greenlet python-requests \
al@19763 13 python-curtsies python-six python-urllib3 python-idna python-certifi \
al@19763 14 python-chardet python-wcwidth python-blessings"
claudinei@3421 15
al@20732 16 compile_rules() {
al@19763 17 pip install --no-compile --root=$DESTDIR bpython
claudinei@3421 18 }
claudinei@3421 19
al@20732 20 genpkg_rules() {
al@20732 21 VERSION=$(sed -n '/^Successfully installed/ s|.*bpython-||p' $LOGS/$PACKAGE.log)
al@19763 22 copy @std
al@19763 23 DEPENDS="${BUILD_DEPENDS/python-dev/}"
claudinei@3421 24 }