wok annotate python-httplib2/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 | ac8ca9758df1 |
children | 0262035dc1e7 |
rev | line source |
---|---|
claudinei@3811 | 1 # SliTaz package receipt. |
claudinei@3811 | 2 |
claudinei@3811 | 3 PACKAGE="python-httplib2" |
Hans-G?nter@25196 | 4 VERSION="0.20.2" |
claudinei@3811 | 5 CATEGORY="development" |
Hans-G?nter@23494 | 6 SHORT_DESC="A comprehensive HTTP client library for python." |
claudinei@3811 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@23494 | 9 WEB_SITE="https://pypi.org/project/httplib2/" |
Hans-G?nter@25196 | 10 REPOLOGY="python:httplib2" |
Hans-G?nter@23494 | 11 |
Hans-G?nter@23494 | 12 SOURCE="httplib2" |
claudinei@3811 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25196 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
claudinei@3811 | 15 |
pascal@15379 | 16 DEPENDS="python" |
Hans-G?nter@23494 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15379 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
claudinei@3811 | 25 # Rules to configure and make the package. |
claudinei@3811 | 26 compile_rules() |
claudinei@3811 | 27 { |
claudinei@14889 | 28 python setup.py install --root=$DESTDIR |
claudinei@3811 | 29 } |
claudinei@3811 | 30 |
claudinei@3811 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3811 | 32 genpkg_rules() |
claudinei@3811 | 33 { |
Hans-G?nter@23494 | 34 cp -a $install/usr $fs |
claudinei@3811 | 35 } |