void-packages/srcpkgs/python-urllib3/template

29 lines
841 B
Plaintext

# Template file for 'python-urllib3'
pkgname=python-urllib3
version=1.10.1
revision=1
noarch=yes
wrksrc="urllib3-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="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"
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
checksum=631c6c52e8db04530e5b248ba4c1ce1aac100e2722bfbfdd35f212cf2783acb2
python3.4-urllib3_package() {
noarch=yes
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
}
}