diff --git a/dev-python/testresources/Manifest b/dev-python/testresources/Manifest index d558616fdeb1d..5aeaeffdc6ef1 100644 --- a/dev-python/testresources/Manifest +++ b/dev-python/testresources/Manifest @@ -1 +1,3 @@ DIST testresources-2.0.2.tar.gz 45057 BLAKE2B bb4c0cc12eae792eae3546cb7d0a71aaef0e50e7e26bffe3c8e80230e1e7686b91e93dd8fb31ec45a8c7c4e7f5c201193356653fcf1e199406d18d4673e8babc SHA512 3e7970830833f0a057488638e77af017ca337a736c27e1bd86c896e02174d8f52ad154a649ba3f5a32aac36e1e17b4cb63a6539fcdb19eedba2dba42a76adaf1 +DIST testresources-2.1.2.tar.gz 37654 BLAKE2B cc5a11f2c1faf6e1ba3e0af1feea5ddc9eb1c60fd010bfea689d59a82c3e628c3dfceab4d7e832662d8495dfb0dab2172b957069163b9e001bc8c633289dc9fa SHA512 b0ab838f7e18a14daa3499f2b19e0470f242c22a1870da62d1193de4d1cc80f9a6fa706fc70fba93227102578c20ca2327af3595474856415d961f04b2fd8e78 +DIST testresources-2.1.2.tar.gz.provenance 9897 BLAKE2B a8ab3081b6ef9068341d51b0eb3f37b113ebb532800078d6b6a63bbaf46f7bc0d4d7690197c1de18a2abd7d606844dc037b878ca097d503cbd54637a3bacfb45 SHA512 ef89da8fa42165cf2e9666d541fa6de36140cf3af7a2766033a7dd4a02bf9bc01144b230d589a1972e5ded035c34296abaf872e18110a64f255f0591110eb48f diff --git a/dev-python/testresources/testresources-2.1.2.ebuild b/dev-python/testresources/testresources-2.1.2.ebuild new file mode 100644 index 0000000000000..58c0da10f6712 --- /dev/null +++ b/dev-python/testresources/testresources-2.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/testing-cabal/testresources +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pyunit extension for managing expensive test resources" +HOMEPAGE=" + https://launchpad.net/testresources/ + https://github.com/testing-cabal/testresources/ + https://pypi.org/project/testresources/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" -m testtools.run -v tests.test_suite || + die "Tests failed with ${EPYTHON}" +}