void-packages/srcpkgs/python-urllib3/template

29 lines
876 B
Text
Raw Normal View History

# Template file for 'python-urllib3'
pkgname=python-urllib3
2014-09-25 23:06:26 +00:00
version=1.9.1
revision=1
noarch=yes
2014-09-25 23:06:26 +00:00
wrksrc="urllib3-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
2014-09-25 23:06:26 +00:00
depends="python-backports-ssl-match-hostname python-six ca-certificates"
pycompile_module="urllib3"
short_desc="HTTP library with thread-safe connection pooling (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/shazow/urllib3"
license="MIT"
2014-09-25 23:06:26 +00:00
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
checksum=d858379ef5988d4534bb8909432d697422100aaff272299d661339836b6dae9b
python3.4-urllib3_package() {
noarch=yes
2014-09-25 23:06:26 +00:00
depends="python3.4-six ca-certificates"
pycompile_version="3.4"
pycompile_module="urllib3"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}