wok-current annotate python-httplib2/receipt @ rev 24796
Add f2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 16:04:07 2022 +0000 (2022-03-21) |
parents | 5ea0ce1cecc0 |
children | a9a436515a17 |
rev | line source |
---|---|
claudinei@3811 | 1 # SliTaz package receipt. |
claudinei@3811 | 2 |
claudinei@3811 | 3 PACKAGE="python-httplib2" |
Hans-G?nter@23494 | 4 VERSION="0.17.1" |
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@23494 | 10 |
Hans-G?nter@23494 | 11 SOURCE="httplib2" |
claudinei@3811 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23494 | 13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/v$VERSION.tar.gz" |
claudinei@3811 | 14 |
pascal@15379 | 15 DEPENDS="python" |
Hans-G?nter@23494 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15379 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
claudinei@3811 | 24 # Rules to configure and make the package. |
claudinei@3811 | 25 compile_rules() |
claudinei@3811 | 26 { |
claudinei@14889 | 27 python setup.py install --root=$DESTDIR |
claudinei@3811 | 28 } |
claudinei@3811 | 29 |
claudinei@3811 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3811 | 31 genpkg_rules() |
claudinei@3811 | 32 { |
Hans-G?nter@23494 | 33 cp -a $install/usr $fs |
claudinei@3811 | 34 } |