wok-current view python-babel/receipt @ rev 24561

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