wok-stable annotate python-pytz/receipt @ rev 12379
Up tinc (1.0.21), CVE-2013-1428: Stack-based buffer overflow fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 29 22:17:28 2013 +0200 (2013-04-29) |
parents | 7e47afbaec37 |
children |
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" |
claudinei@3416 | 9 DEPENDS="python" |
claudinei@3416 | 10 BUILD_DEPENDS="python-dev python" |
claudinei@3416 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
claudinei@3416 | 12 WEB_SITE="http://pytz.sourceforge.net/" |
pascal@10825 | 13 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
claudinei@3416 | 14 |
claudinei@3416 | 15 # Rules to configure and make the package. |
claudinei@3416 | 16 compile_rules() |
claudinei@3416 | 17 { |
claudinei@3416 | 18 cd $src |
claudinei@3416 | 19 python setup.py build && |
claudinei@3416 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3416 | 21 } |
claudinei@3416 | 22 |
claudinei@3416 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3416 | 24 genpkg_rules() |
claudinei@3416 | 25 { |
claudinei@3416 | 26 mkdir -p $fs |
claudinei@3416 | 27 cp -a $_pkg/usr $fs |
claudinei@3416 | 28 } |
claudinei@3416 | 29 |
claudinei@3416 | 30 # Remove old package. |
claudinei@3416 | 31 post_install() |
claudinei@3416 | 32 { |
claudinei@3416 | 33 rm -rf $1/var/lib/tazpkg/installed/pytz |
claudinei@3416 | 34 } |