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

grub2: suggested os-prober
author Hans-G?nter Theisgen
date Thu Mar 25 08:56:08 2021 +0100 (2021-03-25)
parents 9e01bc6321ea
children 1df6fa555414
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pytz"
4 SOURCE="pytz"
5 VERSION="2019.3"
6 CATEGORY="development"
7 SHORT_DESC="World Timezone Definitions for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/pytz/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }
32 # Remove old package.
33 post_install()
34 {
35 [ ! -d "$1/var/lib/tazpkg/installed/pytz" ] ||
36 rm -rf "$1/var/lib/tazpkg/installed/pytz"
37 }