wok-6.x view python-pytz/receipt @ rev 23140

updated lm-sensors and lm-sensors-dev (3.5.0 -> 3.6.0)
author Hans-G?nter Theisgen
date Sun Mar 15 07:01:36 2020 +0100 (2020-03-15)
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 }