diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index a3c7b4b08dddb..3fcf6408de63b 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -4,6 +4,8 @@ DIST tox-4.67.1.tar.gz 347211 BLAKE2B 2040abee08359939a65d6dfbfa119291926ce6a5db DIST tox-4.67.1.tar.gz.provenance 9565 BLAKE2B 7abacdacd7eff1c4d0649611e62885e3dbcf9100127aaac953b99cc6ee72d3db37faa32e7f4c03de65dba2d2faa7d523edd244eaf45ca04cf6ea8d9f6e35bc47 SHA512 544582b6d7e6213979bf577259bdfb5c1c0c343bd98543b16d4c6a3282dc4380b592baa8d00454de4a4134727322f7233bd22a4b1c7fe20194724d830a7bb6f9 DIST tox-4.67.13.tar.gz 425618 BLAKE2B 42dca160c91fe68c8bac9a799267f1f483d30d490e3f8363a04ae879cbe84b7f6abf5faa41c755b148f769e3283be3bd81360fe712db2e95ce5ae7d89de6dae9 SHA512 9f0e189ad5a0d8109e96b648f2134919f4c67dc60cc10adcbb0240343f45116c73ec533df6f5039d2359dbb06ddd193cc450c72b3d13e5218f4ffd05368a95f9 DIST tox-4.67.13.tar.gz.provenance 9695 BLAKE2B 18867d2928b00a646010d96638f3881614286fdf43fa3ab03ca4d0bfa1a4e44d37fde40361a64fb8bc7b84b7e93a1603b22c429e8495213a4de78cd011fce9a9 SHA512 47c6a9b685fdfac7cbd0299a2d9640f3653e026d9a090fc6138f983b1133160e12c21963ee67c64737516e79beebb8ebed6bcd6d94a5855575b616a66c6c5489 +DIST tox-4.67.15.tar.gz 469602 BLAKE2B f7ff38bb707f2ae6a2a360e662e316c45969e42d751c22170167829d34e300f2ca2b3be6e006bf629fc99666b78545f4573f7f2401cb2ea30787cd57d90cb0f1 SHA512 82460e3d81df8ecd7a188321f365d384c921b46c601893746ce12b0929b33cd47bb19a2e653d2f9d638283303202d36109b4ed25d83b8ebdaeba3cd8d177ef00 +DIST tox-4.67.15.tar.gz.provenance 9652 BLAKE2B d8c48f07444a78bb42b4a4aab555e695100c5bf5f5aa060d8753787d173ac9b754dc2f65dc70f05ab3c04af02fced286f984a9a3bfdabdd798571fdefb1398b3 SHA512 f0e19b5a068c274eca05f8f1d76b79e98208e81cc28126679864093fa9b8dfb6ca42ffbc0cce338b2062acc8b163ca8f669fb0fc4fd5ae90e504a38b2c1fd203 DIST tox-4.67.4.tar.gz 351271 BLAKE2B 6cccfc184b7e22025f2868a13216fbe0e3cb9a1a3726144df445ced0f2e574856490fba1116c44252cd97bb274ceba7da9b418b5c7989f976000c30225becfcf SHA512 c0d8fdd0d01f3978960d0e08c42833e28294b7758b1d7d7f08824a49ddfe02c7c40773bcf26c85057f15772600c069f29483eec58e9b884d984ffffff13a626d DIST tox-4.67.4.tar.gz.provenance 9432 BLAKE2B 61e471fa60fc1b44893a9e4c2d5dbc284ba2251e9f543af824bd036bfa6f1385a417c28c8cf6e8e34f141d83a83a35ef62be47bca4c4c82ec08b2683c0a8866c SHA512 e4d9b129b390675ff102e4979005ec15b5762cc7758e60a37f9b442d44ddd1b20fcd89667c62705839f958824befb21947fd1bf5a15a52ae1416873a099d4062 DIST tox-4.67.7.tar.gz 419038 BLAKE2B 2ffa9e98199285b3e760960ecceeac3a7bb903d0ad676043acd0e8e56fb9cc3608c06178c78d6048533a1165306ae8ba4150deb93a04c8dac06b6077b602f455 SHA512 576cb56408abbab1603d560e74bcc699f330324f3bcba91649bb629ec2c288ecbc93ddd9409780caf6cad1fabe8b4e1876a39854ed7ea11ad411b45f824bf7cb diff --git a/dev-python/tox/tox-4.67.15.ebuild b/dev-python/tox/tox-4.67.15.ebuild new file mode 100644 index 0000000000000..7f9a56e8baf46 --- /dev/null +++ b/dev-python/tox/tox-4.67.15.ebuild @@ -0,0 +1,93 @@ +# 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_{12..15} ) + +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-fancy-pypi-readme-25.1[${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} +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + # remove sbom nonsense + sed -i -e '/build\.hooks\.python-sbom/d' pyproject.toml || die +} + +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 + # TODO + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pkg_env_missing_interpreter + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + # requires tools/ + tests/docs/test_manpage.py + ) + + local -x TMPDIR=/tmp + epytest -o addopts= +}