From 57be28584ab5c08c6a7b7d655be55cf2d9670105 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:32:22 +0700 Subject: [PATCH] python-habanero: drop package --- srcpkgs/python-habanero/template | 31 ------------------------------- srcpkgs/python3-habanero | 1 - srcpkgs/python3-habanero/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-habanero/template delete mode 120000 srcpkgs/python3-habanero create mode 100644 srcpkgs/python3-habanero/template diff --git a/srcpkgs/python-habanero/template b/srcpkgs/python-habanero/template deleted file mode 100644 index a914f21ecb7..00000000000 --- a/srcpkgs/python-habanero/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-habanero' -pkgname=python-habanero -version=0.6.2 -revision=2 -archs=noarch -wrksrc="habanero-${version}" -build_style=python-module -pycompile_module="habanero" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-requests" -short_desc="Python2 low level client for Crossref Search API" -maintainer="xaltsc " -license="MIT" -homepage="https://github.com/sckott/habanero" -distfiles="${PYPI_SITE}/h/habanero/habanero-${version}.tar.gz" -checksum=806c74298e0fb8a838514307ef3eca73685a968b8efd00e5dfe1ea604200f59d - -post_install() { - vlicense docs/license.rst -} - -python3-habanero_package() { - archs=noarch - pycompile_module="habanero" - depends="python3-requests" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense docs/license.rst - } -} diff --git a/srcpkgs/python3-habanero b/srcpkgs/python3-habanero deleted file mode 120000 index 947f4479622..00000000000 --- a/srcpkgs/python3-habanero +++ /dev/null @@ -1 +0,0 @@ -python-habanero \ No newline at end of file diff --git a/srcpkgs/python3-habanero/template b/srcpkgs/python3-habanero/template new file mode 100644 index 00000000000..b0b6d938a27 --- /dev/null +++ b/srcpkgs/python3-habanero/template @@ -0,0 +1,18 @@ +# Template file for 'python3-habanero' +pkgname=python3-habanero +version=0.6.2 +revision=3 +wrksrc="habanero-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-requests" +short_desc="Python3 low level client for Crossref Search API" +maintainer="xaltsc " +license="MIT" +homepage="https://github.com/sckott/habanero" +distfiles="${PYPI_SITE}/h/habanero/habanero-${version}.tar.gz" +checksum=806c74298e0fb8a838514307ef3eca73685a968b8efd00e5dfe1ea604200f59d + +post_install() { + vlicense docs/license.rst +}