commit:     6381c8c82d4e3c1483c004b791c7f1b872ad4aa0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 13 07:24:58 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 13 07:34:17 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6381c8c8

dev-python/jaraco-context: Bump to 6.1.0

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

 dev-python/jaraco-context/Manifest                 |  1 +
 .../jaraco-context/jaraco-context-6.1.0.ebuild     | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/jaraco-context/Manifest 
b/dev-python/jaraco-context/Manifest
index 5db39c7dea71..c1c8887a5590 100644
--- a/dev-python/jaraco-context/Manifest
+++ b/dev-python/jaraco-context/Manifest
@@ -1,2 +1,3 @@
 DIST jaraco_context-6.0.1.tar.gz 13912 BLAKE2B 
e249916d41e936c4f261e5e4330f3d6b26b159772a1284521168313f41ef296ca82930e46837ae8ea7c895f7471bc039d5b42a8d4eceb0718056ff4b82d79cba
 SHA512 
5711f581a616a18f7b7dbac65550255c7eecfae39df04b675817b16fbc5d61b833617d853c40f0b910c0ba5d144baf4c4b2add155c9b91001209b27da594a801
 DIST jaraco_context-6.0.2.tar.gz 14994 BLAKE2B 
e89f31c411ec2a383fe9125b6cc87931c0d223375632d76efe3fb63da6eb0db818862feefb53cc95e2384ff4fe044fe3bf9e495ea75cc6e14ae04a94eea9889c
 SHA512 
18cc7381eeadea82df21219df0886c486f0b2338aea01e53c471c29d5a289e92d92f41a9943535f27a9f113ae889ee03d8f3323d777006b0dd653b422a412a09
+DIST jaraco_context-6.1.0.tar.gz 15850 BLAKE2B 
e7d25d18fa97e77ce152b9152326e4980f305fd9ade71cc890546d8400c4102bb5bcc896b8ae079876f69e7d685d88d3c14bfae7aed46be5e28bad0c89caa77d
 SHA512 
19f9fe4e00cc94f46177604e2a6e44af3c21be22b2059f8f7d0c586a77007196a163df68e545808b5f73d10c4e429903ff33274f110a15601481f4eff8cf9f8f

diff --git a/dev-python/jaraco-context/jaraco-context-6.1.0.ebuild 
b/dev-python/jaraco-context/jaraco-context-6.1.0.ebuild
new file mode 100644
index 000000000000..2573cade011f
--- /dev/null
+++ b/dev-python/jaraco-context/jaraco-context-6.1.0.ebuild
@@ -0,0 +1,63 @@
+# 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="Context managers by jaraco"
+HOMEPAGE="
+       https://github.com/jaraco/jaraco.context/
+       https://pypi.org/project/jaraco.context/
+"
+
+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="
+       $(python_gen_cond_dep '
+               dev-python/backports-tarfile[${PYTHON_USEDEP}]
+       ' 3.11)
+"
+BDEPEND="
+       test? (
+               dev-python/portend[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # Internet
+       jaraco/context/__init__.py::jaraco.context.repo_context
+)
+
+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.context"
+               version = "${PV}"
+               description = "Context managers by jaraco"
+       EOF
+}
+
+python_install() {
+       distutils-r1_python_install
+       # rename to workaround a bug in pkg_resources
+       # https://bugs.gentoo.org/834522
+       mv "${D}$(python_get_sitedir)"/jaraco{_,.}context-${PV}.dist-info || die
+}

Reply via email to