wok annotate python-peak-rules/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | 814362194a8d |
children | b81ceff0b056 |
rev | line source |
---|---|
al@18956 | 1 # SliTaz package receipt. |
al@18956 | 2 |
al@18956 | 3 PACKAGE="python-peak-rules" |
al@18956 | 4 VERSION="0.5a1.dev-r2713" |
al@18956 | 5 CATEGORY="misc" |
al@18956 | 6 SHORT_DESC="Generic functions and business rules support systems" |
al@18956 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18956 | 8 LICENSE="ZPL2.1" |
al@18956 | 9 WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules" |
al@18956 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18956 | 11 WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz" |
al@18956 | 12 |
al@18956 | 13 DEPENDS="python" |
pascal@21582 | 14 BUILD_DEPENDS="python-setuptools" |
al@18956 | 15 |
pascal@24391 | 16 # What is the latest version available today? |
pascal@24391 | 17 current_version() |
pascal@24391 | 18 { |
pascal@24391 | 19 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 20 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 21 } |
pascal@24391 | 22 |
al@18956 | 23 # Rules to configure and make the package. |
al@18956 | 24 compile_rules() |
al@18956 | 25 { |
al@18956 | 26 python setup.py build && |
al@18956 | 27 python setup.py install --root=$install |
al@18956 | 28 } |
al@18956 | 29 |
al@18956 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18956 | 31 genpkg_rules() |
al@18956 | 32 { |
al@18956 | 33 cp -a $install/* $fs |
al@18956 | 34 } |