diff options
Diffstat (limited to 'dev-python/tox')
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.64.9.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 12849c76bb7a..607a16421b3f 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -14,3 +14,5 @@ DIST tox-4.64.7.tar.gz 321984 BLAKE2B 3ae079332becf523ce497acdf87a0a04e73143ee7f DIST tox-4.64.7.tar.gz.provenance 9497 BLAKE2B c098d409abcdd43cc992e0578ae51832c0a289620ac7fb8790240e0df76dccebdf5acfde6514097c120fb77d829e83ad25a8a8ad6a47e04456515ea03cd2f193 SHA512 468d0a14daac3a5ae9921328594917740277712f949d3b4de1c8bf6080d1b4906a400db1ee621af70730d4410547da82a55264d0f7d8b7549f5ccf66383f206d DIST tox-4.64.8.tar.gz 326058 BLAKE2B 2c9d954bed23e88cdf3d0dc8ad24db7ad9b8eaa8040be35bef516ef23532efd6e11f2e50e889f772734677b0f624397da0ab2936726187ad40cfb6abc4898883 SHA512 621918a943b4094387f0a67bfbaa656f1b481eac7f168c7e9b4ccf6bc515126c74671f6fec99456db9d1334bcb60996888eb3f1ae2bfcda016d0a782310eee9b DIST tox-4.64.8.tar.gz.provenance 9156 BLAKE2B e4094d1cdd0d65a9cb65d35a18cf8fc6980b0bb7478ccc0057e038325e1368173b9fe3f54c391ca27addb73cd49b29dfac3d17fe5468f9be1767602d7298fc55 SHA512 b15a95e7a4fd9b67449740da39a58f2062688bb7df0ee60a7f44e1b082caf682cf8f7a9e4bc4255eb102443f659b9b18051a8069c4749875eeb328bff5a1590d +DIST tox-4.64.9.tar.gz 331588 BLAKE2B de9f2da818c516b51492acdf437b3b16d7e06736d83c7e14ba094b96be00d67cb9d4c97261671d2a76ba0b1c67581d4287d127c175c8ce8e10d020eca6c9487a SHA512 284c5df3c6d76a7e913b225ad943ab27d40756f2f8df9fcf34df18c87ddc9149c9c5b1740cb6b66b513d478947dce13e16fd765efd430097afc5337c11534caf +DIST tox-4.64.9.tar.gz.provenance 9544 BLAKE2B b1dd15e89b1e22227b138d4f5999aa926d3993cf28898f98c6b93eca23522de63675cbdeaa4c71590606143eaa5bfae14b77b61579ef1ea3d191e509c698d255 SHA512 61078355d7e17261071e375cb6c5181e764d29a028a5d288ae37243f22d3544194f123527ac10ad36cb6f1e926a59e511323223f771e8eb4aacb919cd5e8f653 diff --git a/dev-python/tox/tox-4.64.9.ebuild b/dev-python/tox/tox-4.64.9.ebuild new file mode 100644 index 000000000000..9d80c8ee22b8 --- /dev/null +++ b/dev-python/tox/tox-4.64.9.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} +EPYTEST_XDIST=1 +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= +} |
