wok-6.x view python-httplib2/receipt @ rev 24173
updated outguess again (0.2 -> 0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 09:24:42 2021 +0100 (2021-12-29) |
parents | f179865dbbf8 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-httplib2"
4 VERSION="0.17.1"
5 CATEGORY="development"
6 SHORT_DESC="A comprehensive HTTP client library for python."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/httplib2/"
11 SOURCE="httplib2"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }