From 75b567e72a8bcd054df787e9fd7a1053545a161b 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 23:03:23 +0700 Subject: [PATCH] python-colorama: drop package --- srcpkgs/python-colorama/template | 31 ------------------------------- srcpkgs/python3-colorama | 1 - srcpkgs/python3-colorama/template | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-colorama/template delete mode 120000 srcpkgs/python3-colorama create mode 100644 srcpkgs/python3-colorama/template diff --git a/srcpkgs/python-colorama/template b/srcpkgs/python-colorama/template deleted file mode 100644 index 0956238524..0000000000 --- a/srcpkgs/python-colorama/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-colorama' -pkgname=python-colorama -version=0.4.1 -revision=2 -archs=noarch -wrksrc="colorama-${version}" -build_style=python-module -pycompile_module="colorama" -hostmakedepends="unzip python-setuptools python3-setuptools" -depends="python" -short_desc="Cross-platform colored terminal text (Python2)" -maintainer="Oliver Kiddle " -license="BSD-3-Clause" -homepage="https://github.com/tartley/colorama" -distfiles="${PYPI_SITE}/c/colorama/colorama-${version}.tar.gz" -checksum=05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d - -post_install() { - vlicense LICENSE.txt -} - -python3-colorama_package() { - archs=noarch - pycompile_module="colorama" - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.txt - } -} diff --git a/srcpkgs/python3-colorama b/srcpkgs/python3-colorama deleted file mode 120000 index 76099af131..0000000000 --- a/srcpkgs/python3-colorama +++ /dev/null @@ -1 +0,0 @@ -python-colorama \ No newline at end of file diff --git a/srcpkgs/python3-colorama/template b/srcpkgs/python3-colorama/template new file mode 100644 index 0000000000..0c5a1c4462 --- /dev/null +++ b/srcpkgs/python3-colorama/template @@ -0,0 +1,18 @@ +# Template file for 'python3-colorama' +pkgname=python3-colorama +version=0.4.1 +revision=3 +wrksrc="colorama-${version}" +build_style=python3-module +hostmakedepends="unzip python3-setuptools" +depends="python3" +short_desc="Cross-platform colored terminal text (Python3)" +maintainer="Oliver Kiddle " +license="BSD-3-Clause" +homepage="https://github.com/tartley/colorama" +distfiles="${PYPI_SITE}/c/colorama/colorama-${version}.tar.gz" +checksum=05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d + +post_install() { + vlicense LICENSE.txt +}