From 0cbaac37f6b4a6654c4886752cbdc8b9e6b668c7 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 22:31:55 +0700 Subject: [PATCH] python-hpack: drop package --- srcpkgs/python-hpack/template | 30 ------------------------------ srcpkgs/python3-hpack | 1 - srcpkgs/python3-hpack/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-hpack/template delete mode 120000 srcpkgs/python3-hpack create mode 100644 srcpkgs/python3-hpack/template diff --git a/srcpkgs/python-hpack/template b/srcpkgs/python-hpack/template deleted file mode 100644 index ffbac313103..00000000000 --- a/srcpkgs/python-hpack/template +++ /dev/null @@ -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 " -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*" - } -} diff --git a/srcpkgs/python3-hpack b/srcpkgs/python3-hpack deleted file mode 120000 index 4d4e7a11154..00000000000 --- a/srcpkgs/python3-hpack +++ /dev/null @@ -1 +0,0 @@ -python-hpack \ No newline at end of file diff --git a/srcpkgs/python3-hpack/template b/srcpkgs/python3-hpack/template new file mode 100644 index 00000000000..7eb9889b862 --- /dev/null +++ b/srcpkgs/python3-hpack/template @@ -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 " +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 +}