diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-20 07:13:25 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-20 07:13:25 +0000 |
| commit | 24ffcd487c2714c9d53cad5f02c3566761e5f891 (patch) | |
| tree | b3b618fc52dd2ed86ab6dad085d8cda221de30b8 /dev-python/tox | |
| parent | 117d3bbc805e74921f2a1773a52d6f40612d5454 (diff) | |
| download | srcux-24ffcd487c2714c9d53cad5f02c3566761e5f891.tar.gz srcux-24ffcd487c2714c9d53cad5f02c3566761e5f891.tar.xz srcux-24ffcd487c2714c9d53cad5f02c3566761e5f891.zip | |
Adding metadata
Diffstat (limited to 'dev-python/tox')
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.50.3.ebuild | 93 |
2 files changed, 95 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index a985af09f324..162a005b7d79 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -16,3 +16,5 @@ DIST tox-4.49.0.tar.gz 259917 BLAKE2B dd874dab7ee3a28ae24214fbcb511f81c665167372 DIST tox-4.49.0.tar.gz.provenance 9429 BLAKE2B 55d47539cd4808d2181a8fb45e71f53d99ae7e7b92dcbf306df55db3417eb38c976ebf49d581b24dbf774b01e83fd2da58d9dfa83539b838c552aded557e3218 SHA512 eaee797fb46886bf0c82ffb414e8e8ee78f5a2435e26b75546f4aced20736e6054135da47736ff2658c959321d76e60138cbc3aaa2e74cd1898d41eee423a56b DIST tox-4.49.1.tar.gz 260048 BLAKE2B 8e3a22f4fbe7701335cc64a32fac99be98609cf3dee77623cd135fb8d420d3fff598e44c4beb004aec2d1d776a0c28c35a85e6e4c9c80ed2d2cf04ad8fd9f12c SHA512 4a2542f4efe469051104d06f34082af641bbda1c13bfc30e7ba1560cb5b0588f46a72186b6458b69fcde3c50777ca9d9d1a10f3e27d24d9d92ec286805b2d0fc 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 diff --git a/dev-python/tox/tox-4.50.3.ebuild b/dev-python/tox/tox-4.50.3.ebuild new file mode 100644 index 000000000000..1fd74a7f6689 --- /dev/null +++ b/dev-python/tox/tox-4.50.3.ebuild @@ -0,0 +1,93 @@ +# 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/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= +} |
