mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
5cd77bc2a6
commit
55650e7537
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'python-hyper-h2'
|
# Template file for 'python-hyper-h2'
|
||||||
pkgname=python-hyper-h2
|
pkgname=python-hyper-h2
|
||||||
version=3.1.1
|
version=3.1.1
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="hyper-h2-${version}"
|
wrksrc="hyper-h2-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="h2"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python python-hpack python-hyperframe"
|
depends="python python-hpack python-hyperframe"
|
||||||
short_desc="HTTP/2 State-Machine based protocol implementation(Python2)"
|
short_desc="HTTP/2 State-Machine based protocol implementation(Python2)"
|
||||||
|
@ -21,9 +20,8 @@ post_install() {
|
||||||
|
|
||||||
python3-hyper-h2_package() {
|
python3-hyper-h2_package() {
|
||||||
archs=noarch
|
archs=noarch
|
||||||
pycompile_module="h2"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
depends="${depends/python/python3}"
|
depends="python3 python3-hpack python3-hyperframe"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/python3*"
|
vmove "usr/lib/python3*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue