wok-6.x annotate python-pyprotocols/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (19 months ago)
parents 241fb98cab1c
children
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@25438 11 WEB_SITE="https://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 }