wok-6.x annotate python-babel/receipt @ rev 25555
Up gsoap (2.8.127)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 19 10:00:25 2023 +0000 (20 months ago) |
parents | 73f36875e5a7 |
children |
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@25540 | 9 WEB_SITE="https://babel.edgewall.org/" |
pascal@25555 | 10 WGET_URL="https://ftp.edgewall.org/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 } |