diff options
Diffstat (limited to 'dev-python/tox')
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.65.5.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 0dace917b238..2177d04c1232 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -24,3 +24,5 @@ DIST tox-4.65.3.tar.gz 343641 BLAKE2B cebbd34e606c1ae7690bba2111761179052e8850a7 DIST tox-4.65.3.tar.gz.provenance 9467 BLAKE2B 1555b83212e604e195969c0af68057937f3e68e722d9bf459e60078339789fe004974e8957dc0634f08d5c407dc66987b0ccd7128c087e34085b12b908d16c33 SHA512 aff924722aa30a455ec424f4d508ed4cf60f695da4a6e0e78a57ac6af868c1814378a7162d28e1899f2abaf2e0873a113bf175ead66ded58ba66017891dba94d DIST tox-4.65.4.tar.gz 343656 BLAKE2B ff3c154f470349da244bbdd60de07fd78ad44abe06f3493451e32545b9c1d85308d1716306e76732cdfe1daa1242f4ed79e5e7c45a5675b5521a8262fbb3ba98 SHA512 24945c9a7450a7ec0ed2068e989f006cba8dc0abbb975c61bbca73f4cb0f6484c279d0945167cb8617da71a708c66f5928e5f13360cb8c06a4c927d775bac49d DIST tox-4.65.4.tar.gz.provenance 9561 BLAKE2B 92e8a09667c8dacaa0a680f4b18cbdf1beed988e0a86523772b67d9cbd570bf3c790a26e01a290cf32b1a593a25eb8fb62452009ef55c5466a4d01f562372771 SHA512 0d86c78d1bb6211090ead4e342b91b0999b456dbedfd669a3fe0a7a23882f51e1a7295eb3f6c4cd057c20e2fc8c8b3bff1ab9b2e49d55ef45416bffeef4c9c64 +DIST tox-4.65.5.tar.gz 343779 BLAKE2B 1a18c2c8e92c706d58794dda4f1b658aa0a1e2b29f2018890a5a300245912fd3c5ec23cebaaab28ebfc5b758922449c6d6e035b4a42b54978013f52a3bc33a07 SHA512 a3e10d897f9c12211b4276703fb117ce6d44be7961d9a2c778d66fa92306423b35c3adbb16976859da6784554dfbe4918105c7fd5fc7958656dd36b77fe39a3c +DIST tox-4.65.5.tar.gz.provenance 9326 BLAKE2B b82af0b9ffccf77af8a1153f53e03baaad102a725ec608bace4da08d3804b443e50d0e447b951e15aaef00890ee2b870e7ba158b7d8a66379853d49043f9469b SHA512 4bc521a31fac6c0a4800b4a60efa23926393ef871e2b9c42388e5ec73aa9edbd03d9873268c6dd622d6990115e8d06ab00e734918dd8f0ea06b49a47dd29dab3 diff --git a/dev-python/tox/tox-4.65.5.ebuild b/dev-python/tox/tox-4.65.5.ebuild new file mode 100644 index 000000000000..9d80c8ee22b8 --- /dev/null +++ b/dev-python/tox/tox-4.65.5.ebuild @@ -0,0 +1,84 @@ +# 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_{13..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 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~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/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.15[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +EPYTEST_RERUNS=3 +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +EPYTEST_XDIST=1 +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 + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} |
