wok-current annotate python-pyprotocols/receipt @ rev 25268
xorg-cf-files/Imake.tmpl: update ArCmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 17 14:59:20 2022 +0000 (2022-07-17) |
parents | fe803e849a79 |
children | 8ea0030e77cb |
rev | line source |
---|---|
pankso@4710 | 1 # SliTaz package receipt. |
pankso@4710 | 2 |
pankso@4710 | 3 PACKAGE="python-pyprotocols" |
pankso@4710 | 4 VERSION="0.9.3" |
pankso@4710 | 5 CATEGORY="development" |
pankso@4710 | 6 SHORT_DESC="PEP 246 and a whole lot more." |
pankso@4710 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="PSL" |
pankso@4710 | 9 SOURCE="PyProtocols" |
pankso@4710 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@22504 | 11 WEB_SITE="http://www.turbogears.org/" |
pankso@4710 | 12 WGET_URL="http://peak.telecommunity.com/dist/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
pankso@4710 | 15 DEPENDS="python" |
pankso@4710 | 16 BUILD_DEPENDS="python python-dev" |
pankso@4710 | 17 |
pascal@24453 | 18 # What is the latest version available today? |
pascal@24453 | 19 current_version() |
pascal@24453 | 20 { |
pascal@24453 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 23 } |
pascal@24453 | 24 |
pankso@4710 | 25 # Rules to configure and make the package. |
pankso@4710 | 26 compile_rules() |
pankso@4710 | 27 { |
pascal@15378 | 28 python setup.py install --root=$DESTDIR |
pankso@4710 | 29 } |
pankso@4710 | 30 |
pankso@4710 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4710 | 32 genpkg_rules() |
pankso@4710 | 33 { |
pascal@15378 | 34 cp -a $install/usr $fs |
pankso@4710 | 35 } |