mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-python/tox: Bump to 4.64.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -8,3 +8,5 @@ DIST tox-4.63.0.tar.gz 310965 BLAKE2B 6ddf45f8bcb2f673136004e5da559f07a64ad5120a
|
||||
DIST tox-4.63.0.tar.gz.provenance 9532 BLAKE2B b9e09d929dcc516aa81b61cda0ee7940d854b9da8f124a99a21927dc7896a554dd339d185367bac136a4bb86420dc915fa91f90297a3395d0cce39967c17d9fa SHA512 3e321cb8d1eb4213c7445800b6c5d7f87599f72d26c80fbb67bf69ab1acc6dd4f1bafdedd8fa4a6323b49a68872a13b02d5b8598e8690f465d92585cc79316cc
|
||||
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
|
||||
DIST tox-4.64.4.tar.gz.provenance 9673 BLAKE2B f5bdb0ee2ac5a4ad9bee6494c78e5fe3d91a0ba2486d2520a266b56ab29eae8cabe2c9b222aeecb359a3deac080188d37f34fc0f9180be5a89556dfa4c59bd75 SHA512 b50d6ced7c19203ac4eefe103afa3b39b5d81ee1da0eff23c515519c0266f96608d358debc398ddf129352e99cfa785851715f7f5b5bc73944eb1b16882c8d0d
|
||||
|
||||
@@ -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}
|
||||
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=
|
||||
}
|
||||
Reference in New Issue
Block a user