dev-python/jaraco-test: Bump to 5.6.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-12-25 04:37:18 +01:00
parent d2431a7c98
commit 020fdd67fa
2 changed files with 48 additions and 0 deletions

View File

@@ -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

View File

@@ -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"
}