wok annotate python-futures/receipt @ rev 25164

updated python-antlr (3.5.2 -> 3.5.3)
author Hans-G?nter Theisgen
date Fri Jul 01 10:50:21 2022 +0100 (23 months ago)
parents 1df6fa555414
children
rev   line source
pascal@20448 1 # SliTaz package receipt.
pascal@20448 2
pascal@20448 3 PACKAGE="python-futures"
Hans-G?nter@23486 4 VERSION="3.3.0"
pascal@20448 5 CATEGORY="development"
Hans-G?nter@23486 6 SHORT_DESC="A backport of the concurrent.futures package from Python 3."
pascal@20448 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20448 8 LICENSE="MIT"
pascal@24383 9 SOURCE="futures"
Hans-G?nter@23486 10 WEB_SITE="https://pypi.org/project/$SOURCE/"
Hans-G?nter@23486 11
pascal@20448 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23486 13 WGET_URL="https://files.pythonhosted.org/packages/source/f/$SOURCE/$TARBALL"
pascal@20448 14
pascal@20448 15 DEPENDS="python"
pascal@21582 16 BUILD_DEPENDS="python python-setuptools"
pascal@20448 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
pascal@20448 24 # Rules to configure and make the package.
pascal@20448 25 compile_rules()
pascal@20448 26 {
pascal@20448 27 python setup.py install --root=$DESTDIR
pascal@20448 28 }
pascal@20448 29
pascal@20448 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20448 31 genpkg_rules()
pascal@20448 32 {
Hans-G?nter@23486 33 cp -a $install/usr $fs
pascal@20448 34 }