wok annotate python-pytz/receipt @ rev 23387
updated perl-pcsc (1.4.12 -> 1.4.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:21:04 2020 +0100 (2020-03-31) |
parents | 1067bb7f1e24 |
children | 27cfc8276927 |
rev | line source |
---|---|
claudinei@3416 | 1 # SliTaz package receipt. |
claudinei@3416 | 2 |
claudinei@3416 | 3 PACKAGE="python-pytz" |
claudinei@3416 | 4 SOURCE="pytz" |
pascal@10825 | 5 VERSION="2011g" |
claudinei@3416 | 6 CATEGORY="development" |
claudinei@3416 | 7 SHORT_DESC="World Timezone Definitions for Python." |
claudinei@3416 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
claudinei@3416 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
claudinei@3416 | 11 WEB_SITE="http://pytz.sourceforge.net/" |
pascal@10825 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
claudinei@3416 | 13 |
pascal@15378 | 14 DEPENDS="python" |
pascal@15378 | 15 BUILD_DEPENDS="python-dev python" |
pascal@15378 | 16 |
claudinei@3416 | 17 # Rules to configure and make the package. |
claudinei@3416 | 18 compile_rules() |
claudinei@3416 | 19 { |
claudinei@3416 | 20 python setup.py build && |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
claudinei@3416 | 22 } |
claudinei@3416 | 23 |
claudinei@3416 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3416 | 25 genpkg_rules() |
claudinei@3416 | 26 { |
claudinei@3416 | 27 mkdir -p $fs |
pascal@15378 | 28 cp -a $install/usr $fs |
claudinei@3416 | 29 } |
claudinei@3416 | 30 |
claudinei@3416 | 31 # Remove old package. |
claudinei@3416 | 32 post_install() |
claudinei@3416 | 33 { |
pascal@18730 | 34 [ ! -d "$1/var/lib/tazpkg/installed/pytz" ] || |
pascal@18730 | 35 rm -rf "$1/var/lib/tazpkg/installed/pytz" |
claudinei@3416 | 36 } |