wok view python-pytz/receipt @ rev 18940

Up musl-libc (1.1.14) CVE-2015-1817
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:58:42 2016 +0100 (2016-03-02)
parents 1067bb7f1e24
children 27cfc8276927
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pytz"
4 SOURCE="pytz"
5 VERSION="2011g"
6 CATEGORY="development"
7 SHORT_DESC="World Timezone Definitions for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://pytz.sourceforge.net/"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 [ ! -d "$1/var/lib/tazpkg/installed/pytz" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/pytz"
36 }