commit:     64687796d13a4f6d5c240dc4948881f9d9bdbd08
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 20:06:42 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 20:14:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64687796

dev-python/termcolor: add 3.0.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/termcolor/Manifest               |  1 +
 dev-python/termcolor/termcolor-3.0.0.ebuild | 34 +++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/termcolor/Manifest b/dev-python/termcolor/Manifest
index f6d951d63f4b..617b01272122 100644
--- a/dev-python/termcolor/Manifest
+++ b/dev-python/termcolor/Manifest
@@ -1 +1,2 @@
 DIST termcolor-2.5.0.py.tar.gz 13057 BLAKE2B 
de67e0bca53daca32816cc4eff4f48d41c6e7a61d96892a050fd19fce95d9ed1fbc664a512a70ae91ffd40303780a293a1a793005b1b7779767e2d884126d5ca
 SHA512 
2ef98f82387cc251f6762df7eb103407c52d3dc55d76c71dbf618c38a5c01e12803e8d6fa38f1ec8042ab373b79723e12ef642c18d4b126790a4a3a393ea0917
+DIST termcolor-3.0.0.py.tar.gz 12916 BLAKE2B 
776c39f7631f17e96efb2ad15b07d680f176c3d008768ea7b299a6a8c6407bdad07cc73a568b8be814c4190f1cc8f45bcf1fe5ccd6af781de0bb4a967847cf2d
 SHA512 
d93efa81bfbddb53981587ac07dfe294178b81d7d4ef234b708773c8d3f5b0b4a47c22a687ff01f7056992cc2e19572c5d84c2d660b92244f43dde148467c90f

diff --git a/dev-python/termcolor/termcolor-3.0.0.ebuild 
b/dev-python/termcolor/termcolor-3.0.0.ebuild
new file mode 100644
index 000000000000..43372c970480
--- /dev/null
+++ b/dev-python/termcolor/termcolor-3.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="ANSI Color formatting for output in terminal"
+HOMEPAGE="
+       https://github.com/termcolor/termcolor/
+       https://pypi.org/project/termcolor/
+"
+# rename is for avoiding conflict with dev-cpp/termcolor
+SRC_URI="$(pypi_sdist_url) -> ${P}.py.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+BDEPEND="
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # avoid dep on coverage (to ignore warnings from coverage)
+       sed -i -e '/coverage/d' pyproject.toml || die
+}

Reply via email to