wok annotate python-pyrex/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | 7390f8de9846 |
children | 73f36875e5a7 |
rev | line source |
---|---|
pankso@3975 | 1 # SliTaz package receipt. |
pankso@3975 | 2 |
pankso@3975 | 3 PACKAGE="python-pyrex" |
slaxemulator@6904 | 4 VERSION="0.9.9" |
pankso@3975 | 5 CATEGORY="development" |
pankso@3975 | 6 SHORT_DESC="Language for Writing Python Extension Modules." |
pankso@3975 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="Apache" |
pankso@3975 | 9 SOURCE="Pyrex" |
pankso@3975 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3975 | 11 WEB_SITE="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/" |
al@18086 | 12 WGET_URL="$WEB_SITE$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
pankso@3975 | 15 DEPENDS="python" |
pankso@3975 | 16 BUILD_DEPENDS="python python-dev" |
pankso@3975 | 17 |
pascal@24433 | 18 # What is the latest version available today? |
pascal@24433 | 19 current_version() |
pascal@24433 | 20 { |
pascal@24433 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24433 | 22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 23 } |
pascal@24433 | 24 |
pankso@3975 | 25 # Rules to configure and make the package. |
pankso@3975 | 26 compile_rules() |
pankso@3975 | 27 { |
pascal@15378 | 28 python setup.py install --root="$DESTDIR" --prefix=/usr |
pankso@3975 | 29 } |
pankso@3975 | 30 |
pankso@3975 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3975 | 32 genpkg_rules() |
pankso@3975 | 33 { |
pascal@15378 | 34 cp -a $install/usr $fs |
pankso@3975 | 35 } |