wok-6.x annotate python-babel/receipt @ rev 25329
updated srcpd (2.1.3 -> 2.1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 10:26:15 2022 +0100 (2022-07-23) |
parents | 5d50a02468c7 |
children | 73f36875e5a7 |
rev | line source |
---|---|
pascal@9668 | 1 PACKAGE="python-babel" |
pascal@9668 | 2 VERSION="0.9.6" |
pascal@9668 | 3 CATEGORY="development" |
pascal@9668 | 4 SHORT_DESC="A collection of tools for internationalizing Python applications." |
pascal@9668 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 6 LICENSE="BSD" |
pascal@9668 | 7 SOURCE="Babel" |
pascal@9668 | 8 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9668 | 9 WEB_SITE="http://babel.edgewall.org/" |
pascal@9668 | 10 WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL" |
pascal@15378 | 11 |
pascal@9668 | 12 DEPENDS="python" |
pascal@21581 | 13 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@9668 | 14 |
pascal@24453 | 15 # What is the latest version available today? |
pascal@24453 | 16 current_version() |
pascal@24453 | 17 { |
pascal@24453 | 18 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 19 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 20 } |
pascal@24453 | 21 |
pascal@9668 | 22 # Rules to configure and make the package. |
pascal@9668 | 23 compile_rules() |
pascal@9668 | 24 { |
pascal@9668 | 25 python setup.py build && |
mojo@14550 | 26 python setup.py install --root=$DESTDIR |
pascal@9668 | 27 } |
pascal@9668 | 28 |
pascal@9668 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9668 | 30 genpkg_rules() |
pascal@9668 | 31 { |
pascal@9668 | 32 mkdir -p $fs |
mojo@14550 | 33 cp -a $install/usr $fs |
pascal@9668 | 34 } |