wok-current annotate python-singledispatch/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pascal@20445 | 1 # SliTaz package receipt. |
pascal@20445 | 2 |
pascal@20445 | 3 PACKAGE="python-singledispatch" |
Hans-G?nter@25238 | 4 VERSION="3.7.0" |
pascal@20445 | 5 CATEGORY="development" |
Hans-G?nter@25238 | 6 SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3." |
pascal@20445 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20445 | 8 LICENSE="MIT" |
Hans-G?nter@25238 | 9 WEB_SITE="https://pypi.org/project/singledispatch/" |
Hans-G?nter@25238 | 10 |
Hans-G?nter@25238 | 11 SOURCE="singledispatch" |
pascal@20445 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25238 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@20445 | 14 |
pascal@20445 | 15 DEPENDS="python" |
pascal@21582 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@20445 | 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@20445 | 24 # Rules to configure and make the package. |
pascal@20445 | 25 compile_rules() |
pascal@20445 | 26 { |
pascal@20445 | 27 python setup.py install --root=$DESTDIR |
pascal@20445 | 28 } |
pascal@20445 | 29 |
pascal@20445 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20445 | 31 genpkg_rules() |
pascal@20445 | 32 { |
Hans-G?nter@25238 | 33 cook_copy_folders lib |
pascal@20445 | 34 } |