From 020fdd67fa1a9f6ef6f6d03a543dc8e9a7a6a56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 25 Dec 2025 04:37:18 +0100 Subject: [PATCH] dev-python/jaraco-test: Bump to 5.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jaraco-test/Manifest | 1 + .../jaraco-test/jaraco-test-5.6.0.ebuild | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-python/jaraco-test/jaraco-test-5.6.0.ebuild diff --git a/dev-python/jaraco-test/Manifest b/dev-python/jaraco-test/Manifest index da897fd395d2e..10b243cac8cf6 100644 --- a/dev-python/jaraco-test/Manifest +++ b/dev-python/jaraco-test/Manifest @@ -1 +1,2 @@ DIST jaraco_test-5.5.1.tar.gz 10018 BLAKE2B 09562269a1fd14e099e8bca484f4def00986aa3999134f51f875a026fd5b2832979533e91fcff651d938cbe5c302377152e8bf2288b0afd61ef0a52644c65c92 SHA512 09b3303657ccd6882835e3c0c8e27a03f7c5cfc923318e7c4736eded0a0aa3461f043ab595af82a0bb0de33381924415fd382706ab0af6cea80554ca74873ee1 +DIST jaraco_test-5.6.0.tar.gz 11221 BLAKE2B bc7c0bec30d762be20fe21715007bb79c05258d4146574a344b4981f39d50af6e8a0b2c58a4ff1b6b8b1c77600322432846b10fe9938d0d44bfcae6ca34cf9d4 SHA512 cb22058edcdf1cc5aac6f66301a31e9c6a2935594090da3bbc0d4bfa58ae8b071917c166195559dfa9133147b79633efc50e6fa312ca1257d560a1ff85cc8ccc diff --git a/dev-python/jaraco-test/jaraco-test-5.6.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.6.0.ebuild new file mode 100644 index 0000000000000..a9090096b29c6 --- /dev/null +++ b/dev-python/jaraco-test/jaraco-test-5.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Testing support by jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.test/ + https://pypi.org/project/jaraco.test/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/jaraco-collections[${PYTHON_USEDEP}] + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/test[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_test() { + # workaround namespaces blocking test.support import (sigh!) + mv jaraco/test jaraco_test || die + rmdir jaraco || die + distutils-r1_src_test +} + +python_test() { + # while technically these tests are skipped when Internet is + # not available (they test whether auto-skipping works), we don't + # want any Internet access whenever possible + local EPYTEST_DESELECT=( + tests/test_http.py::test_needs_internet + ) + epytest -m "not network" +}