2012-12-07 10:15:55 +00:00
|
|
|
# Template file for 'python-httplib2'
|
|
|
|
pkgname=python-httplib2
|
2015-04-20 07:11:12 +00:00
|
|
|
version=0.9.1
|
|
|
|
revision=1
|
2014-07-01 10:47:27 +00:00
|
|
|
noarch=yes
|
|
|
|
patch_args="-Np1"
|
2012-12-07 10:15:55 +00:00
|
|
|
wrksrc="httplib2-${version}"
|
|
|
|
build_style=python-module
|
2014-07-01 10:47:27 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="python-devel python3.4-devel libressl-devel"
|
2014-07-01 11:27:38 +00:00
|
|
|
depends="python ca-certificates"
|
2014-02-17 16:11:09 +00:00
|
|
|
pycompile_module="httplib2"
|
2014-07-01 10:47:27 +00:00
|
|
|
short_desc="A comprehensive HTTP client library (Python2)"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-07-01 10:47:27 +00:00
|
|
|
homepage="https://github.com/jcgregorio/httplib2/"
|
2012-12-07 10:15:55 +00:00
|
|
|
license="MIT"
|
2014-07-01 10:47:27 +00:00
|
|
|
distfiles="https://pypi.python.org/packages/source/h/httplib2/httplib2-${version}.tar.gz"
|
2015-04-20 07:11:12 +00:00
|
|
|
checksum=bc6339919a5235b9d1aaee011ca5464184098f0c47c9098001f91c97176583f5
|
2014-07-01 10:47:27 +00:00
|
|
|
|
|
|
|
python3.4-httplib2_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="httplib2"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|