From 8b13a1b1d1381375b9f353540a4be07de56a41a3 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Thu, 2 Jan 2020 09:22:36 -0600 Subject: [PATCH] python-hyper-h2: set to python3 only Signed-off-by: Nathan Owens --- srcpkgs/python-hyper-h2/template | 23 ++--------------------- srcpkgs/python3-hyper-h2 | 1 - srcpkgs/python3-hyper-h2/template | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 22 deletions(-) delete mode 120000 srcpkgs/python3-hyper-h2 create mode 100644 srcpkgs/python3-hyper-h2/template diff --git a/srcpkgs/python-hyper-h2/template b/srcpkgs/python-hyper-h2/template index 247aae47ef6446..04d0529af2c0ee 100644 --- a/srcpkgs/python-hyper-h2/template +++ b/srcpkgs/python-hyper-h2/template @@ -4,27 +4,8 @@ version=3.1.1 revision=2 archs=noarch wrksrc="hyper-h2-${version}" -build_style=python-module -pycompile_module="h2" -hostmakedepends="python-setuptools python3-setuptools" -depends="python python-hpack python-hyperframe" -short_desc="HTTP/2 State-Machine based protocol implementation(Python2)" +build_style=meta +short_desc="HTTP/2 State-Machine based protocol implementation(removed)" maintainer="Nathan Owens " license="MIT" homepage="https://github.com/python-hyper/hyper-h2" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=bbc86cd48c691189e324877d99f592b92e9876d1d256c77e980eb22809b5e624 - -post_install() { - vlicense LICENSE -} - -python3-hyper-h2_package() { - archs=noarch - pycompile_module="h2" - short_desc="${short_desc/Python2/Python3}" - depends="${depends/python/python3}" - pkg_install() { - vmove "usr/lib/python3*" - } -} diff --git a/srcpkgs/python3-hyper-h2 b/srcpkgs/python3-hyper-h2 deleted file mode 120000 index 3e2cb7265994ea..00000000000000 --- a/srcpkgs/python3-hyper-h2 +++ /dev/null @@ -1 +0,0 @@ -python-hyper-h2 \ No newline at end of file diff --git a/srcpkgs/python3-hyper-h2/template b/srcpkgs/python3-hyper-h2/template new file mode 100644 index 00000000000000..0b9dddba503b65 --- /dev/null +++ b/srcpkgs/python3-hyper-h2/template @@ -0,0 +1,19 @@ +# Template file for 'python3-hyper-h2' +pkgname=python3-hyper-h2 +version=3.1.1 +revision=3 +archs=noarch +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" +maintainer="Nathan Owens " +license="MIT" +homepage="https://github.com/python-hyper/hyper-h2" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=bbc86cd48c691189e324877d99f592b92e9876d1d256c77e980eb22809b5e624 + +post_install() { + vlicense LICENSE +}