python-hpack: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:31:55 +07:00
parent 79b670d916
commit 0cbaac37f6
3 changed files with 18 additions and 31 deletions

View File

@ -1,30 +0,0 @@
# Template file for 'python-hpack'
pkgname=python-hpack
version=3.0.0
revision=2
archs=noarch
wrksrc=hpack-${version}
build_style=python-module
pycompile_module="hpack"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="HTTP/2 Header Encoding (Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://python-hyper.org/hpack/"
distfiles="https://github.com/python-hyper/hpack/archive/v${version}.tar.gz"
checksum=0f8f5f92cfa59f91804eabb237d4b18895f3e200e282c41cedf6cd11a4416daa
post_install() {
vlicense LICENSE
}
python3-hpack_package() {
archs=noarch
pycompile_module="hpack"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}

View File

@ -1 +0,0 @@
python-hpack

View File

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