mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/tox: Bump to 4.58.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -6,3 +6,5 @@ DIST tox-4.57.0.tar.gz 287613 BLAKE2B 1cc082057a78419ff0ce69366513b31795efe120c5
|
||||
DIST tox-4.57.0.tar.gz.provenance 9448 BLAKE2B 82872ecdd198d8c0d491acc162689ea0d04da4c9b59b9105f6c1f5a66ae2b490843a9ac98edd3dc444bc62bd585a5e1318e779e9e5c2c145798febe4b5cc8908 SHA512 c624b424580a1917fb37aba79680aaefc053894c9f5ae7278473adbd752335f0cece209375f9d4128456a864cd3595c27eb6094d8c38ff1ebfe5c0932c914bc0
|
||||
DIST tox-4.57.2.tar.gz 296928 BLAKE2B 31adcccbab438196c8627de3a8db9be985216c612c29be6bd67e04e140e4cfad6ff0c35b0a8a3d2b48d8d30db7058ab2b8093688eaaf5d96b2fb4858f61c5374 SHA512 a21bb6c2f7f133e3bc74cfcd18516114453ded75d156f930804acdfcfc65c6d3d2816c838efad01187df730544c19ede99e3c4fef24a68213c6a461396174e55
|
||||
DIST tox-4.57.2.tar.gz.provenance 9593 BLAKE2B f78ff9e827973ac587dd1c310ea4541101ae947e49d9ae5e729911f500533f78f6169ef51e6a89a1c1f3690ec9341fbc079ab6d762cf1a8ff59767f5cb227e0a SHA512 8638ce3c3ddc7e1bc74955917d2345deb3305fd9dde3eb014a56996dd6abe3806c37830b8214de0150b829eecc70cebd56c082b33d336cb02993444b268f225a
|
||||
DIST tox-4.58.0.tar.gz 296926 BLAKE2B 755820109ce9f90b5039d79bf368df09fb8e1f7b972951c0fdd47f0c661c0207e9d181a701e48cfe1308b9c2621d84a67ce28c9b2359644c71ba1fb17328e146 SHA512 11d45089ff69fea827979909e3946a366699f58e6d25ba1b54224c5cd283372d515f4bbdb002585ee1d6bcfc4a1561785e83c555718ba983c5b608773618a0df
|
||||
DIST tox-4.58.0.tar.gz.provenance 9487 BLAKE2B 9e7e230add9749ec7b942c0a9df58932a626970980d6cd51f845b38e56129a24b3e6b8910e940ccbece5a5721809b98f02709c3d27d19911ef5045d757e49acb SHA512 59ad986a6b929450a45a1d5d59ffed766aa7d14800324a23edf65d5b1da1bf53a6ca53407d2b9ba9274af3a28a5338866d97ccd868d837c9a360440558f0fcb5
|
||||
|
||||
80
dev-python/tox/tox-4.58.0.ebuild
Normal file
80
dev-python/tox/tox-4.58.0.ebuild
Normal file
@@ -0,0 +1,80 @@
|
||||
# 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_{12..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}]
|
||||
"
|
||||
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 )
|
||||
# upstream timeouts are quite short
|
||||
: ${EPYTEST_TIMEOUT:=180}
|
||||
# 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
|
||||
# require tombi
|
||||
tests/session/cmd/test_schema.py::test_schema_tombi_lint
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# requires devpi*
|
||||
tests/test_provision.py
|
||||
)
|
||||
|
||||
epytest -o addopts=
|
||||
}
|
||||
Reference in New Issue
Block a user