wok annotate python-httplib2/receipt @ rev 25704
BootProg: contiguous file support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 04 16:57:31 2024 +0000 (3 weeks ago) |
parents | a9a436515a17 |
children |
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@25601 | 19 # What is the latest version available today? |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@25601 | 22 wget -O - https://github.com/httplib2/httplib2/tags 2>/dev/null | \ |
pascal@25601 | 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
claudinei@3811 | 26 # Rules to configure and make the package. |
claudinei@3811 | 27 compile_rules() |
claudinei@3811 | 28 { |
claudinei@14889 | 29 python setup.py install --root=$DESTDIR |
claudinei@3811 | 30 } |
claudinei@3811 | 31 |
claudinei@3811 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3811 | 33 genpkg_rules() |
claudinei@3811 | 34 { |
Hans-G?nter@23494 | 35 cp -a $install/usr $fs |
claudinei@3811 | 36 } |