wok-current annotate python-enum34/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | |
children | 7c0170dd3ecc |
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@21811 | 9 WEB_SITE="https://bitbucket.org/stoneleaf/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@21811 | 16 # Rules to configure and make the package. |
pascal@21811 | 17 compile_rules() |
pascal@21811 | 18 { |
pascal@21811 | 19 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@21811 | 20 } |
pascal@21811 | 21 |
pascal@21811 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21811 | 23 genpkg_rules() |
pascal@21811 | 24 { |
pascal@21811 | 25 cp -a $install/usr $fs/ |
pascal@21811 | 26 } |