New package: python-hyper-h2-3.0.1

This commit is contained in:
Nathan 2019-01-10 15:36:34 -06:00 committed by maxice8
parent 1264820d23
commit 7e3c4956d9
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Template file for 'python-hyper-h2'
pkgname=python-hyper-h2
version=3.0.1
revision=1
noarch=yes
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=fb77d22e844ea4a81ac9305249f4fcf73d06bf7162687980d9a9d20a63133e6e
post_install() {
vlicense LICENSE
}
python3-hyper-h2_package() {
noarch=yes
pycompile_module="h2"
short_desc="${short_desc/Python2/Python3}"
depends="${depends/python/python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}

1
srcpkgs/python3-hyper-h2 Symbolic link
View File

@ -0,0 +1 @@
python-hyper-h2