mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-python/tox: Bump to 4.60.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST tox-4.58.0.tar.gz 296926 BLAKE2B 755820109ce9f90b5039d79bf368df09fb8e1f7b97
|
||||
DIST tox-4.58.0.tar.gz.provenance 9487 BLAKE2B 9e7e230add9749ec7b942c0a9df58932a626970980d6cd51f845b38e56129a24b3e6b8910e940ccbece5a5721809b98f02709c3d27d19911ef5045d757e49acb SHA512 59ad986a6b929450a45a1d5d59ffed766aa7d14800324a23edf65d5b1da1bf53a6ca53407d2b9ba9274af3a28a5338866d97ccd868d837c9a360440558f0fcb5
|
||||
DIST tox-4.60.0.tar.gz 301598 BLAKE2B ab870f535afb932c19aafdbc8f6f0d18703aea98c9297b64074743340f31dcacae7df274d721640ef832e494b1c5a3817f8c788e34d32ce03ad5140fd3a18a3d SHA512 777fe7244ec33ed979ca54e331a94a0b4cdb04365c4d96b5ce480172f167f5951b892d3aa78128a6695b40ffb70633d65c1e83c1ad374620a3b78a9c74059e29
|
||||
DIST tox-4.60.0.tar.gz.provenance 9532 BLAKE2B c91724df57220d01785d6fc4dd0cfd855d662957b3b474d5ce9f512c07d06590511f95c4a530ecd614adecc7a5c3f07f35408bd8704aec330fa820f91d6fc217 SHA512 f3d55d1e0b005691e2cbe32bdd5b6e9f46f7ff4484ee95bd1f75211788012d1aed3f28c5762effc3acd570709931e6b3fee7797c6b197dccb44b7144b757fb93
|
||||
DIST tox-4.60.1.tar.gz 303833 BLAKE2B 2033e33d1fbff8ae3ad77417d240b737c00e85fb8a6f0cc658b14c6af747173f5cd3b6ef4e9c19f6b82bed0570ad14312f75bc0ee97b3f8f3e045364f8ff913f SHA512 0b6c11e6863606de2650b891bac01c0fcad558c86ba3b561e78d870b389bd649cde6a1ab0f2159adf3ddef808a8659dc2d557d83320d0df6bbd186b50f4be4b1
|
||||
DIST tox-4.60.1.tar.gz.provenance 9485 BLAKE2B 862ac660042f34f3aefae4d95b7a85d0ef1fe4a6bbba4ed06f0dbd374cc76c4075ae141d99db7a5081057ad432472c74af012422458994e32fef8ee33ebde3fe SHA512 f873c588dc83adee5fdc2b1f655cf96c2401955f882a866f616c83fa845b926288484f62ad9f9212e0fe10ca9736b75f9bb588cf5099c94e03542ef69f403042
|
||||
|
||||
84
dev-python/tox/tox-4.60.1.ebuild
Normal file
84
dev-python/tox/tox-4.60.1.ebuild
Normal file
@@ -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_{12..15} )
|
||||
|
||||
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}
|
||||
# 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