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

Combine rox-filer
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 04:01:01 2018 +0200 (2018-11-03)
parents 8b5b2a6d07b8
children c88baf7ab6c5
rev   line source
al@19763 1 # SliTaz package receipt v2.
claudinei@3421 2
al@20972 3 ORIGIN="bpython"
claudinei@3421 4 PACKAGE="python-bpython"
al@20972 5 VERSION="0.17.1"
claudinei@3421 6 CATEGORY="development"
al@19763 7 SHORT_DESC="A fancy interface to the Python interpreter"
claudinei@3421 8 MAINTAINER="claudinei@slitaz.org"
pascal@15378 9 LICENSE="MIT"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:bpython"
pascal@15378 13
al@19763 14 BUILD_DEPENDS="python-dev python-pygments python-greenlet python-requests \
al@19763 15 python-curtsies python-six python-urllib3 python-idna python-certifi \
al@20972 16 python-chardet python-wcwidth python-blessings \
al@20972 17 python3-dev python3-pygments python3-greenlet python3-requests \
al@20972 18 python3-curtsies python3-six python3-urllib3 python3-idna python3-certifi \
al@20972 19 python3-chardet python3-wcwidth python3-blessings"
al@20972 20 SPLIT="${PACKAGE/python/python3}:3"
claudinei@3421 21
al@20732 22 compile_rules() {
al@20972 23 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
claudinei@3421 24 }
claudinei@3421 25
al@20732 26 genpkg_rules() {
al@19763 27 copy @std
al@20972 28 py=${PACKAGE%%-*} # python/python3
al@20972 29 DEPENDS="$py-pygments $py-greenlet $py-requests $py-curtsies $py-six \
al@20972 30 $py-urllib3 $py-idna $py-certifi $py-chardet $py-wcwidth $py-blessings"
claudinei@3421 31 }