wok-next diff python-pytz/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | 9e01bc6321ea |
children | 0e7893ac206d |
line diff
1.1 --- a/python-pytz/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/python-pytz/receipt Fri Oct 20 23:49:15 2017 +0200 1.3 @@ -1,36 +1,24 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-pytz" 1.7 -SOURCE="pytz" 1.8 -VERSION="2011g" 1.9 +VERSION="2017.2" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="World Timezone Definitions for Python." 1.12 +SHORT_DESC="World Timezone Definitions for Python" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="MIT" 1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://pytz.sourceforge.net/" 1.17 -WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.18 +WEB_SITE="https://pypi.python.org/pypi/pytz" 1.19 1.20 -DEPENDS="python" 1.21 -BUILD_DEPENDS="python-dev python" 1.22 +BUILD_DEPENDS="python" 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 pytz 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" 1.39 } 1.40 - 1.41 -# Remove old package. 1.42 -post_install() 1.43 -{ 1.44 - [ ! -d "$1/var/lib/tazpkg/installed/pytz" ] || 1.45 - rm -rf "$1/var/lib/tazpkg/installed/pytz" 1.46 -}