From cd495875e147dea4ad09ca786109d35e80c724d1 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 21 Feb 2026 19:15:18 +0000 Subject: Adding metadata --- dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.44.0.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 dev-python/tox/tox-4.44.0.ebuild (limited to 'dev-python/tox') diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 135179c1b95d..a3ca79c4d92c 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -18,3 +18,5 @@ DIST tox-4.39.0.tar.gz 221354 BLAKE2B e1a648abbf8b3ac10915fad3f89542b99d31401570 DIST tox-4.39.0.tar.gz.provenance 9240 BLAKE2B e12c7db4f636960052c52ae8590635838c22905aaec6cd163c4a951d201b5d509028973d4247954d5ee33ff70a8cd577b41bd4864c75b3388aee56e1bc9186b1 SHA512 0a91eb44d63f071a997853891ca2edceae719d8002308dd733780350abb501465777aff1e44a027a44cd8ae09ccf25eac57ab74d99c57adf4427121e53c255ad DIST tox-4.41.0.tar.gz 228941 BLAKE2B f295d6b6b547cf350fa7ddc6e9215b0ac8713d912382651a64f4e9289d3b7790cefc57465c105afd09abbe32a30de5a1f37721532413210dae6b3be3b697cb2c SHA512 5803952a1912445791e1ce49e304b501ec0d519067e6946134531381097a50b5e3f4fde08bd8abd34cfc385a548fc1349a0874bf07b3d6a47839fb96cb866df7 DIST tox-4.41.0.tar.gz.provenance 9142 BLAKE2B dad45f1f36c296d64a13a56c77b3edde9377c013a81ab34fb170d6200e2054a6ab62532a076306519645dec82e1755a0ecac99a0f27cb668867205f08758eabd SHA512 93cd8cf47cc2cf4e5fb8267dfed311ad9257a8608878a88d1b9891dcba294a60982ffbf88a980844bba0f4ae01b1d11686ac97d5e71631f1685576bb42a4ec71 +DIST tox-4.44.0.tar.gz 243605 BLAKE2B f3f3ef2c684bd34594217260e9fbf08f570168e86837096478f6b5ca8fe0183ff1cd64643a4b6657f2b167f2d186e042c066b3cae512a392620a1e58904775a4 SHA512 0ad609830eb04d8a706a4bdff73d11d4ee5047e45668dbea471d8089993cbdd7af9f2647e80d6324f881795c133372eee339016e1f9963966b164e2cd526ced6 +DIST tox-4.44.0.tar.gz.provenance 9338 BLAKE2B c3fc90c8aa23b2572313772a82a8359b68ff7865143663856bb2457462620b00f1ee7c12535ae510ce4182e09b3fb36ab67926b8940ae54502606043cae18393 SHA512 ced0661c129082981d6e4397349b6c14023f5ac35e2fead9eb988e68fdc78ad18dae4c93f162b53ea239b6b24da3a8207fb47c84d63b4acdbeba0fa5b96da713 diff --git a/dev-python/tox/tox-4.44.0.ebuild b/dev-python/tox/tox-4.44.0.ebuild new file mode 100644 index 000000000000..42367ebe26f8 --- /dev/null +++ b/dev-python/tox/tox-4.44.0.ebuild @@ -0,0 +1,92 @@ +# 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 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/chardet[${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/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + 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= +} -- cgit v1.3