diff options
Diffstat (limited to 'dev-python/tox')
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.61.3.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 146b3d2e91bc..2497c827019d 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -6,3 +6,5 @@ DIST tox-4.61.1.tar.gz 306574 BLAKE2B ab2f4b6d155a02dc7f235811fa358895d982807b40 DIST tox-4.61.1.tar.gz.provenance 9313 BLAKE2B 7cc5c6b23f3b482df6da69287af28b6d0be743fb5368f2c9d8575330d2117c2e14b0c2015d70642bc34648f0b989fcfd905acf2caf8193cd1b6bb437166ff954 SHA512 18b6fa4555123ab881b4e12d4fe6ce85e2c69009836be8655dfc8bc0519154f1ad0cdfe7b9ccd4251375a3c251c3aea500bab0efb7607a3ee0413eade2a6016b DIST tox-4.61.2.tar.gz 306825 BLAKE2B 71159dd79aef91c04aed340bc56cbb7cb1bc9b0e11655b7d8663ba3fc483a559f730bbb2082b8eceaa7ed845ddaa18dbf78f4c72498a55f47c6d57e5f58fb352 SHA512 8ba3dfd3f1595077b756204b159721f7b28279425b1cbc7f04e46282c9f08b81496827fcf4738fa056ea6da2a82ce85d69e826b89fa7163b7fc57f2fc60e378e DIST tox-4.61.2.tar.gz.provenance 9818 BLAKE2B b6f6d6d2ac83a7c5598df9ba0942a87a7830ea1b2ba5936fd2653db6febde47187a4f9e705504d4a42d7c898b2b850bc005709d9ffc24f787f4ce0dd62977a78 SHA512 c452837d29391310bdba4fc82ea7d0d6464efa394ed5a6629bb997db9578c9f97bf9322174aafb66212f88c69349f85cf73c587029aa501f7d475a4ecc90227b +DIST tox-4.61.3.tar.gz 307979 BLAKE2B 895d2b3bf0131a71a51afefa3daee9713121acfeff739af079c00e66400203eb65277a8855e064b7d39fb9de7169ec543310ca2f00da601c772efcb6245dd400 SHA512 83e1f61f28cc865935b3329f5a9d11405ce2622facf5648206e5043cd77aef4fe602c36f12f0f26e21eddb4eda3325f84fd0dbf9cc0cb4c123007e1f729e1c46 +DIST tox-4.61.3.tar.gz.provenance 9438 BLAKE2B 5b7114d82ba2b6435eb2197d18f484a8bb5e9f75ce1c4fa8e68da2d154cac45da4a3a421c95d3a04bfb85cb798fe8842bdeb31fb994f00457b10b8b1c78bfd0e SHA512 379a14692ffc7649d74271c21dae7eee460dd040b7f33d047248c1648449680c4a317acb400f2360ca44764605e5ce6d29359dfa25889e666b5c0e2078a68080 diff --git a/dev-python/tox/tox-4.61.3.ebuild b/dev-python/tox/tox-4.61.3.ebuild new file mode 100644 index 000000000000..8eb35c40185e --- /dev/null +++ b/dev-python/tox/tox-4.61.3.ebuild @@ -0,0 +1,84 @@ +# 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/tox-dev/tox +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.15[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +EPYTEST_RERUNS=3 +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +# xdist seems to mess up state between successive implementation runs +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} |
