wok annotate python-humanize/receipt @ rev 23971
Add ascii-patrol & pngnq-s9
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 08 16:37:16 2020 +0000 (2020-10-08) |
parents | 814362194a8d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@20295 | 1 # SliTaz package receipt. |
pascal@20295 | 2 |
pascal@20295 | 3 PACKAGE="python-humanize" |
Hans-G?nter@23495 | 4 VERSION="1.0.0" # last version for Python 2 |
pascal@20295 | 5 CATEGORY="development" |
pascal@20295 | 6 SHORT_DESC="python humanize functions" |
pascal@20295 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20295 | 8 LICENSE="MIT" |
pascal@20295 | 9 WEB_SITE="https://pypi.org/project/humanize/" |
Hans-G?nter@23495 | 10 |
pascal@20295 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20295 | 12 WGET_URL="https://github.com/jmoiron/humanize/archive/$VERSION.tar.gz" |
pascal@20295 | 13 |
pascal@20295 | 14 DEPENDS="python" |
Hans-G?nter@23495 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@20295 | 16 |
pascal@20295 | 17 # Rules to configure and make the package. |
pascal@20295 | 18 compile_rules() |
pascal@20295 | 19 { |
Hans-G?nter@23495 | 20 sed -i 's|setuptools_scm|setuptools|' setup.py |
Hans-G?nter@23495 | 21 |
pascal@20295 | 22 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20295 | 23 } |
pascal@20295 | 24 |
pascal@20295 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20295 | 26 genpkg_rules() |
pascal@20295 | 27 { |
Hans-G?nter@23495 | 28 cp -a $install/usr $fs |
pascal@20295 | 29 } |