1 |
commit: f1c4228c1347f07c5ecb3c9d3df044de4cf96c5a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 2 10:31:02 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 2 10:34:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c4228c |
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.20.0-r1.ebuild | 72 ------------------------------------- |
14 |
2 files changed, 73 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest |
17 |
index ec1c5c34751..7c7c854b721 100644 |
18 |
--- a/dev-python/tox/Manifest |
19 |
+++ b/dev-python/tox/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST tox-3.19.0.tar.gz 296499 BLAKE2B cad41c7791108ecdf6efc7bca99623c66d1d8ffbb2b06688eb84e575f14958ba2b497e0035ccc331fc8e0ce667824cba2c8dd37488ac48b3c16902c7b546074b SHA512 7a542282dc2fdef7ab8aff04372aeeeaad54b83bd7f1022c1c60465604d67a5984abcea7d409b8593b646192407c78cb88422aa4dfd11fb2a2d9da520aeafb39 |
22 |
-DIST tox-3.20.0.tar.gz 297432 BLAKE2B 279a6d407c4a490309843ba30e62fe2f0c6ace63af2dfd5b5c2fc8ee6ab784b99da56e9d7d76cd0170f85432bef500c31b824fee32558f7f21d4491385d13b4a SHA512 eb8e55eb3c232356cdb3e1477399ef055df497f1276f0b5c5423f30c780e2619067d1e44c2d6702016e63f96a76d04d0c5e7b6c6f1faa1a98f1dcc5b1cbeae39 |
23 |
DIST tox-3.20.1.tar.gz 297516 BLAKE2B 2a13059bce229f30670e247b17ffd03d4b0d907b2fa7eb7d2f6848ada8d81e1a0aad983748c4346dfa61877f88edd22e4616ed20efcbd15da34fdc1c87b4439a SHA512 0989cc3dfd25eb3d1236d973d490f12c81273c93e84140b54342217eb73dd944f446c7ce9fe228b644d764b94300f1c6ccaf94e442d0e34835d05de84cccabd6 |
24 |
|
25 |
diff --git a/dev-python/tox/tox-3.20.0-r1.ebuild b/dev-python/tox/tox-3.20.0-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index e4896d972c0..00000000000 |
28 |
--- a/dev-python/tox/tox-3.20.0-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,72 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
-PYTHON_COMPAT=( python3_{6..9} pypy3 ) |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="virtualenv-based automation of test activities" |
42 |
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" |
43 |
-SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
48 |
-# doc disabled because of missing deps in tree |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- dev-python/filelock[${PYTHON_USEDEP}] |
54 |
- $(python_gen_cond_dep ' |
55 |
- >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] |
56 |
- ' python3_{5,6,7} pypy3) |
57 |
- dev-python/packaging[${PYTHON_USEDEP}] |
58 |
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
59 |
- dev-python/pip[${PYTHON_USEDEP}] |
60 |
- dev-python/py[${PYTHON_USEDEP}] |
61 |
- >=dev-python/six-1.14[${PYTHON_USEDEP}] |
62 |
- dev-python/toml[${PYTHON_USEDEP}] |
63 |
- >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" |
64 |
-# TODO: figure out how to make tests work without the package being |
65 |
-# installed first. |
66 |
-BDEPEND=" |
67 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
68 |
- test? ( |
69 |
- ${RDEPEND} |
70 |
- >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] |
71 |
- >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] |
72 |
- dev-python/pathlib2[${PYTHON_USEDEP}] |
73 |
- >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] |
74 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
75 |
- =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] |
76 |
- )" |
77 |
- |
78 |
-src_prepare() { |
79 |
- distutils-r1_src_prepare |
80 |
- |
81 |
- # broken without internet |
82 |
- sed -i -e 's:test_provision_non_canonical_dep:_&:' \ |
83 |
- tests/unit/session/test_provision.py || die |
84 |
- sed -i -e 's:test_provision_interrupt_child:_&:' \ |
85 |
- tests/integration/test_provision_int.py || die |
86 |
- # broken with our mock version (?) |
87 |
- sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ |
88 |
- tests/unit/test_venv.py || die |
89 |
- # broken with Gentoo Python layout |
90 |
- sed -i -e 's:test_tox_get_python_executable:_&:' \ |
91 |
- -e 's:test_find_alias_on_path:_&:' \ |
92 |
- tests/unit/interpreters/test_interpreters.py || die |
93 |
- # ignore importlib_metadata version constraints |
94 |
- sed -i -e '/^[[:space:]]*importlib-metadata\b/d' setup.cfg || die |
95 |
- |
96 |
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
97 |
-} |
98 |
- |
99 |
-python_test() { |
100 |
- distutils_install_for_testing |
101 |
- pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" |
102 |
-} |