commit:     e3027d3de0059e30edb3072544b4d8e57544ab80
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 05:03:37 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 06:16:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3027d3d

dev-python/tox: Bump to 4.23.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tox/Manifest          |  1 +
 dev-python/tox/tox-4.23.2.ebuild | 98 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index befc1063c2da..100731f5bcbb 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -1,3 +1,4 @@
 DIST tox-4.21.2.tar.gz 188539 BLAKE2B 
f729857e18a34a21b3963bc0089891a2e52c03411d79a20838322540f01efa17d6fa8ac0ebf5612ad425d3ce565975cc266ba2820d0f2d0d76017801c221de4c
 SHA512 
a2a363ecaa88ac459e147471c1dca7152e21f77f38253b484a15fa908ea8b0e758761e8c2c475bb6bd374a636cb10004c7c2fb6c61fe3718b2b1c09569d0f08d
 DIST tox-4.22.0.tar.gz 189907 BLAKE2B 
8a3ff89838a532b4cb42b4624d56d9d008319198b61edcf6ebcc609296b9d358b91ba17c262b17893321d5737c5ed51c23b495348d084e8712142e77b9c4af1a
 SHA512 
5bce8cbc826f2cfc54b2824e023fdef21120183a65688113a956691759b885c22135fcce551e3cf0430412d6f85ccd7ec568495e47e7645766049ed0a55fae97
 DIST tox-4.23.0.tar.gz 189943 BLAKE2B 
5a2b0bce52626eb3faf5e0ab65419edae2aa0e436fc0f1e64cb07fcdd9d1c06c7b2a19898ff9c2c54137392d480d98e10c59c1be9e5318eaff276b85cfe82a06
 SHA512 
1c5f685334d0e885f8c17c94ffaa82502629aff1654efe9c544cc6e4d49a0d3a26eef4a05ab97246ebb31b63ee341776fb9240e5412cace68eb84f572283dbec
+DIST tox-4.23.2.tar.gz 189998 BLAKE2B 
776b653388a4b0578b5e5fd7957e97e1b3591d6239a23fe232238a7ce64a9adc641bbd5d3d4585ebb094da7c487da2b0875a466d62e27a9686317cc38a9b2491
 SHA512 
5008964ebed3c94a6ad5f0985150c7bf73fd3996b91171b16323d195bf0288102aac0dc38848bd4c63e5c5678ab1a82c170579139eda97132a4555eb11d381a0

diff --git a/dev-python/tox/tox-4.23.2.ebuild b/dev-python/tox/tox-4.23.2.ebuild
new file mode 100644
index 000000000000..35198cd27b99
--- /dev/null
+++ b/dev-python/tox/tox-4.23.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-python/cachetools[${PYTHON_USEDEP}]
+       dev-python/chardet[${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}]
+       $(python_gen_cond_dep '
+               dev-python/tomli[${PYTHON_USEDEP}]
+               dev-python/typing-extensions[${PYTHON_USEDEP}]
+       ' 3.10)
+       dev-python/virtualenv[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+       test? (
+               dev-python/build[${PYTHON_USEDEP}]
+               dev-python/distlib[${PYTHON_USEDEP}]
+               dev-python/flaky[${PYTHON_USEDEP}]
+               dev-python/psutil[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/pytest-xdist[${PYTHON_USEDEP}]
+               dev-python/re-assert[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/time-machine[${PYTHON_USEDEP}]
+               ' 'python*')
+       )
+"
+
+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
+       )
+       local EPYTEST_IGNORE=(
+               # requires devpi*
+               tests/test_provision.py
+       )
+
+       case ${EPYTHON} in
+               pypy3)
+                       EPYTEST_DESELECT+=(
+                               
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]'
+                               
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]'
+                               
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]'
+                               
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]'
+                               
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]'
+                               
'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]'
+                       )
+                       ;;
+               python3.13)
+                       EPYTEST_DESELECT+=(
+                               # https://github.com/tox-dev/tox/issues/3290
+                               
'tests/config/loader/test_str_convert.py::test_str_convert_ok_py39[1,2-value1-Optional]'
+                       )
+                       ;;
+       esac
+
+       epytest
+}

Reply via email to