python-wsproto: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 13:40:22 +07:00
parent 07a0fbde37
commit bd162b8646
3 changed files with 18 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-wsproto'
pkgname=python-wsproto
version=0.15.0
revision=2
archs=noarch
wrksrc="wsproto-${version}"
build_style=python-module
pycompile_module="wsproto"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-h11 python-enum34"
short_desc="Sans-IO WebSocket protocol implementation (Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://wsproto.readthedocs.io"
distfiles="https://github.com/python-hyper/wsproto/archive/${version}.tar.gz"
checksum=954e46ac07134d4f67832b17c14164e1771f106b078413e5fb8a2bd2738eb25c
post_install() {
vlicense LICENSE
}
python3-wsproto_package() {
archs=noarch
pycompile_module="wsproto"
depends="python3 python3-h11"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}

View file

@ -1 +0,0 @@
python-wsproto

View file

@ -0,0 +1,18 @@
# Template file for 'python3-wsproto'
pkgname=python3-wsproto
version=0.15.0
revision=3
wrksrc="wsproto-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-h11"
short_desc="Sans-IO WebSocket protocol implementation (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wsproto.readthedocs.io"
distfiles="https://github.com/python-hyper/wsproto/archive/${version}.tar.gz"
checksum=954e46ac07134d4f67832b17c14164e1771f106b078413e5fb8a2bd2738eb25c
post_install() {
vlicense LICENSE
}