wok view python-humanize/receipt @ rev 24865

updated lsscsi (0.31 -> 0.32)
author Hans-G?nter Theisgen
date Wed Mar 30 06:29:17 2022 +0100 (2022-03-30)
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 }