wok annotate zopeinterface/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
pascal@2147 | 1 # SliTaz package receipt. |
pascal@2147 | 2 |
pascal@2147 | 3 PACKAGE="zopeinterface" |
slaxemulator@15847 | 4 VERSION="4.0.5" |
pascal@2147 | 5 CATEGORY="network" |
slaxemulator@15847 | 6 SHORT_DESC="Zope 4 Interface Infrastructure." |
pascal@2147 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15361 | 8 LICENSE="other" |
pascal@2147 | 9 SOURCE="zope.interface" |
slaxemulator@15847 | 10 TARBALL="$SOURCE-$VERSION.zip" |
slaxemulator@15847 | 11 WEB_SITE="https://pypi.python.org/pypi/zope.interface" |
slaxemulator@15847 | 12 WGET_URL="https://pypi.python.org/packages/source/z/$SOURCE/$TARBALL" |
pascal@15361 | 13 TAGS="webserver application-server appserver" |
pascal@15361 | 14 |
pascal@2147 | 15 DEPENDS="python" |
slaxemulator@15850 | 16 BUILD_DEPENDS="python python-dev wget" |
pascal@2147 | 17 |
pascal@24304 | 18 # What is the latest version available today? |
pascal@24304 | 19 current_version() |
pascal@24304 | 20 { |
pascal@24384 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/ $SOURCE /!d;s|.*$SOURCE ||;s|<.*||;q" |
pascal@24304 | 22 } |
pascal@24304 | 23 |
pascal@2147 | 24 # Rules to configure and make the package. |
pascal@2147 | 25 compile_rules() |
pascal@2147 | 26 { |
pascal@15361 | 27 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2147 | 28 } |
pascal@2147 | 29 |
pascal@2147 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2147 | 31 genpkg_rules() |
pascal@2147 | 32 { |
pascal@15361 | 33 cp -a $install/usr $fs |
pascal@2147 | 34 } |