python-hyper-h2: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:28:42 +07:00
parent f1ca0ca688
commit 8f7b051b6e
3 changed files with 18 additions and 29 deletions

View file

@ -1,28 +0,0 @@
# Template file for 'python-hyper-h2'
pkgname=python-hyper-h2
version=3.2.0
revision=1
archs=noarch
wrksrc="hyper-h2-${version}"
build_style=python-module
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=ef4213b73e113905c67fdc0abd677c6e2dff53894e657fbc12987ae5c00b6c91
post_install() {
vlicense LICENSE
}
python3-hyper-h2_package() {
archs=noarch
short_desc="${short_desc/Python2/Python3}"
depends="python3 python3-hpack python3-hyperframe"
pkg_install() {
vmove "usr/lib/python3*"
}
}

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'python3-hyper-h2'
pkgname=python3-hyper-h2
version=3.2.0
revision=2
wrksrc="hyper-h2-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-hpack python3-hyperframe"
short_desc="HTTP/2 State-Machine based protocol implementation(Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/python-hyper/hyper-h2"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ef4213b73e113905c67fdc0abd677c6e2dff53894e657fbc12987ae5c00b6c91
post_install() {
vlicense LICENSE
}