wok-6.x annotate python-httplib2/receipt @ rev 24206

updated perl-fcgi (0.79 -> 0.82)
author Hans-G?nter Theisgen
date Fri Dec 31 15:35:08 2021 +0100 (2021-12-31)
parents f179865dbbf8
children ac8ca9758df1
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@24055 20 wget -O - ${WGET_URL%/arch*}/releases 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 }