Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tox/
Date: Sat, 05 Jun 2021 20:55:43
Message-Id: 1622926527.931d1a24588ae91358d1bc8eac4ff4ebe3af5b7f.mgorny@gentoo
1 commit: 931d1a24588ae91358d1bc8eac4ff4ebe3af5b7f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 5 20:52:17 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 5 20:55:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931d1a24
7
8 dev-python/tox: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tox/Manifest | 1 -
13 dev-python/tox/tox-3.23.0.ebuild | 76 ----------------------------------------
14 2 files changed, 77 deletions(-)
15
16 diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
17 index 1865b4af5f7..4f37b818d4c 100644
18 --- a/dev-python/tox/Manifest
19 +++ b/dev-python/tox/Manifest
20 @@ -1,2 +1 @@
21 -DIST tox-3.23.0.tar.gz 303091 BLAKE2B 609e74ea354ca5daf45c848000961782fcef59da07f815292355d72f3e5dd078e3b5909a65521a4a1032fa2bb9481fdab0e620f4882b33aa377de9764296761c SHA512 fb96cbbdbd36399036d348716f1181285184985922e0dc61b610b36e53ea79e2d8a77190aad893650bcba86ef4c57ff0f2de2813becb2a12fe0d1aa36bb27ad3
22 DIST tox-3.23.1.tar.gz 303896 BLAKE2B d59160035a6412a69f9434bfb5b2b27aa9a2ebd5344b4898b677dac15dc91ab94feca67b8edde4c0ba68c8a6a12fa885091d82a088439257e9393a99e77ade88 SHA512 ec5daf106287b265d1abec8465df8ad053ecf59876038a7cb419a57e22373809e50f8131736762dc485f559363b1878abb49d909e7b6952b2e49eea77c193281
23
24 diff --git a/dev-python/tox/tox-3.23.0.ebuild b/dev-python/tox/tox-3.23.0.ebuild
25 deleted file mode 100644
26 index 78e1824c951..00000000000
27 --- a/dev-python/tox/tox-3.23.0.ebuild
28 +++ /dev/null
29 @@ -1,76 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -DISTUTILS_USE_SETUPTOOLS=rdepend
36 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="virtualenv-based automation of test activities"
41 -HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
42 -SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
47 -# doc disabled because of missing deps in tree
48 -IUSE="test"
49 -RESTRICT="!test? ( test )"
50 -
51 -RDEPEND="
52 - dev-python/filelock[${PYTHON_USEDEP}]
53 - $(python_gen_cond_dep '
54 - >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}]
55 - ' python3_{5,6,7} pypy3)
56 - dev-python/packaging[${PYTHON_USEDEP}]
57 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
58 - dev-python/pip[${PYTHON_USEDEP}]
59 - dev-python/py[${PYTHON_USEDEP}]
60 - >=dev-python/six-1.14[${PYTHON_USEDEP}]
61 - dev-python/toml[${PYTHON_USEDEP}]
62 - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]"
63 -# TODO: figure out how to make tests work without the package being
64 -# installed first.
65 -BDEPEND="
66 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
67 - test? (
68 - ${RDEPEND}
69 - >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
70 - >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
71 - >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
72 - dev-python/pytest-mock[${PYTHON_USEDEP}]
73 - )"
74 -
75 -src_configure() {
76 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
77 -}
78 -
79 -python_test() {
80 - local deselect=(
81 - # broken without Internet
82 - tests/unit/session/test_provision.py::test_provision_non_canonical_dep
83 - tests/integration/test_provision_int.py::test_provision_interrupt_child
84 -
85 - # expects python2 to exist
86 - tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable
87 -
88 - # broken without tox installed first
89 - # TODO: figure out how to make importlib_metadata work
90 - tests/unit/test_z_cmdline.py::test_tox_console_script
91 - tests/unit/test_z_cmdline.py::test_tox_quickstart_script
92 - )
93 -
94 - [[ ${EPYTHON} != pypy3 ]] && deselect+=(
95 - # TODO?
96 - tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path
97 -
98 - # broken without tox installed first
99 - # TODO: why it can't import itself?
100 - tests/integration/test_parallel_interrupt.py::test_parallel_interrupt
101 - )
102 -
103 - distutils_install_for_testing --via-root
104 - pytest -vv --no-network ${deselect[@]/#/--deselect } || die "Testsuite failed under ${EPYTHON}"
105 -}