wok annotate python-extremes/receipt @ rev 24923
mutt: addgroup mail only when not already existing
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 12 16:45:14 2022 +0100 (2022-04-12) |
parents | 5d50a02468c7 |
children | e717a4953b0e |
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" |
pankso@3383 | 11 WEB_SITE="http://pypi.python.org/pypi/Extremes" |
pankso@3383 | 12 WGET_URL="http://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 } |