wok-6.x diff python-pytz/receipt @ rev 17897
Add: perltidy
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Apr 02 22:07:09 2015 +0000 (2015-04-02) |
parents | 32fcbb9be6bb |
children | 7390f8de9846 |
line diff
1.1 --- a/python-pytz/receipt Mon Jun 06 21:49:27 2011 +0200 1.2 +++ b/python-pytz/receipt Thu Apr 02 22:07:09 2015 +0000 1.3 @@ -6,25 +6,27 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="World Timezone Definitions for Python." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -DEPENDS="python" 1.8 -BUILD_DEPENDS="python-dev python" 1.9 +LICENSE="MIT" 1.10 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.11 WEB_SITE="http://pytz.sourceforge.net/" 1.12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.13 1.14 +DEPENDS="python" 1.15 +BUILD_DEPENDS="python-dev python" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 python setup.py build && 1.22 - python setup.py install --root=$PWD/_pkg 1.23 + python setup.py install --root=$DESTDIR 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 mkdir -p $fs 1.30 - cp -a $_pkg/usr $fs 1.31 + cp -a $install/usr $fs 1.32 } 1.33 1.34 # Remove old package.