wok-current annotate python-six/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 1df6fa555414 |
children | 9edbd848b62f |
rev | line source |
---|---|
claudinei@14884 | 1 # SliTaz package receipt. |
claudinei@14884 | 2 |
claudinei@14884 | 3 PACKAGE="python-six" |
Hans-G?nter@23562 | 4 VERSION="1.14.0" |
claudinei@14884 | 5 CATEGORY="development" |
Hans-G?nter@23562 | 6 SHORT_DESC="A Python 2 and 3 compatibility library." |
claudinei@14884 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
Hans-G?nter@23562 | 9 WEB_SITE="https://pypi.org/project/six/" |
Hans-G?nter@23562 | 10 |
Hans-G?nter@23562 | 11 SOURCE="six" |
claudinei@14884 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23562 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15376 | 14 |
claudinei@14884 | 15 DEPENDS="python" |
Hans-G?nter@23562 | 16 BUILD_DEPENDS="python python-dev" |
Hans-G?nter@23562 | 17 |
Hans-G?nter@23562 | 18 HOST_ARCH="i486 arm" |
claudinei@14884 | 19 |
pascal@24383 | 20 # What is the latest version available today? |
pascal@24288 | 21 current_version() |
pascal@24288 | 22 { |
pascal@24383 | 23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 24 } |
pascal@24288 | 25 |
claudinei@14884 | 26 # Rules to configure and make the package. |
claudinei@14884 | 27 compile_rules() |
claudinei@14884 | 28 { |
claudinei@14884 | 29 python setup.py install --root=$DESTDIR |
claudinei@14884 | 30 } |
claudinei@14884 | 31 |
claudinei@14884 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14884 | 33 genpkg_rules() |
claudinei@14884 | 34 { |
Hans-G?nter@23562 | 35 cp -a $install/usr $fs |
claudinei@14884 | 36 } |