wok view python-babel/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents 73f36875e5a7
children
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="https://babel.edgewall.org/"
10 WGET_URL="https://ftp.edgewall.org/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 }