From bd162b86460c8179928fd75c796f4054757bac1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 13:40:22 +0700 Subject: [PATCH] python-wsproto: drop package --- srcpkgs/python-wsproto/template | 30 ------------------------------ srcpkgs/python3-wsproto | 1 - srcpkgs/python3-wsproto/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-wsproto/template delete mode 120000 srcpkgs/python3-wsproto create mode 100644 srcpkgs/python3-wsproto/template diff --git a/srcpkgs/python-wsproto/template b/srcpkgs/python-wsproto/template deleted file mode 100644 index f8b131104e6..00000000000 --- a/srcpkgs/python-wsproto/template +++ /dev/null @@ -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 " -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*" - } -} diff --git a/srcpkgs/python3-wsproto b/srcpkgs/python3-wsproto deleted file mode 120000 index fb613840577..00000000000 --- a/srcpkgs/python3-wsproto +++ /dev/null @@ -1 +0,0 @@ -python-wsproto \ No newline at end of file diff --git a/srcpkgs/python3-wsproto/template b/srcpkgs/python3-wsproto/template new file mode 100644 index 00000000000..4d1bacea900 --- /dev/null +++ b/srcpkgs/python3-wsproto/template @@ -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 " +license="MIT" +homepage="https://wsproto.readthedocs.io" +distfiles="https://github.com/python-hyper/wsproto/archive/${version}.tar.gz" +checksum=954e46ac07134d4f67832b17c14164e1771f106b078413e5fb8a2bd2738eb25c + +post_install() { + vlicense LICENSE +}