diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 15:32:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 15:32:39 +0100 |
commit | c74abf990d32765245eeb94b36ad4af642cae8c0 (patch) | |
tree | b700660e782342b531312e3855b949f5b2fbbc60 /dev-python/tox | |
parent | 5a21cec0c36dba03507dcbd5e8ab6698d00b39bf (diff) |
gentoo auto-resync : 17:08:2023 - 15:32:39
Diffstat (limited to 'dev-python/tox')
-rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
-rw-r--r-- | dev-python/tox/tox-4.9.0.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 0f126e43b08d..db8d0c52aa0e 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -8,6 +8,7 @@ DIST tox-4.6.3.tar.gz 172585 BLAKE2B 14d895a516fdb1b767c922633185b31904149e7fea9 DIST tox-4.6.4.tar.gz 172650 BLAKE2B 84164dbb02002d398e779b0c5e4617213fbfc711ded95faddde93711549eab9e69675f0a459ce60ba8357baf4e7d361f86b4cb85818972e5d018a61db179ba1a SHA512 b6a4673ea58e21b5e8b3d1330244d46ac7a36563a089b2e03cfcd7039386ab6afc437ebf4c516bbe373133a7beb54ebb380d39ab126be69f3601226f2273f3c2 DIST tox-4.7.0.tar.gz 172893 BLAKE2B 9611cbff7937e859ad923d40978804eede6eb372868c7af85597644a3568e775627361faa64587aa44c9e1e3bcf565fb4c6956d73fe973c258c90f005f5e5b14 SHA512 17c010af1dd402dd1dff86dca9154be16212bdbdafa4d83f6337e5c4ebd6f7256b7cf813ac8bb22d755873c89179caeecbaeed05c7e6dd6903251c3548fa8042 DIST tox-4.8.0.tar.gz 173370 BLAKE2B 85dafc76b2dd6fb012112020c12e570904bc7d587ebaded729cabf752e14f1f04ed4f7672e52012f5abaff9a68480a2710483b0f5e0a16fbde64f009c30f0df4 SHA512 e7d4b33df31574fb5b35100e79a9a620a967aa8c4a2add474a21fffa52129429cb54485aaddb44957d75b9875afc332f69afdf8c0c598096572e2c8f83756154 +DIST tox-4.9.0.tar.gz 173479 BLAKE2B 00fc440bbcafa6e0d521ce745af0fa7b9a33196fec4f29f2dcad10079d494e3703fa06558ceb26762162687f71f7c77b386f64bdff6b4ac0a78706d2b7fd0743 SHA512 62f0cdb4d425d935315babf90ab331fb772352e68b6c67cf96f1d13007245427e67968a08073cc07a4adf850a991bbbcbff742567808ca22bc231acc1e3692e2 EBUILD tox-3.28.0.ebuild 1916 BLAKE2B ff8aa55245a3f654897ad4c8f5861a55410b2b9442bf3f85aaa0ee236f576efcea1a2ed697c715c7182679b62a4781c5a0f6236eb92a1b12d6ddc73154612a67 SHA512 2f5999d0263da9efb00216600f8b98fb3c204e11640049d92c6106279baeff452468d2bb78236839bc8bd5540d6f9d01338af26315148d81a788d476ec5dbed5 EBUILD tox-4.5.1.ebuild 2677 BLAKE2B 0f93d46d9c831f6b320286b38c2f2b5677442c9fd2c756a109355addba5d7e2efb0657c6ae736f391891508e5d247c1f06afb338ae2a2fb639f962c81939a1a5 SHA512 7a2e2f268c69f8438c6265737f1222561e5707350f6822cdc6d15c425c34f59415b5f7c9bc4993c996c885048f590a696f680ef5a9e41f9daa16cd07b62cc591 EBUILD tox-4.5.2.ebuild 2685 BLAKE2B d431a1d84cd09d18219631d94e24ad049d1e35647a262e70e75bc1851791dfaa68ac76222cec39798460091850998d7312a328335c4c2c354a9b8d72e4ee3893 SHA512 6831ff1bb781bfc16d9402332998cebbbe06915bf1f5d31bcd8f92cc690c93238ba2731fc9378781dad08bffdcedff8f69a288914c2d0a575e2c8021463d18eb @@ -18,4 +19,5 @@ EBUILD tox-4.6.3.ebuild 2695 BLAKE2B 0263ab97ae49bb912e3307477bac9c0646dc79159b2 EBUILD tox-4.6.4.ebuild 2702 BLAKE2B 2067ee00b17cf2923e47311c8347481ef1e65b10837bb29aed7c0574da01ca824bceff001ee25142cf1772976ec1d6aa108640074d66d2edba7f5f44b5ba2e55 SHA512 2cb45c6dcf1c70413c86abc6b92b6a544e3c96263218c845a76e33c994578083dd112cd47ba8b1c78399a1559d75f425cbaed48f31aa7662c6cf2f88521873e0 EBUILD tox-4.7.0.ebuild 2704 BLAKE2B 3c0475ac70c9ffff64b61f867d93a6d9cfd2b07166d7e0cde381866e470e905bf91960d6dd00832e51f2fcbb963e14075b2f27f58285825ea31dfd1fafc26f26 SHA512 8156119e3ddd1ee1b46e2d224607c19f58c6b5ea5170f85e7f6a080648a8f1cf0fff1ec96467330849428c2f40a48ea2a0946aa847850d1f56072d021493244c EBUILD tox-4.8.0.ebuild 2848 BLAKE2B 5997aa898440cecdf8861fc9048454925ea1ac77b030ab6d23949f0b34d65468d83d970bf46263d6a72120dcb53fbd10206e08f1be39512ff455c98f4b49bf28 SHA512 6e6dca04652c831a3ec12e379db162ff432c5754a9ff1b25d2aa9fe7d7cd6c601a721b123f86f7776d1d3c620f6063543835bb82113ad6374317b53052d9428a +EBUILD tox-4.9.0.ebuild 2847 BLAKE2B 1b9389dd6de0acce0fd28030c93128c5f0a5d38ee3b6d2931f1cf2e33a1ce5d13a9e5a922b4d8a0c8b1ef5af6ece1eb30db3ccbfe48a6214186467f9f3fb3cf1 SHA512 43a1665dceb2ca34842191679e65dd1c52f44fadea9ef672b2c78d0f68650788c8707e97b0fd7654d67235f67ae14eeb90921c10543b934c9f9d7922786a806d MISC metadata.xml 382 BLAKE2B 7c0704c5c187ce4a7972fe0372b23c5537a81a8d62fd83436d9558a61761f10764adb5a4d5f6795f0dd1fe905afa604c0be77fe1d48d291847f6ae65dc1b032c SHA512 9d0ced4df9352a81034a50d5766a01534ae8fa889985d99cc9e2a8d0889e31c6c11550677d9a5a74e2aab57c320192ce3a42708a6d23b0419ee34a6054398344 diff --git a/dev-python/tox/tox-4.9.0.ebuild b/dev-python/tox/tox-4.9.0.ebuild new file mode 100644 index 000000000000..4a3b369c1b46 --- /dev/null +++ b/dev-python/tox/tox-4.9.0.ebuild @@ -0,0 +1,84 @@ +# 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-5.3.1[${PYTHON_USEDEP}] + >=dev-python/chardet-5.2[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.10[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.2[${PYTHON_USEDEP}] + >=dev-python/pyproject-api-1.5.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.{9..10}) + >=dev-python/virtualenv-20.24.3[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-0.10[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] + >=dev-python/flaky-3.7[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.5[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.3.1[${PYTHON_USEDEP}] + >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/time-machine-2.10[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +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 +} |