summaryrefslogtreecommitdiff
path: root/dev-python/tox
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-28 19:16:22 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-28 19:16:22 +0000
commit9525761df067d9ef08c7d71dcc8f3ca6898a1472 (patch)
treea01cfdb249789f561826a06e51e8872ed3d226ce /dev-python/tox
parent092c8f0bee28da7e426bd12abf9919b8459ef84f (diff)
downloadsrcux-9525761df067d9ef08c7d71dcc8f3ca6898a1472.tar.gz
srcux-9525761df067d9ef08c7d71dcc8f3ca6898a1472.tar.xz
srcux-9525761df067d9ef08c7d71dcc8f3ca6898a1472.zip
Adding metadata
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/Manifest2
-rw-r--r--dev-python/tox/tox-4.51.0.ebuild94
2 files changed, 96 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index 162a005b7d79..b49ece009f6d 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -18,3 +18,5 @@ DIST tox-4.49.1.tar.gz 260048 BLAKE2B 8e3a22f4fbe7701335cc64a32fac99be98609cf3de
DIST tox-4.49.1.tar.gz.provenance 9100 BLAKE2B 41046759f622c18f9563d573bf417bbfd1e4e33746038981660cd52f71f21188fef53de7b20aa529407bb338ef5c571d00f526666c64c234ed2e03c52a81eb93 SHA512 7cbf855c209901b24e9ea04187dc01f38d7788a08dd6f64edce6ab800b752e61ea32d0d648dfdb3aa5debcd2db0cd8ed734334f5c4bb4aa5cedc5c7f7b5759c7
DIST tox-4.50.3.tar.gz 266455 BLAKE2B 77a18cb2beeb4df6e80b8cdb718e5c51ea77b54ad06ea2db7afcc3e665ab27d2938d03ad309fca094b3bedea8c4b5bff5191526583d1746e936709d6ae66de4a SHA512 bc64b99a882c9cf80473e073dd3ecffd7176b9eaa08602cf7e8aa9ec419822907c73e5c5796205c2d2d52de0f828366a0068f5d221c6235c9e114e9025a571cd
DIST tox-4.50.3.tar.gz.provenance 9287 BLAKE2B 44e6d623b0de01dc586e4a29fdc70ab11e8a12ae9f6267851502e986e0ca5bcbc29f1f00bd5054752870155e058e660b78454af216eb439e421be94c74e72b8e SHA512 809624f5faa01e2b9141269a3988b51cf427a0b8b9bb3618b13234c3fa07e660d6b9fb65f5339d8a8a97a9a1b87da21facfe700dee278af974e69852bd5df695
+DIST tox-4.51.0.tar.gz 268657 BLAKE2B 52d453f2de4f4b24e81cd6850870f1086df762bc7e1e838f6a3101bf3b7aa449930637b5eef25f652267d9749a33eb3b6454a362d25cc4af7a2f2f49c5773e3c SHA512 e1f61da04330b353850cb78640caf731934ab5f75f56266dfbf668612529ce2012c166fcccd3860fe708e4acb2fdb9cad876131e61641615f6e44afea834e2ff
+DIST tox-4.51.0.tar.gz.provenance 9283 BLAKE2B 44c387a35815b55da8830bf0c57e115c35ac2c7e7f77c90d61a40d0c682a4cc5d941c35471d6f7b8b28f324e813726bf0f100a66a2f9e562fcad1eba299360b4 SHA512 28e558b4d40672dca95bd035c87e1ae031800401889d4118526a1e460cd1510a4703e024d5f79344b47beb0603b6d38e499b6790535c633e0eafb12dcbe29559
diff --git a/dev-python/tox/tox-4.51.0.ebuild b/dev-python/tox/tox-4.51.0.ebuild
new file mode 100644
index 000000000000..29fcc6b3b239
--- /dev/null
+++ b/dev-python/tox/tox-4.51.0.ebuild
@@ -0,0 +1,94 @@
+# 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="~amd64 ~riscv ~s390"
+
+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/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=
+}