wok view python-humanize/receipt @ rev 24815

updated libnids (1.24 -> 1.26)
author Hans-G?nter Theisgen
date Wed Mar 23 06:19:41 2022 +0100 (2022-03-23)
parents dc4d6f2f2ec2
children 0262035dc1e7
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|setuptools_scm|setuptools|' setup.py
28 python setup.py install --prefix=/usr --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }