wok annotate python-extremes/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
pankso@3383 | 1 # SliTaz package receipt. |
pankso@3383 | 2 |
pankso@3383 | 3 PACKAGE="python-extremes" |
pankso@3383 | 4 VERSION="1.1.1" |
pankso@3383 | 5 CATEGORY="development" |
pankso@3383 | 6 SHORT_DESC="Production-quality 'Min' and 'Max' objects (adapted from PEP 326)." |
pankso@3383 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="PSL" |
pankso@3383 | 9 SOURCE="Extremes" |
pankso@3383 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@24975 | 11 WEB_SITE="https://pypi.python.org/pypi/Extremes" |
pascal@24975 | 12 WGET_URL="https://pypi.python.org/packages/source/E/$SOURCE/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
pankso@3383 | 15 DEPENDS="python" |
pascal@21581 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pankso@3383 | 17 |
pascal@24391 | 18 # What is the latest version available today? |
pascal@24391 | 19 current_version() |
pascal@24391 | 20 { |
pascal@24391 | 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
pankso@3383 | 25 # Rules to configure and make the package. |
pankso@3383 | 26 compile_rules() |
pankso@3383 | 27 { |
pascal@15378 | 28 python setup.py install --root=$DESTDIR |
pankso@3383 | 29 } |
pankso@3383 | 30 |
pankso@3383 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3383 | 32 genpkg_rules() |
pankso@3383 | 33 { |
pascal@15378 | 34 cp -a $install/usr $fs |
pankso@3383 | 35 } |