commit:     e305febaf2026ece56646c2c7aaef046f3142bb2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 10 06:58:33 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 10 07:08:25 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e305feba

dev-python/jaraco-text: Bump to 4.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jaraco-text/Manifest                 |  1 +
 dev-python/jaraco-text/jaraco-text-4.2.0.ebuild | 50 +++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest
index 62e350fe8cb2..b7533e22e010 100644
--- a/dev-python/jaraco-text/Manifest
+++ b/dev-python/jaraco-text/Manifest
@@ -1,2 +1,3 @@
 DIST jaraco_text-4.0.0.tar.gz 17009 BLAKE2B 
4aa4381de0988383f4442a1caaab48eae79f2cbe564438b540adfed12d9cfb3680de1e5579029be204024256ba9f3327af225db73f2bd68fed7b2bdd4859a799
 SHA512 
240c4f6f3df6916e9015479147474a43ea9e858e22821f53263c1ef42c61336c36a34baa9c7384b9d345cf42e10b7499e2efa3c85178a0c2abc47fcd82b63fb3
 DIST jaraco_text-4.1.0.tar.gz 19153 BLAKE2B 
8585bb938ce694e7d438fe0faf17c51f9fd8392cc7157a4816a94a043aa1cd1e047d25c34fc0e27b82ccae1a73d000a82a90493c1b72f20fe8375c5bade02565
 SHA512 
8af0377c47c673b5d2a7d6d92f37b945bbe6aa451df7dd152669a8ef1f378c8b04283e23291393c70b818d32a96acffd16f71d401d9115775469a94c19926413
+DIST jaraco_text-4.2.0.tar.gz 20077 BLAKE2B 
c2c991586f5696995ad60b0238c110fb1094c8b51c35961e01faec6a4b18f5ca1951d1c273c3908d41f1bf26fab7e639f5f4903328e106b7f770416c9990c218
 SHA512 
63cd8b4c7a66231b4951e2c5d5b8fcc6cab2fd3bddee0f6fb254eafdf131fc1cd8ed88430e0a822096dfd7d871acef335ac30e899b7f715832800cce4005f1dd

diff --git a/dev-python/jaraco-text/jaraco-text-4.2.0.ebuild 
b/dev-python/jaraco-text/jaraco-text-4.2.0.ebuild
new file mode 100644
index 000000000000..bd02f14b5ebd
--- /dev/null
+++ b/dev-python/jaraco-text/jaraco-text-4.2.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Text utilities used by other projects by developer jaraco"
+HOMEPAGE="
+       https://github.com/jaraco/jaraco.text/
+       https://pypi.org/project/jaraco.text/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+       >=dev-python/jaraco-context-4.1.1-r1[${PYTHON_USEDEP}]
+       >=dev-python/jaraco-functools-3.5.0-r1[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_configure() {
+       grep -q 'build-backend = "setuptools' pyproject.toml ||
+               die "Upstream changed build-backend, recheck"
+       # write a custom pyproject.toml to ease setuptools bootstrap
+       cat > pyproject.toml <<-EOF || die
+               [build-system]
+               requires = ["flit_core >=3.2,<4"]
+               build-backend = "flit_core.buildapi"
+
+               [project]
+               name = "jaraco.text"
+               version = "${PV}"
+               description = "Module for text manipulation"
+       EOF
+
+       # remove CLI tools, they have annoying deps, no entry points
+       # and since there are dashes in their names, they can't be imported
+       # anyway
+       rm jaraco/text/*-*.py || die
+}

Reply via email to