summaryrefslogtreecommitdiff
path: root/dev-python/tox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-08 10:30:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-08 10:30:27 +0100
commit2c1bdf9e63a9a82efe90cc9d82696812db076f7f (patch)
treed601077f80eb4e5b35ec09917804b1a153f1b894 /dev-python/tox
parent91123d2faefa2e7d77657215ec9287ae5d6dc0d7 (diff)
gentoo auto-resync : 08:09:2023 - 10:30:27
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/Manifest2
-rw-r--r--dev-python/tox/tox-4.11.2.ebuild90
2 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index 68a2725c7329..8faf71852053 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -2,6 +2,7 @@ DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3
DIST tox-4.10.0.tar.gz 174296 BLAKE2B 8369108d8fe4b64e0089bc9ea38c7d858b71fc2ea8d250ec8562fd408715d8461c5a212289f4a37c29e6a566088d821696cf869335a10c3ca5bd00e14e2b21d1 SHA512 c634fea5ab2989f2528107c75e7a1e4e328e8f5780d5fe6a3fda25e5c3d56e095db435cd5566231f3bc8e2d20d3b3e7a0e1b9be8de5a32e4b3602ed26f02f3b9
DIST tox-4.11.0.tar.gz 175086 BLAKE2B 7ddacab75674d5738543cc0deedfb8ba49b94be1e75d95f068162ea2443d3120bfa85b6ca31fa8141c8168e171a5731d829ec493d35b21aad7981685b937e78a SHA512 3e2e9f09874c39f6928d2502e5d01ca48721fc777d758f1d4b3df012261c3adc9e93a89ff6dcf7950fb4245df2624ff8c7cb84feb9424a8fcb6ab12117728692
DIST tox-4.11.1.tar.gz 175185 BLAKE2B 24926218c45f9d05e926ee2f0583a49e6ae11c6aa0344ea1b88c636ef67e945f5b54db565c1a5e242ca3e1bb7c065f92a7ce2ceb836b02e239b2321ad3d6c359 SHA512 8dc99f98a72ece1cae60e9a0d99fe44b66bd6d9fe6f2d45b0f4e7ab10a5e4a65049cced4b212fe8bfe34ded65b8e4b76d642e5c014d385d2d2cd7f87d8cf6816
+DIST tox-4.11.2.tar.gz 175238 BLAKE2B 7f6d87941923004d7547cfe24cc55b0c02a78f3086e1df900d45e0c6ec5acd6d24bac26b6613df35064f8bc94730a57d39eccd3504c943acf18eba0e0adfb06e SHA512 200fe089ffd80e44726a6fb624d8a4bb95be1c541483f2eb29f45f47d0661cb7b7d77c7f429440e14f8894b0cba3be2cb19e7cc5daf5a4afdb1fec83a87f45df
DIST tox-4.5.1.tar.gz 170137 BLAKE2B 38ab00eb577e66211db0ecf8931087a8c5a14f8219eb7ebecb7be9938221d1c680edc09a38a5c72b9ec63825d4cbb2d4fd9157a52aed8cdb0d22a1c1bbb70cba SHA512 75d495d6dba134c3fe537fc190c1f428ff188ee67c346911c02ee151a8369425b22956eea52be5d434735e1590edce57b3487d5f4b277022bf8cfe8bf4660cf8
DIST tox-4.6.4.tar.gz 172650 BLAKE2B 84164dbb02002d398e779b0c5e4617213fbfc711ded95faddde93711549eab9e69675f0a459ce60ba8357baf4e7d361f86b4cb85818972e5d018a61db179ba1a SHA512 b6a4673ea58e21b5e8b3d1330244d46ac7a36563a089b2e03cfcd7039386ab6afc437ebf4c516bbe373133a7beb54ebb380d39ab126be69f3601226f2273f3c2
DIST tox-4.9.0.tar.gz 173479 BLAKE2B 00fc440bbcafa6e0d521ce745af0fa7b9a33196fec4f29f2dcad10079d494e3703fa06558ceb26762162687f71f7c77b386f64bdff6b4ac0a78706d2b7fd0743 SHA512 62f0cdb4d425d935315babf90ab331fb772352e68b6c67cf96f1d13007245427e67968a08073cc07a4adf850a991bbbcbff742567808ca22bc231acc1e3692e2
@@ -9,6 +10,7 @@ EBUILD tox-3.28.0.ebuild 1916 BLAKE2B ff8aa55245a3f654897ad4c8f5861a55410b2b9442
EBUILD tox-4.10.0.ebuild 2847 BLAKE2B 1b9389dd6de0acce0fd28030c93128c5f0a5d38ee3b6d2931f1cf2e33a1ce5d13a9e5a922b4d8a0c8b1ef5af6ece1eb30db3ccbfe48a6214186467f9f3fb3cf1 SHA512 43a1665dceb2ca34842191679e65dd1c52f44fadea9ef672b2c78d0f68650788c8707e97b0fd7654d67235f67ae14eeb90921c10543b934c9f9d7922786a806d
EBUILD tox-4.11.0.ebuild 2840 BLAKE2B 59fcc5acfeef9ea8523fc8d4c8e16c0e099bb70e489b2acc649bb92057f0d457486b0bbac3081d4c4d22ff781866c429e56f8e76422b9296ba67d7b37ccc32ba SHA512 4fe229c7e1fbf6c785e5bfb5ac59d68949de65cce3f5e2bdd0063d7278acbf82fec77cfd9c50d6b8d04b3c983cfc8de8870a3ca129b4afe9b6091bc9bc863dfc
EBUILD tox-4.11.1.ebuild 2840 BLAKE2B 59fcc5acfeef9ea8523fc8d4c8e16c0e099bb70e489b2acc649bb92057f0d457486b0bbac3081d4c4d22ff781866c429e56f8e76422b9296ba67d7b37ccc32ba SHA512 4fe229c7e1fbf6c785e5bfb5ac59d68949de65cce3f5e2bdd0063d7278acbf82fec77cfd9c50d6b8d04b3c983cfc8de8870a3ca129b4afe9b6091bc9bc863dfc
+EBUILD tox-4.11.2.ebuild 2840 BLAKE2B 59fcc5acfeef9ea8523fc8d4c8e16c0e099bb70e489b2acc649bb92057f0d457486b0bbac3081d4c4d22ff781866c429e56f8e76422b9296ba67d7b37ccc32ba SHA512 4fe229c7e1fbf6c785e5bfb5ac59d68949de65cce3f5e2bdd0063d7278acbf82fec77cfd9c50d6b8d04b3c983cfc8de8870a3ca129b4afe9b6091bc9bc863dfc
EBUILD tox-4.5.1.ebuild 2677 BLAKE2B 0f93d46d9c831f6b320286b38c2f2b5677442c9fd2c756a109355addba5d7e2efb0657c6ae736f391891508e5d247c1f06afb338ae2a2fb639f962c81939a1a5 SHA512 7a2e2f268c69f8438c6265737f1222561e5707350f6822cdc6d15c425c34f59415b5f7c9bc4993c996c885048f590a696f680ef5a9e41f9daa16cd07b62cc591
EBUILD tox-4.6.4.ebuild 2702 BLAKE2B 2067ee00b17cf2923e47311c8347481ef1e65b10837bb29aed7c0574da01ca824bceff001ee25142cf1772976ec1d6aa108640074d66d2edba7f5f44b5ba2e55 SHA512 2cb45c6dcf1c70413c86abc6b92b6a544e3c96263218c845a76e33c994578083dd112cd47ba8b1c78399a1559d75f425cbaed48f31aa7662c6cf2f88521873e0
EBUILD tox-4.9.0.ebuild 2847 BLAKE2B 1b9389dd6de0acce0fd28030c93128c5f0a5d38ee3b6d2931f1cf2e33a1ce5d13a9e5a922b4d8a0c8b1ef5af6ece1eb30db3ccbfe48a6214186467f9f3fb3cf1 SHA512 43a1665dceb2ca34842191679e65dd1c52f44fadea9ef672b2c78d0f68650788c8707e97b0fd7654d67235f67ae14eeb90921c10543b934c9f9d7922786a806d
diff --git a/dev-python/tox/tox-4.11.2.ebuild b/dev-python/tox/tox-4.11.2.ebuild
new file mode 100644
index 000000000000..dfbf0fa8708d
--- /dev/null
+++ b/dev-python/tox/tox-4.11.2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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}]
+ ' 3.{9..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
+ )
+ local EPYTEST_IGNORE=(
+ # requires devpi*
+ tests/test_provision.py
+ )
+
+ [[ ${EPYTHON} == 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]'
+ )
+
+ epytest
+
+ # tox leaves a *humonogous* tempdir which easily leads to ENOSPC
+ # when running in parallel with other packages
+ rm -r "${T}"/pytest* || die
+}