wok-current annotate python-enum34/receipt @ rev 25016
updated openconnect (8.10 -> 9.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 06:13:55 2022 +0100 (2022-05-18) |
parents | 7c0170dd3ecc |
children |
rev | line source |
---|---|
pascal@21811 | 1 # SliTaz package receipt. |
pascal@21811 | 2 |
pascal@21811 | 3 PACKAGE="python-enum34" |
pascal@21811 | 4 VERSION="1.1.6" |
pascal@21811 | 5 CATEGORY="development" |
pascal@21811 | 6 SHORT_DESC="Python 3.4 Enum backport" |
pascal@21811 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21811 | 8 LICENSE="BSD" |
pascal@24894 | 9 WEB_SITE="https://pypi.org/project/enum34/" |
pascal@21811 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@21811 | 11 WGET_URL="https://files.pythonhosted.org/packages/e8/26/a6101edcf724453845c850281b96b89a10dac6bd98edebc82634fccce6a5/enum34-1.1.6.zip" |
pascal@21811 | 12 |
pascal@21811 | 13 DEPENDS="python" |
pascal@21811 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@21811 | 15 |
pascal@24535 | 16 # What is the latest version available today? |
pascal@24535 | 17 current_version() |
pascal@24535 | 18 { |
pascal@24535 | 19 wget -O - https://pypi.org/project/enum34/ 2>/dev/null | \ |
pascal@24535 | 20 sed '/enum34 [0-9]/!d;s|.*m34.||;q' |
pascal@24535 | 21 } |
pascal@24535 | 22 |
pascal@21811 | 23 # Rules to configure and make the package. |
pascal@21811 | 24 compile_rules() |
pascal@21811 | 25 { |
pascal@21811 | 26 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@21811 | 27 } |
pascal@21811 | 28 |
pascal@21811 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21811 | 30 genpkg_rules() |
pascal@21811 | 31 { |
pascal@21811 | 32 cp -a $install/usr $fs/ |
pascal@21811 | 33 } |