python-h11: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:32:37 +07:00
parent 57be28584a
commit 1c4c73a74b
3 changed files with 18 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-h11'
pkgname=python-h11
version=0.9.0
revision=2
archs=noarch
wrksrc=h11-${version}
build_style=python-module
pycompile_module="h11"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Bring-your-own-I/O implementation of HTTP/1.1 (Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://github.com/python-hyper/h11"
distfiles="https://github.com/python-hyper/h11/archive/v${version}.tar.gz"
checksum=77b543bed05fb7b1e267dc8552d502b6f9f69d3812c8d58d0a56d0f148d2ae06
post_install() {
vlicense LICENSE.txt
}
python3-h11_package() {
archs=noarch
pycompile_module="h11"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}

View file

@ -1 +0,0 @@
python-h11

View file

@ -0,0 +1,18 @@
# Template file for 'python3-h11'
pkgname=python3-h11
version=0.9.0
revision=3
wrksrc=h11-${version}
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Bring-your-own-I/O implementation of HTTP/1.1 (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/python-hyper/h11"
distfiles="https://github.com/python-hyper/h11/archive/v${version}.tar.gz"
checksum=77b543bed05fb7b1e267dc8552d502b6f9f69d3812c8d58d0a56d0f148d2ae06
post_install() {
vlicense LICENSE.txt
}