diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-15 19:12:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-15 19:12:21 +0000 |
| commit | f6bcc45ab811bbc6c133a87192de845240fdfd9c (patch) | |
| tree | 2d40b5748b807e79e3247c8672686a94d5a61290 /dev-python/tox | |
| parent | ef93034729ae626be7fa73289869f79c19ac7144 (diff) | |
| download | srcux-f6bcc45ab811bbc6c133a87192de845240fdfd9c.tar.gz srcux-f6bcc45ab811bbc6c133a87192de845240fdfd9c.tar.xz srcux-f6bcc45ab811bbc6c133a87192de845240fdfd9c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/tox')
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.53.0.ebuild | 95 |
2 files changed, 97 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index de78315057e0..dc855f82abd4 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -6,3 +6,5 @@ DIST tox-4.51.0.tar.gz 268657 BLAKE2B 52d453f2de4f4b24e81cd6850870f1086df762bc7e DIST tox-4.51.0.tar.gz.provenance 9283 BLAKE2B 44c387a35815b55da8830bf0c57e115c35ac2c7e7f77c90d61a40d0c682a4cc5d941c35471d6f7b8b28f324e813726bf0f100a66a2f9e562fcad1eba299360b4 SHA512 28e558b4d40672dca95bd035c87e1ae031800401889d4118526a1e460cd1510a4703e024d5f79344b47beb0603b6d38e499b6790535c633e0eafb12dcbe29559 DIST tox-4.52.1.tar.gz 273730 BLAKE2B f4c03bc4336d844063e86cbabaef67afdfee88e44cd4f2e5a703feb6b598a51fdeb15b0954790d1b4a3632b1c84ccf649f6874772566eb387c240df3fb6a5d62 SHA512 2afbd49fbf298388f54329ab23b63af81c67692e52f95c483ef81fcf206e2a345f219389a3aa635d1b9c4ddb56a163a17a76550ccc1716f1ab42e922f51a68dd DIST tox-4.52.1.tar.gz.provenance 9142 BLAKE2B 14b0420896e2dba90aec162fe0ac917c4b9df9626f4b52c4d3e832e389ef789f52be6ed63d7c7a191453e977f691e95904004006a5d81cd666d8ecc99379c2fd SHA512 35fdcca7fe9277d1c3d7a8867c5309c8e08a32cf5bca47d43dedfef12e9fe75edd818c8eec17872e521d923d9c6daeb931014a6f733041db9c1f464b1018e5a3 +DIST tox-4.53.0.tar.gz 274048 BLAKE2B 471335ce4a9451c57d9ab8cf20bf2becd195bdacaa92e9489b3a49b7952f960e707368988fb2f1a008338a040302dc1410b390c147c43c53e899835e2b23c666 SHA512 f43388935335f94be0ad0ee6376ef272e12dbbd0b4df386cb6a6733f0aebf7ad9620d706b90a913a44d00b0a1b7ac1df69b27f519d804191efcf4f9d99d10ffd +DIST tox-4.53.0.tar.gz.provenance 9518 BLAKE2B bb5adebc42fd365720a802da1fc8007f6b705bfcf828e236aa736a6781be59219ae8033f6f0a1c895d2719f2b7c8f5faa1ab8640696a2b7c21c4de0df0f1965c SHA512 b656c6db244153f76dd5055ee05edc1715e31e991f4f72a18c52a440e4178f45e7c647ee2c5fc5e706b41ec6775db927864a6ca196c1895af210ae01d9722069 diff --git a/dev-python/tox/tox-4.53.0.ebuild b/dev-python/tox/tox-4.53.0.ebuild new file mode 100644 index 000000000000..9b8acbc341d0 --- /dev/null +++ b/dev-python/tox/tox-4.53.0.ebuild @@ -0,0 +1,95 @@ +# 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_{10..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 ~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}] +" +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}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} ) +# 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 + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + python*) + local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) + ;; + pypy3*) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + esac + + epytest -o addopts= +} |
