void-packages/srcpkgs/python-h11/template

31 lines
773 B
Bash
Raw Normal View History

2019-01-11 05:46:20 +01:00
# Template file for 'python-h11'
pkgname=python-h11
2019-01-14 05:44:09 +01:00
version=0.8.1
2019-01-11 05:46:20 +01:00
revision=1
noarch=yes
wrksrc=h11-${version}
build_style=python-module
pycompile_module="h11"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Bring-your-own-I/O implementation of HTTP/1.1 (Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://github.com/python-hyper/h11"
distfiles="https://github.com/python-hyper/h11/archive/v${version}.tar.gz"
2019-01-14 05:44:09 +01:00
checksum=f0f196507516379de486e4957468dff681b1fdbb9bb3be11a92f50a5d416eb0c
2019-01-11 05:46:20 +01:00
post_install() {
vlicense LICENSE.txt
}
python3-h11_package() {
noarch=yes
pycompile_module="h11"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}