wok-6.x annotate zopeinterface/receipt @ rev 24323
updated aria2 (1.35.0 -> 1.36.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 09:00:40 2022 +0100 (2022-01-27) |
parents | 7390f8de9846 |
children | fb22330086d8 |
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@24304 | 21 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
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 } |