wok-next diff python-babel/receipt @ rev 19948
Up ghostscript (9.22) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 12:07:55 2017 +0200 (2017-10-16) |
parents | 16df76e1fc6a |
children | 0e7893ac206d |
line diff
1.1 --- a/python-babel/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/python-babel/receipt Mon Oct 16 12:07:55 2017 +0200 1.3 @@ -1,27 +1,24 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 PACKAGE="python-babel" 1.7 -VERSION="0.9.6" 1.8 +VERSION="2.4.0" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="A collection of tools for internationalizing Python applications." 1.11 +SHORT_DESC="A collection of tools for internationalizing Python applications" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 -SOURCE="Babel" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://babel.edgewall.org/" 1.17 -WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL" 1.18 +WEB_SITE="https://pypi.python.org/pypi/Babel" 1.19 1.20 -DEPENDS="python" 1.21 -BUILD_DEPENDS="python python-dev setuptools" 1.22 +BUILD_DEPENDS="python-pytz" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - python setup.py build && 1.28 - python setup.py install --root=$DESTDIR 1.29 + pip install --no-compile --root=$DESTDIR Babel 1.30 } 1.31 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs 1.36 - cp -a $install/usr $fs 1.37 + copy @std 1.38 + DEPENDS="python-pytz" 1.39 }