From e9d044d4b9b71200a96adfa280848858c0f468c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Nov 2021 13:10:00 +0000 Subject: gentoo resync : 13.11.2021 --- dev-python/tox/Manifest | 2 +- dev-python/tox/tox-3.24.4-r1.ebuild | 69 +++++++++++++++++++++++++++++++++++ dev-python/tox/tox-3.24.4.ebuild | 72 ------------------------------------- 3 files changed, 70 insertions(+), 73 deletions(-) create mode 100644 dev-python/tox/tox-3.24.4-r1.ebuild delete mode 100644 dev-python/tox/tox-3.24.4.ebuild (limited to 'dev-python/tox') diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index c2182c7514fb..30f71388d0ad 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,3 +1,3 @@ DIST tox-3.24.4.tar.gz 306760 BLAKE2B 332c99d021bc3c25549fd95d051baaa1f0dc3aaf776928320826bb7e6bce6444fd5a993e1dbff3a4ebbde9dbb59e30d07eae4b04096294b3a186b130b8312587 SHA512 49e2cb74f119b5cc049d2a64479e56307cea1f36a5586840cca12cb8f4ce8a2ba991cc6142bef7f095a7d32b44f7513f89cce56d89deaff0e12194ceb3da6249 -EBUILD tox-3.24.4.ebuild 2227 BLAKE2B dba9f5630ac352c45b76961348277983d811e6913cf92cb61344e42853091075dd16ea28643d901863dd5ed466d18dac0428ce27d0727899a97a828120a6b5c4 SHA512 10450e271f6a912fdfb03c8bbd86e2632e3938d0324be71587edb66a9c36c90cf028429bb463a9f22585438ed9d09094c5d30d4bc80b017f0520675180209a3f +EBUILD tox-3.24.4-r1.ebuild 2136 BLAKE2B 8cddb91c272b11e7ea543c98f06a19051c6bd3f631d371e87148336f54a016952e55fcd7afc0099ca848034584847e98d2cc0e5c97f479dd8c3dd2bf47a5865e SHA512 f068308c1208bd5e13ba3716e4c143295f4e82c4e5c28eba56f45fc12656333ed09aaf969c27073b36c206367953655d176c3c14d53f03d49da321c6c424ccbc MISC metadata.xml 382 BLAKE2B 7c0704c5c187ce4a7972fe0372b23c5537a81a8d62fd83436d9558a61761f10764adb5a4d5f6795f0dd1fe905afa604c0be77fe1d48d291847f6ae65dc1b032c SHA512 9d0ced4df9352a81034a50d5766a01534ae8fa889985d99cc9e2a8d0889e31c6c11550677d9a5a74e2aab57c320192ce3a42708a6d23b0419ee34a6054398344 diff --git a/dev-python/tox/tox-3.24.4-r1.ebuild b/dev-python/tox/tox-3.24.4-r1.ebuild new file mode 100644 index 000000000000..e23a2e4b7f90 --- /dev/null +++ b/dev-python/tox/tox-3.24.4-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_DESELECT=( + # broken without Internet + tests/unit/session/test_provision.py::test_provision_non_canonical_dep + tests/integration/test_provision_int.py::test_provision_interrupt_child + + # expects python2 to exist + tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable + + # fragile and relies on checking stdout + tests/unit/util/test_spinner.py::test_spinner_progress + ) + + [[ ${EPYTHON} != pypy3 ]] && EPYTEST_DESELECT+=( + # TODO? + tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path + + # broken without tox installed first + # TODO: why it can't import itself? + tests/integration/test_parallel_interrupt.py::test_parallel_interrupt + ) + + distutils_install_for_testing --via-venv + epytest --no-network +} diff --git a/dev-python/tox/tox-3.24.4.ebuild b/dev-python/tox/tox-3.24.4.ebuild deleted file mode 100644 index f997c636e7b7..000000000000 --- a/dev-python/tox/tox-3.24.4.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="virtualenv-based automation of test activities" -HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" -SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" -# doc disabled because of missing deps in tree -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] - ' pypy3) - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/py[${PYTHON_USEDEP}] - >=dev-python/six-1.14[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" -# TODO: figure out how to make tests work without the package being -# installed first. -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] - >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] - >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - )" - -src_configure() { - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local EPYTEST_DESELECT=( - # broken without Internet - tests/unit/session/test_provision.py::test_provision_non_canonical_dep - tests/integration/test_provision_int.py::test_provision_interrupt_child - - # expects python2 to exist - tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable - - # fragile and relies on checking stdout - tests/unit/util/test_spinner.py::test_spinner_progress - ) - - [[ ${EPYTHON} != pypy3 ]] && EPYTEST_DESELECT+=( - # TODO? - tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path - - # broken without tox installed first - # TODO: why it can't import itself? - tests/integration/test_parallel_interrupt.py::test_parallel_interrupt - ) - - distutils_install_for_testing --via-venv - epytest --no-network -} -- cgit v1.2.3