wok-6.x view python-pyprotocols/receipt @ rev 25053

Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 19:53:43 2022 +0000 (2022-06-05)
parents fe803e849a79
children 8ea0030e77cb
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyprotocols"
4 VERSION="0.9.3"
5 CATEGORY="development"
6 SHORT_DESC="PEP 246 and a whole lot more."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="PSL"
9 SOURCE="PyProtocols"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.turbogears.org/"
12 WGET_URL="http://peak.telecommunity.com/dist/$TARBALL"
13 TAGS="python"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }