diff options
Diffstat (limited to 'dev-python/tox')
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.64.10.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 607a16421b3f..90373233f12e 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -4,6 +4,8 @@ DIST tox-4.61.4.tar.gz 308140 BLAKE2B ae284f0ac7fcca7d4bcb0ff7442c97b19e8b783d12 DIST tox-4.61.4.tar.gz.provenance 9548 BLAKE2B 3fe6f9b3f0fb5461b30dbcba77407ebdb420858c31f12a69e78dc3f8b5490f35ae0df658a2e6222686829064a247975bd7747d29531e7dc0309a7ab636c341a6 SHA512 f3c144d2ffcbb8407f2a516a5d8b068e44e862bf163f62ba00bca73e6e543aa765afd0f18f5dbc97591bc4e640b14c68377b29729c0b69c54aadee9b24bad439 DIST tox-4.63.0.tar.gz 310965 BLAKE2B 6ddf45f8bcb2f673136004e5da559f07a64ad5120ae2437f2cd498beb39fcdafe543b4242b90088b56de167516efcc9856914a003c9a79d104742c1d2f3f696a SHA512 4f266d3eff95592aa6648e6e868c6d61c149e4975d092ef2470085819f343ada1027c1484723e8720b030fee495ded957c0c60454a100da7efd46d7a0f54368a DIST tox-4.63.0.tar.gz.provenance 9532 BLAKE2B b9e09d929dcc516aa81b61cda0ee7940d854b9da8f124a99a21927dc7896a554dd339d185367bac136a4bb86420dc915fa91f90297a3395d0cce39967c17d9fa SHA512 3e321cb8d1eb4213c7445800b6c5d7f87599f72d26c80fbb67bf69ab1acc6dd4f1bafdedd8fa4a6323b49a68872a13b02d5b8598e8690f465d92585cc79316cc +DIST tox-4.64.10.tar.gz 332282 BLAKE2B fe3c1b91fcd6aa5d947ed6dd595172e8e8f0801c87656227e5ff2089fff27c297f9e805352c0b3598b7352007a19c3f43f5873f04cacbf6f55559792e0c9575a SHA512 1141691454b94d5513e4bb8473da9eba2c50fef7501117557e78522bb94c70d37b655a5e8ec9128593783e040baf8033fced307b5fb2ba57bde1cf1e74f56f81 +DIST tox-4.64.10.tar.gz.provenance 9248 BLAKE2B 383a5f06a6b45a5f7319aeeb306d3f18331c3f54422dfae14041e620d98a5cc8fc07bef8960bbbe3d2065d1c3e9f59eb70d44b5cbd783ab72585719227c2b059 SHA512 f35a87559e439bceb8ddd4eda0e9e10912a7c9909e46bdc42f26b47708e54d73e998e9ec0f054bcf2facc919232e339bcdfe3dd42e0daab904e452c4acf02bb6 DIST tox-4.64.3.tar.gz 316391 BLAKE2B bc50918e6e65a56671930f62c4ad0907b27930685b7c262e484f0f5c3335405baa296de8ae6f7f7f5c29d9b9d055497cb73752e83d603c83f89a9b7bb08a85c0 SHA512 ef22fbd1a4a3bfb190af0d5f7ef683f0ffc35b889852e6b84eae9d062fe4722061db73a9f1973a6c5e72cc92b8f16dfa10cb4778f78d9050701f6404e15da113 DIST tox-4.64.3.tar.gz.provenance 9485 BLAKE2B ebba61eec097a57a7260524ce45f4ac2cd26ae77c589fd76037c0b906010d35f2956ddb9b6daaaeb374d34b55ab9aeb12d7cccd8dd465730445f1666bff126cb SHA512 2f9eb62809e074ca389442bfb2b96eeb0fa2cb0647b6c2076fa572db2a80abbfd8b9a5255553171dde12fc73a5036e274329308d5572ad511de90dc15507d75d DIST tox-4.64.4.tar.gz 317372 BLAKE2B 45c95ee3a8189b7a629e9b4d1155728a7b1c12077cc568f8f4aa211de85afb451b6b802f90c7f805599697980cd0b440bbcc5285a86ffdf75c5bf7b9ce2099ab SHA512 71635ef4c569b090a68507272652c38734b277d80e9ab306eff2472c1d997d71d6251433dde15e87dee73501cb512a4019fbf6d51377966281e4a4796bfc8fe6 diff --git a/dev-python/tox/tox-4.64.10.ebuild b/dev-python/tox/tox-4.64.10.ebuild new file mode 100644 index 000000000000..9d80c8ee22b8 --- /dev/null +++ b/dev-python/tox/tox-4.64.10.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= +} |
