wok-current view python-humanize/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
parents | 814362194a8d |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-humanize"
4 VERSION="1.0.0" # last version for Python 2
5 CATEGORY="development"
6 SHORT_DESC="python humanize functions"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/humanize/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jmoiron/humanize/archive/$VERSION.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|setuptools_scm|setuptools|' setup.py
22 python setup.py install --prefix=/usr --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }