void-packages/srcpkgs/python-hyper-h2/template
2019-03-01 12:04:45 -03:00

31 lines
827 B
Bash

# Template file for 'python-hyper-h2'
pkgname=python-hyper-h2
version=3.1.0
revision=1
archs=noarch
wrksrc="hyper-h2-${version}"
build_style=python-module
pycompile_module="h2"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-hpack python-hyperframe"
short_desc="HTTP/2 State-Machine based protocol implementation(Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://github.com/python-hyper/hyper-h2"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=c854a06c28fba94154655655bebc0f1640150a977e9586704201eeebe11f16c9
post_install() {
vlicense LICENSE
}
python3-hyper-h2_package() {
archs=noarch
pycompile_module="h2"
short_desc="${short_desc/Python2/Python3}"
depends="${depends/python/python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}