mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: python-hyper-h2-3.0.1
This commit is contained in:
parent
1264820d23
commit
7e3c4956d9
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-hyper-h2/template
Normal file
30
srcpkgs/python-hyper-h2/template
Normal 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
1
srcpkgs/python3-hyper-h2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-hyper-h2
|
Loading…
Add table
Reference in a new issue