wok-6.x view python-enum34/receipt @ rev 25013

updated openal and openal-dev (1.20.1 -> 1.22.0)
author Hans-G?nter Theisgen
date Tue May 17 07:38:28 2022 +0100 (2022-05-17)
parents 7c0170dd3ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-enum34"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 SHORT_DESC="Python 3.4 Enum backport"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/enum34/"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="https://files.pythonhosted.org/packages/e8/26/a6101edcf724453845c850281b96b89a10dac6bd98edebc82634fccce6a5/enum34-1.1.6.zip"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-setuptools"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://pypi.org/project/enum34/ 2>/dev/null | \
20 sed '/enum34 [0-9]/!d;s|.*m34.||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --prefix=/usr --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs/
33 }