summaryrefslogtreecommitdiff
path: root/dev-python/terminaltables
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/terminaltables')
-rw-r--r--dev-python/terminaltables/Manifest3
-rw-r--r--dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild40
-rw-r--r--dev-python/terminaltables/terminaltables-9999.ebuild12
3 files changed, 52 insertions, 3 deletions
diff --git a/dev-python/terminaltables/Manifest b/dev-python/terminaltables/Manifest
index 8fcb168f3bdb..23a6cb0b2162 100644
--- a/dev-python/terminaltables/Manifest
+++ b/dev-python/terminaltables/Manifest
@@ -1,5 +1,6 @@
AUX terminaltables-3.1.0-stdout.patch 789 BLAKE2B 2c9f166d4e303cc55bf2d6b9b0e1f9d947cd10a1a173abc5657b9dedfd637da05e374fdc9e997f9e758be9caa90f3a984032eade15e816de594d65268bb013ad SHA512 f6eb3ea11a7027886457dd720b0736fc11611d233b7971456141476a6b1d83fb0be33e14c5789a626da1ca0f0f2ca75983f496bc68660aa66d7f285a3c2be684
DIST terminaltables-3.1.10.tar.gz 282122 BLAKE2B 53d5ecde38370f5b05d3eaae4b618ada6991214feadc7e826467dafede5baaf8292e47e6b2be903eb8ae6d46e3066314fe7950d7330056cd3053e0d643ad1a9e SHA512 84fa403cee4206b6b19de0206d89535bd2965a0796e1890dd9b0a9c6593c5f41d0d24b88ee9db426067c777712a4e810d67d4d0246496239a7a96b53a24e8174
+EBUILD terminaltables-3.1.10-r1.ebuild 869 BLAKE2B 77138d1835f2a507ddeebb0c7e2599b892e18f6b9ffd646009ba104404470704bc19f481e83bf23fe40447a363b167db130fcbb8db3e139a332a3f614efb729b SHA512 bfe000a7cfefcfa537b923546fb371ca717f50e609a19b878c104f92f768673233b466d228905f4dfa72b168b1cfc1abd65d616e9e313f72dbdad7497dddc4cd
EBUILD terminaltables-3.1.10.ebuild 952 BLAKE2B 4142561b5dae9b74502ad1984ad04366f2c0e9050859906842aa308e0059359aa8fd6b3caea352a07959d1bdcfd00c017f57225850ed6af08f22c903b8689e59 SHA512 d9157a24433ac7517a5650e6802f157fa8ad33b54b2d3d5ba5e6b62feca78f3fe7938e4d344ccd1529e036cb16894551102c7741feed5df6172eaa415ca07438
-EBUILD terminaltables-9999.ebuild 628 BLAKE2B 798fefdd5c8353834b47b3f389dde52eeb8ae334c9efc676faab22c63a8f85be0ab4f34827580d2269ff06ac167a28e46f524264e068644e4fe190c8e874a5c9 SHA512 848c7ef097cc0bd15c9d0535fce2baebf315002b95eefb3c69b753a361059e4e1fdb660150d07c32a40a1756bf0185668bb49f25ab9f50e2d8b09135b7085b34
+EBUILD terminaltables-9999.ebuild 763 BLAKE2B f5de6a875bee6e40cb126fdd42373f55d848a74913266327eff4a3b92fe3f778df6673bcfee4fa4640bf9f7c4931e6fa369ab7fbfb6cdcf4d6ba2ace87e10897 SHA512 f64f1009da77c261374bfe39d93d9a6e118523d79aa2cefa7f3c9e256e3c6c788e3666b8cabd2072647e8c718fb9de8ff0829285f4ea04df9faa671d931147d8
MISC metadata.xml 499 BLAKE2B c69faec6e90ce8d085d4ab222b09bbf69ff55415e8a596ec9a940191a5df96cfbc7ac0c2ce087c4d1c8199941c844a4e28ad4783bd9a8c106edb75537f781db9 SHA512 71bf75a76067bed905cd34d1f0eeae629a2362b8cfa33b54f06b228314274467795f8e1a34a7adb02d54d7976635a420dcd40ea6e1b6dc6f256b4179af7eb76d
diff --git a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
new file mode 100644
index 000000000000..76c1156f4c7a
--- /dev/null
+++ b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Generate simple tables in terminals from a nested list of strings"
+HOMEPAGE="https://robpol86.github.io/terminaltables/"
+SRC_URI="
+ https://github.com/matthewdeanmartin/terminaltables/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/colorama[${PYTHON_USEDEP}]
+ dev-python/colorclass[${PYTHON_USEDEP}]
+ dev-python/termcolor[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/terminaltables-3.1.0-stdout.patch
+)
+
+src_prepare() {
+ sed -e '/requires/s:poetry:&-core:' \
+ -e '/backend/s:poetry:&.core:' \
+ -i pyproject.toml || die
+
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-9999.ebuild
index ed12c5a82704..c5cb790fdd38 100644
--- a/dev-python/terminaltables/terminaltables-9999.ebuild
+++ b/dev-python/terminaltables/terminaltables-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 git-r3
@@ -24,3 +24,11 @@ BDEPEND="
)"
distutils_enable_tests pytest
+
+src_prepare() {
+ sed -e '/requires/s:poetry:&-core:' \
+ -e '/backend/s:poetry:&.core:' \
+ -i pyproject.toml || die
+
+ distutils-r1_src_prepare
+}