summaryrefslogtreecommitdiff
path: root/dev-python/tox
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-26 07:25:04 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-26 07:25:04 +0000
commitdb4e790879294f244670a7060a0ae59c2f00baf6 (patch)
tree42993c4e9506288688f1c2af33ae51dbc3cb795f /dev-python/tox
parentf1dfb9ba3f1dc1ddfd52782f8e95d6a15c2fce12 (diff)
downloadsrcux-db4e790879294f244670a7060a0ae59c2f00baf6.tar.gz
srcux-db4e790879294f244670a7060a0ae59c2f00baf6.tar.xz
srcux-db4e790879294f244670a7060a0ae59c2f00baf6.zip
Adding metadata
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/Manifest2
-rw-r--r--dev-python/tox/tox-4.46.3.ebuild91
2 files changed, 93 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index 68fcaa2eaf16..ea4a15491adb 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -8,3 +8,5 @@ DIST tox-4.45.0.tar.gz 246134 BLAKE2B 7ee9b9be82cff1db2f3eab812d36544874054a2b7a
DIST tox-4.45.0.tar.gz.provenance 9326 BLAKE2B cfdbb40a5aadaa5ef0f28757eb6bcc6fc9d099fd6cb38f87c86bd7c407d29b3845a16d0b9e0da1196815b7a6ec318c12824c2fb7815926889f4fde3a392086ef SHA512 2331c0af9cdd29311e62fb299a0d0d5adc79115662e398cfffb61596bdf63d96481dd0e95dde7331ff7ea089fc1db8dc34eca47d5cabcbc48384daf92190bb11
DIST tox-4.46.0.tar.gz 249296 BLAKE2B fdc12cff02ec234383221604c03e2d495b7975336e8d9a484da02e4ca6f69a9bf94feb2dac289e79ed2dc0221f0d9d6054bf4eeb7bda5f5e314283211f5f09f2 SHA512 501ca9c3033c65ce2e0a1be6f22d6c96651b9865e471c326020dfa904652f34ae03b58b0d6012ea3e905e5783d1610830168fe4032c0056f22a6b891036a46b1
DIST tox-4.46.0.tar.gz.provenance 9373 BLAKE2B 89756e65dd4ce39994a726735b96022f18bc1643c67d67f8e0a798c7b901182616521c8700ccfea0f1f0d6719932e2dd44b0166f7419bfd3d4ff5523bdb56b86 SHA512 6fd3a70b0fa0a0732e51d0b186e0bb15658751767a992166919b8f68b56c50c106ac56af40206eaa31bb7e3dca5270ba800607cf0fd4961b77892b7f887e4ffd
+DIST tox-4.46.3.tar.gz 250933 BLAKE2B 028c1d2b5035439bbcd3b0b5b33a9c4aaf533e67602a00b4ddc227bff0548cffee54183c1cad4cccdc253eea95bbe179c2625ae2f850cce93b51d8356c54b469 SHA512 a327ed5710ab604096f6978ac6bb6e7fb84f864c96906379f9646ec6295156ede9b787e67684fbfc2c46d8c7e138645a85aeede3ba706b3526d5cceeeb977860
+DIST tox-4.46.3.tar.gz.provenance 9334 BLAKE2B 1bc4a799991d69a42c1ae2fd4edcc92d3f56e0bf0872dc7fa2b8abd4b8760ab25245d1e46932b08c43cdacd31fcda40f58c1fc7029d0bb032622876a6cc7299b SHA512 29b31df2e9928c13859570a5c830d180411f4c826f7e652979d48ee361272079c538c8d5b1ac793b0b03ff5ec3411a1a120afc3b05b513a8be7e703672eba6f3
diff --git a/dev-python/tox/tox-4.46.3.ebuild b/dev-python/tox/tox-4.46.3.ebuild
new file mode 100644
index 000000000000..3d0b3fb74c95
--- /dev/null
+++ b/dev-python/tox/tox-4.46.3.ebuild
@@ -0,0 +1,91 @@
+# 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/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=
+}