From 4a7f39e3888372fc6a0637b2db7af265bfadbb57 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 16:20:38 +0700 Subject: [PATCH] python-texttable: drop package --- srcpkgs/python-texttable/template | 31 ------------------------------ srcpkgs/python3-texttable | 1 - srcpkgs/python3-texttable/template | 19 ++++++++++++++++++ 3 files changed, 19 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-texttable/template delete mode 120000 srcpkgs/python3-texttable create mode 100644 srcpkgs/python3-texttable/template diff --git a/srcpkgs/python-texttable/template b/srcpkgs/python-texttable/template deleted file mode 100644 index 24bac87af6a..00000000000 --- a/srcpkgs/python-texttable/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-texttable' -pkgname=python-texttable -version=1.6.1 -revision=2 -archs=noarch -wrksrc="texttable-${version}" -build_style=python-module -pycompile_module="texttable.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -checkdepends="python3-pytest" -short_desc="Python2 module for creating simple ASCII tables" -maintainer="Sergi Alvarez " -license="LGPL-3.0-or-later" -homepage="https://github.com/foutaise/texttable/" -distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz" -checksum=2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2 - -do_check() { - pytest3 tests.py -} - -python3-texttable_package() { - archs=noarch - depends="python3" - pycompile_module="texttable.py" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-texttable b/srcpkgs/python3-texttable deleted file mode 120000 index c301d16b91e..00000000000 --- a/srcpkgs/python3-texttable +++ /dev/null @@ -1 +0,0 @@ -python-texttable \ No newline at end of file diff --git a/srcpkgs/python3-texttable/template b/srcpkgs/python3-texttable/template new file mode 100644 index 00000000000..6c52d76cba8 --- /dev/null +++ b/srcpkgs/python3-texttable/template @@ -0,0 +1,19 @@ +# Template file for 'python3-texttable' +pkgname=python3-texttable +version=1.6.1 +revision=3 +wrksrc="texttable-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Python3 module for creating simple ASCII tables" +maintainer="Sergi Alvarez " +license="LGPL-3.0-or-later" +homepage="https://github.com/foutaise/texttable/" +distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz" +checksum=2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2 + +do_check() { + pytest3 tests.py +}