wok annotate python-click/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 3abeffdae80b |
children |
rev | line source |
---|---|
pascal@20451 | 1 # SliTaz package receipt. |
pascal@20451 | 2 |
pascal@20451 | 3 PACKAGE="python-click" |
Hans-G?nter@25168 | 4 VERSION="7.1.2" |
pascal@20451 | 5 CATEGORY="development" |
Hans-G?nter@23472 | 6 SHORT_DESC="Composable command line interface toolkit." |
pascal@20451 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20451 | 8 LICENSE="BSD" |
pascal@20451 | 9 WEB_SITE="https://pypi.org/project/click/" |
Hans-G?nter@23472 | 10 |
Hans-G?nter@23472 | 11 SOURCE="click" |
pascal@20451 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25168 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@20451 | 14 |
pascal@20451 | 15 DEPENDS="python" |
Hans-G?nter@23472 | 16 BUILD_DEPENDS="python python-setuptools" |
pascal@20451 | 17 |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24414 | 20 wget -O - $WEB_SITE 2>/dev/null | sed '/click [0-9]/!d;s|.*click ||;q' |
pascal@24288 | 21 } |
pascal@24288 | 22 |
pascal@20451 | 23 # Rules to configure and make the package. |
pascal@20451 | 24 compile_rules() |
pascal@20451 | 25 { |
Hans-G?nter@25168 | 26 python setup.py \ |
Hans-G?nter@25168 | 27 install \ |
Hans-G?nter@25168 | 28 --prefix=/usr \ |
Hans-G?nter@25168 | 29 --root=$DESTDIR |
pascal@20451 | 30 } |
pascal@20451 | 31 |
pascal@20451 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20451 | 33 genpkg_rules() |
pascal@20451 | 34 { |
Hans-G?nter@25168 | 35 cook_copy_folders lib |
pascal@20451 | 36 } |