wok annotate python-pyrex/receipt @ rev 25540

Update some web_site/wget_url with https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 18:12:54 2023 +0000 (20 months ago)
parents ad8b9ff412d2
children
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"
pascal@25540 11 WEB_SITE="https://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 }