summaryrefslogtreecommitdiff
path: root/dev-python/tox
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-18 07:15:14 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-18 07:15:14 +0000
commitfd00436ba3c32c6792c7e3213e497a2ba78f1269 (patch)
tree7cca9010836a019934448c560bd7dae363e5e4f3 /dev-python/tox
parent9975fab92df0a33f9350e366d99da941448a8cd3 (diff)
downloadsrcux-fd00436ba3c32c6792c7e3213e497a2ba78f1269.tar.gz
srcux-fd00436ba3c32c6792c7e3213e497a2ba78f1269.tar.xz
srcux-fd00436ba3c32c6792c7e3213e497a2ba78f1269.zip
Adding metadata
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/Manifest2
-rw-r--r--dev-python/tox/tox-4.38.0.ebuild92
2 files changed, 94 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index b08c2e763c08..1e0d31aa296f 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -12,3 +12,5 @@ DIST tox-4.36.0.tar.gz 210043 BLAKE2B f9ae83438f050577b7d7a3084d1e0bb7138b6cb3cc
DIST tox-4.36.0.tar.gz.provenance 9099 BLAKE2B 630575fcc9bec7c8ac5951a980e31b2abf5318563b815d0b60e117995ad9be6ebec36b23b984d09f4da66e02de8c0d86822b82eca2b86e0635165825f60cad47 SHA512 2169d6158fa405209c74c96805f04b3e6b1b917dfff6c6fc460707a9f91edf2b51a0b12ebc0fb46586b7532bbafbf0dcd5e16f21bc26bbf4ddebbd22bf195a0c
DIST tox-4.36.1.tar.gz 212677 BLAKE2B adc9ca41d00d73fb1a45f85934ab6619fff90b33a7b89db742be499b410bd6c78c3231ec8379bb36242f16bbe8ae0994ad16c6bf91f1ceb70aac8efb462731ff SHA512 66f3949b528fa1479db438a2a9c8eb71e088cad35a8c42c9b22d445a07aea3fea98a87179f7fc4b8c5e294d3a7eded4d2c9ea541f2afe7246bbc62af57145e8a
DIST tox-4.36.1.tar.gz.provenance 9381 BLAKE2B 7d802ac1866abb6383b797fe9845562edaa2a5d806b272d4b53221d819f02661d61697698bc72f355082a28b2ede860004c77bd7a07e8d09163e2e2d5e9da24c SHA512 19810bdeba1feb52d4573c5e3fed6b20e1fbc9c2e05c5a191cb2a192096bd096cbeb133b2e888fa89c1fe7bb156179b13a3a679ea418878315ccf259f8b73db8
+DIST tox-4.38.0.tar.gz 215498 BLAKE2B d7fa0df218c205bf90d213fab3de5c729750db4ef89f2fc41754e66e0114bc2dae4ef775a4071f49218a5ea97f66510b9f86b69b88e353dab00eed2ca523e363 SHA512 1a16cf4ba44e59cd433a62405dbdccffad06ccdff8ed417344aad26ff1c35095f596ff008be4ac7c4ef94ae90e01e4454fe018417c6dac9f23516a1314128260
+DIST tox-4.38.0.tar.gz.provenance 9232 BLAKE2B 49593ac7877b6feee78ec58944f19c622a56a431266d8101d7dc2fd779626f4f1a5e204a2acf4a413207b6c930dbc2ab9dd5cbea9adb07e37480e7a0e1e040db SHA512 9e03320bd129dada7771f8cf8a8a5e51afd9c2a893d70607ccd8fe07e003cff603b775029fad209558e8dfce22b002a87353253cb331f7c098ab761fbb58621e
diff --git a/dev-python/tox/tox-4.38.0.ebuild b/dev-python/tox/tox-4.38.0.ebuild
new file mode 100644
index 000000000000..42367ebe26f8
--- /dev/null
+++ b/dev-python/tox/tox-4.38.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=
+}