From 2332005ba23163635c5956d668a739e858b05ad9 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:09:51 +0700 Subject: [PATCH] python-kaptan: drop package --- srcpkgs/python-kaptan/template | 34 --------------------------------- srcpkgs/python3-kaptan | 1 - srcpkgs/python3-kaptan/template | 19 ++++++++++++++++++ 3 files changed, 19 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-kaptan/template delete mode 120000 srcpkgs/python3-kaptan create mode 100644 srcpkgs/python3-kaptan/template diff --git a/srcpkgs/python-kaptan/template b/srcpkgs/python-kaptan/template deleted file mode 100644 index 6668b24000..0000000000 --- a/srcpkgs/python-kaptan/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-kaptan' -pkgname=python-kaptan -version=0.5.12 -revision=2 -archs=noarch -wrksrc="kaptan-${version}" -build_style=python-module -pycompile_module="kaptan" -hostmakedepends="python-setuptools python3-setuptools" -depends="python python-yaml" -short_desc="Configuration manager" -maintainer="Alexander Egorenkov " -license="BSD-3-Clause" -homepage="https://github.com/emre/kaptan" -distfiles="${PYPI_SITE}/k/kaptan/kaptan-${version}.tar.gz" -checksum=@b0714c3c0c58006ca6d9fc5528d103685773ed22496d5dd582fbd7efe6a67c7a -alternatives="kaptan:kaptan:/usr/bin/kaptan2" - -post_install() { - vlicense LICENSE -} - -python3-kaptan_package() { - archs=noarch - pycompile_module="kaptan" - depends="python3 python3-yaml" - short_desc="${short_desc/Python2/Python3}" - alternatives="kaptan:kaptan:/usr/bin/kaptan3" - pkg_install() { - vmove usr/bin/kaptan3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-kaptan b/srcpkgs/python3-kaptan deleted file mode 120000 index b631fd5090..0000000000 --- a/srcpkgs/python3-kaptan +++ /dev/null @@ -1 +0,0 @@ -python-kaptan \ No newline at end of file diff --git a/srcpkgs/python3-kaptan/template b/srcpkgs/python3-kaptan/template new file mode 100644 index 0000000000..c9af58bf95 --- /dev/null +++ b/srcpkgs/python3-kaptan/template @@ -0,0 +1,19 @@ +# Template file for 'python3-kaptan' +pkgname=python3-kaptan +version=0.5.12 +revision=3 +wrksrc="kaptan-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-yaml" +short_desc="Configuration manager" +maintainer="Alexander Egorenkov " +license="BSD-3-Clause" +homepage="https://github.com/emre/kaptan" +distfiles="${PYPI_SITE}/k/kaptan/kaptan-${version}.tar.gz" +checksum=@b0714c3c0c58006ca6d9fc5528d103685773ed22496d5dd582fbd7efe6a67c7a +conflicts="python-kaptan>=0" + +post_install() { + vlicense LICENSE +}