wok annotate python-babel/receipt @ rev 25004

updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author Hans-G?nter Theisgen
date Mon May 16 16:20:40 2022 +0100 (2022-05-16)
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 }