wok view python-pytz/receipt @ rev 21600

Up: smplayer(19.5.0), xine-lib(1.2.9), xine-ui(0.99.10)
author maniac
date Thu May 23 12:16:28 2019 +0300 (2019-05-23)
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 }