wok view python-babel/receipt @ rev 25353
updated tesseract-ocr-lang packages (3.02 -> 4.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 14:33:11 2022 +0100 (2022-07-26) |
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 }