wok annotate py3k-distutils-extra/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | fbdafd10b728 |
children |
rev | line source |
---|---|
Hans-G?nter@24395 | 1 # SliTaz package receipt. |
Hans-G?nter@24395 | 2 |
Hans-G?nter@24395 | 3 PACKAGE="py3k-distutils-extra" |
Hans-G?nter@24395 | 4 VERSION="2.39" |
Hans-G?nter@24395 | 5 CATEGORY="development" |
Hans-G?nter@24395 | 6 SHORT_DESC="Enhanced distutils package for python." |
Hans-G?nter@24395 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24395 | 8 LICENSE="GPL" |
Hans-G?nter@24395 | 9 WEB_SITE="https://launchpad.net/python-distutils-extra" |
Hans-G?nter@24395 | 10 |
Hans-G?nter@24395 | 11 SOURCE="python-distutils-extra" |
Hans-G?nter@24395 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24395 | 13 WGET_URL="https://launchpad.net/$SOURCE/trunk/$VERSION/+download/$TARBALL" |
Hans-G?nter@24395 | 14 |
Hans-G?nter@24395 | 15 DEPENDS="py3k" |
Hans-G?nter@24395 | 16 BUILD_DEPENDS="py3k-setuptools_scm" |
Hans-G?nter@24395 | 17 |
Hans-G?nter@24395 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@24395 | 19 |
pascal@24396 | 20 # What is the latest version available today? |
pascal@24396 | 21 current_version() |
pascal@24396 | 22 { |
pascal@24396 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24396 | 24 sed '/atest version/!d;s|.* is ||;q' |
pascal@24396 | 25 } |
pascal@24396 | 26 |
Hans-G?nter@24395 | 27 # Rules to configure and make the package. |
Hans-G?nter@24395 | 28 compile_rules() |
Hans-G?nter@24395 | 29 { |
Hans-G?nter@24395 | 30 python3 setup.py build && |
Hans-G?nter@24395 | 31 python3 setup.py install --prefix=/usr --root=$DESTDIR |
Hans-G?nter@24395 | 32 } |
Hans-G?nter@24395 | 33 |
Hans-G?nter@24395 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24395 | 35 genpkg_rules() |
Hans-G?nter@24395 | 36 { |
Hans-G?nter@24395 | 37 cp -a $install/* $fs |
Hans-G?nter@24395 | 38 } |