wok-current view python-pyrex/receipt @ rev 25212

updated python-passlib (1.7.2 -> 1.7.4)
author Hans-G?nter Theisgen
date Wed Jul 13 15:14:14 2022 +0100 (2022-07-13)
parents 7390f8de9846
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyrex"
4 VERSION="0.9.9"
5 CATEGORY="development"
6 SHORT_DESC="Language for Writing Python Extension Modules."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="Apache"
9 SOURCE="Pyrex"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"
12 WGET_URL="$WEB_SITE$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" --prefix=/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }