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