wok diff python-pytz/receipt @ rev 17437

slitaz-boot-scripts: install required slitaz-arm-configs in ARM case
author Richard Dunbar <mojo@slitaz.org>
date Sun Dec 07 19:35:57 2014 -0500 (2014-12-07)
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	Sun Dec 07 19:35:57 2014 -0500
     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.