From 282e028e7a1a03e1dea666e6e52269e2117f0fa2 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 3 Sep 2024 12:09:37 -0400 Subject: [PATCH] dev-python/jaraco-test: Depend on dev-python/test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use a runtime dependency, because jaraco-test is a module that exists to abstract the unittest logic of multiple of jaraco's own packages into one shared package. In particular, it contains several two-line functions for performing "import test.support", apparently across multiple versions of python, on the theory that it's better to depend on a new package and chain multiple functions together on one line via `or` than use a try/except. The expected usage is that some other package has a USE=test dependency on jaraco-test, and jaraco-test has a runtime dependency on the stdlib testsuite since it exposes it. Signed-off-by: Eli Schwartz Signed-off-by: Michał Górny --- dev-python/jaraco-test/jaraco-test-5.4.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild index ad20feadc830e..62457c9b071d2 100644 --- a/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild +++ b/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild @@ -24,6 +24,7 @@ RDEPEND=" dev-python/jaraco-collections[${PYTHON_USEDEP}] dev-python/jaraco-context[${PYTHON_USEDEP}] dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/test[${PYTHON_USEDEP}] " distutils_enable_tests pytest