summaryrefslogtreecommitdiff
path: root/dev-python/prettytable
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/prettytable
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/prettytable')
-rw-r--r--dev-python/prettytable/Manifest4
-rw-r--r--dev-python/prettytable/metadata.xml3
-rw-r--r--dev-python/prettytable/prettytable-2.0.0.ebuild33
3 files changed, 38 insertions, 2 deletions
diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest
index ffab6dc3942e..8de02efe5f83 100644
--- a/dev-python/prettytable/Manifest
+++ b/dev-python/prettytable/Manifest
@@ -1,3 +1,5 @@
DIST prettytable-0.7.2.tar.bz2 21755 BLAKE2B 385d5bd6d4ab75a8c7ae96abc9d9e98a66a196265853113e7fb59073876e9f5e9c6c4fba9a30d80cc726a5184e78fb6451ff9a553909704fcc5022b6a08413f4 SHA512 f3a3fe6fa29f4ef090ff6cac06549ebd9db8b387e7b25fc64c4e37c8444586f50355c5573f38caabc72360aa68054aa189a67aa37f0bd13b872862ecd9151e71
+DIST prettytable-2.0.0.tar.gz 43072 BLAKE2B 2293d0377f0bbef925014812cf0cd3702ef4f651927302012df44e829dd9ea249d03ddaee32f9313f3d001900e92df9a3be8812c8fc573624d308fa5c40a858a SHA512 b7c47df7d85a91e9518dea8dafcb27037e5cde81f59dd2b9e9468ae44b18431dd7d943fed487d5713e2c5aa25df76a8eb6587d045f73b8f25f53715a8a2085fc
EBUILD prettytable-0.7.2-r1.ebuild 593 BLAKE2B b2dc0968e6362b62e7dc57adaa63ce07f916f2aefcbe9275a69ea92ddb50f8214a20354d9222b6a5b9046cde19f8381ff38e9405bfab57be7528faba74f2755a SHA512 7154946690ed4bb294a84e52a84865c49eb45907c416713292cef9f2f11d2f003c8a26d7883263a34c5c41335a596d09e98653140472a5deda8d220f051c7599
-MISC metadata.xml 495 BLAKE2B 9c3e9523d22d7e5ad09e055282736a197e28df220f1c4cda5cec07e7f2ed05902e295ba20f8b1babb31a2fba802ef59b7e61f40b8b3b5487bc51edbc4730733f SHA512 3f8252016bd7e13eab68e5bbff995607aeeb5b02fdea7ed189026670548370d5d124145034e571ec6f03e30e8947923abf8e9d4546de0f28819ea78ec0cce341
+EBUILD prettytable-2.0.0.ebuild 829 BLAKE2B badc73f2b04ad4d312ccbbf2f11b8bdecd7639e84047a046b5629ee51f152b8c96352b97d2a02c935f22a0f9097cf4ba9e3be1b27f07f8c26c2e8b7daa574310 SHA512 add12b0453876829588ae0b1f5cd3756c32ce2c3535ded93966717ad287ccdf594d8ae02b72c8bb61dd89d19f1ccb40f4c7f13b5c070589829a9a7e7cd454180
+MISC metadata.xml 557 BLAKE2B c79cdc63557135503b9feb4db7b1942c52302ba06319ba1356a57ed68f05acaa0ac8ef513ef51212c0ee7155b1492a8d0c758336dd792bca9e03068c9dde8d35 SHA512 1d66254d309f999fab950926f362a8868a1a517dc01d8cc83138306b662d0248556fb7e5a688364218d4badac50bafac0439335dae9bfc4c72e9f183eff99bdd
diff --git a/dev-python/prettytable/metadata.xml b/dev-python/prettytable/metadata.xml
index 567af444478f..39f76486a1eb 100644
--- a/dev-python/prettytable/metadata.xml
+++ b/dev-python/prettytable/metadata.xml
@@ -11,6 +11,7 @@
</maintainer>
<upstream>
<remote-id type="google-code">prettytable</remote-id>
- <remote-id type="pypi">PrettyTable</remote-id>
+ <remote-id type="pypi">prettytable</remote-id>
+ <remote-id type="github">jazzband/prettytable</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/prettytable/prettytable-2.0.0.ebuild b/dev-python/prettytable/prettytable-2.0.0.ebuild
new file mode 100644
index 000000000000..9ac1fd588c74
--- /dev/null
+++ b/dev-python/prettytable/prettytable-2.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format"
+HOMEPAGE="https://github.com/jazzband/prettytable https://pypi.org/project/prettytable"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ dev-python/wcwidth[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ $(python_gen_impl_dep sqlite)
+ )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ distutils_install_for_testing
+ pytest -vv || die "Tests failed with ${EPYTHON}"
+}