wok-6.x annotate python-six/receipt @ rev 25559

updated xfce4-ristretto 0.6.3 -> 0.8.5
author Hans-G?nter Theisgen
date Tue Apr 25 15:16:20 2023 +0100 (18 months ago)
parents 076f424196b2
children
rev   line source
claudinei@14884 1 # SliTaz package receipt.
claudinei@14884 2
claudinei@14884 3 PACKAGE="python-six"
Hans-G?nter@25239 4 VERSION="1.16.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@25239 10 REPOLOGY="python:six"
Hans-G?nter@23562 11
Hans-G?nter@23562 12 SOURCE="six"
claudinei@14884 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23562 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15376 15
claudinei@14884 16 DEPENDS="python"
Hans-G?nter@23562 17 BUILD_DEPENDS="python python-dev"
Hans-G?nter@23562 18
Hans-G?nter@23562 19 HOST_ARCH="i486 arm"
claudinei@14884 20
pascal@24383 21 # What is the latest version available today?
pascal@24288 22 current_version()
pascal@24288 23 {
pascal@24383 24 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 25 }
pascal@24288 26
claudinei@14884 27 # Rules to configure and make the package.
claudinei@14884 28 compile_rules()
claudinei@14884 29 {
claudinei@14884 30 python setup.py install --root=$DESTDIR
claudinei@14884 31 }
claudinei@14884 32
claudinei@14884 33 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@14884 34 genpkg_rules()
claudinei@14884 35 {
Hans-G?nter@25239 36 cook_copy_folders lib
claudinei@14884 37 }