wok-6.x view python-six/receipt @ rev 25219
updated python-pip (20.0.2 -> 20.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:45:09 2022 +0100 (2022-07-13) |
parents | 1df6fa555414 |
children | 9edbd848b62f |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-six"
4 VERSION="1.14.0"
5 CATEGORY="development"
6 SHORT_DESC="A Python 2 and 3 compatibility library."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/six/"
11 SOURCE="six"
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 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }