1 |
commit: dc89a4853aa0d96e8cf76ebfbb2a49bf39f46440 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 28 06:38:35 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 28 06:38:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc89a485 |
7 |
|
8 |
dev-python/tox: Bump to 3.14.3 |
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.14.3.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest |
17 |
index 7761ac803ab..9a35e4aaf72 100644 |
18 |
--- a/dev-python/tox/Manifest |
19 |
+++ b/dev-python/tox/Manifest |
20 |
@@ -2,4 +2,5 @@ DIST tox-2.9.1.tar.gz 1855982 BLAKE2B 3e2f5fd3d3e45e54f96b0a6fc8f9e98bfba3b48540 |
21 |
DIST tox-3.12.1.tar.gz 283964 BLAKE2B b7cb2394a721f281552d1f614a6059f7025390a4ea03fd970c85330dffb97f601f0c3f8c9c9b05f86b5b92e87ef80fba48676201550581562b8cf3f1b2afa34b SHA512 d7ed7ce17b03b5c8e3ba95e14f547c8dbb9a04ac38b98fb24c09261b5087ffc83b05e9a03607fa53ce61340a3ba69fc4121622f7fe338ce8ed402d25d59c7e6a |
22 |
DIST tox-3.13.2.tar.gz 286403 BLAKE2B 579692b4902e9cff0ede954fcf2d1a7f1771c0e3ad4b6cd362f93b1e745b238c739ab857b2394700d736eb6a0d91c1f2b385de1926908c0c4aa5a9d183a6b29a SHA512 b2447d4300a7469eb53f094427a7bb92ac973b5fdcfdf9b98736225b3a315953e06e92a4accb2f84f8649fe79a9146fb804afdf9adebf9231afb0bd143e646cc |
23 |
DIST tox-3.14.2.tar.gz 288615 BLAKE2B d74de145c8e839938c332f1e5a4819126d2ab1212679cc5c50390a9c7b0edb8a7059c55d9c6c8d3697f36cace7c0d3361725f5020d3f9d7efcddf8faae8c9be5 SHA512 c573d4b6a8e6538eb17031f7432d6f52f75514309c5daad53286aeff00db51146a5de089bdc1efd76f8126c374efa02c0ea7a8ca4224c0ec0f9ee945edd62c97 |
24 |
+DIST tox-3.14.3.tar.gz 288938 BLAKE2B 1a7d6cb8446b83648b67814fb3413da1a9da93e76a508c1fff134c7738feb2a1a5e130201cd7c9f1229c2c05349139bd54aeae1183fdea9c1735ccbde82bcd5a SHA512 5ac912c4f1db7fe23dd6dad68bd15127d3db97498ca58f7b8573f1857634bdf41eb7fdb4cf8d22afa14547363b91a7b52fdd5ad80af5d60ef4dd95c1d103f8fb |
25 |
DIST tox-3.2.1.tar.gz 268827 BLAKE2B 764835d04fb0c17f32eb8e2041b83f90d6a729b781a5b5b95e9ecb1162f1c29ed595d4a6369524b390a31853b8003485b27a3a12d63e84f49e92675f1a9bee13 SHA512 79f5a1c8f6e818fbb8444754e3767d880fc1fdfe63b46c518d37440fe2b2f3ce572865aff83d9492c24486fded49893cc31bd9b11254bac4db507260304bc76f |
26 |
|
27 |
diff --git a/dev-python/tox/tox-3.14.3.ebuild b/dev-python/tox/tox-3.14.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8e6bee7f637 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/tox/tox-3.14.3.ebuild |
32 |
@@ -0,0 +1,73 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{5,6,7} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="virtualenv-based automation of test activities" |
43 |
+HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" |
44 |
+SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~sparc ~x86" |
49 |
+ |
50 |
+# doc disabled because of missing deps in tree |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/filelock[${PYTHON_USEDEP}] |
56 |
+ $(python_gen_cond_dep ' |
57 |
+ >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] |
58 |
+ ' python3_{5,6,7} pypy3) |
59 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
60 |
+ <dev-python/pluggy-1.0[${PYTHON_USEDEP}] |
61 |
+ dev-python/pip[${PYTHON_USEDEP}] |
62 |
+ dev-python/py[${PYTHON_USEDEP}] |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ dev-python/six[${PYTHON_USEDEP}] |
65 |
+ dev-python/toml[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" |
67 |
+# TODO: figure out how to make tests work without the package being |
68 |
+# installed first. |
69 |
+BDEPEND=" |
70 |
+ test? ( |
71 |
+ ${RDEPEND} |
72 |
+ >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] |
73 |
+ <dev-python/flaky-4 |
74 |
+ >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] |
75 |
+ dev-python/pathlib2[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] |
77 |
+ <dev-python/pytest-mock-2.0[${PYTHON_USEDEP}] |
78 |
+ =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] |
79 |
+ )" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}/${PN}-3.9.0-strip-setuptools_scm.patch" |
83 |
+) |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ distutils-r1_src_prepare |
87 |
+ |
88 |
+ # broken without internet |
89 |
+ sed -i -e 's:test_provision_non_canonical_dep:_&:' \ |
90 |
+ tests/unit/session/test_provision.py || die |
91 |
+ sed -i -e 's:test_provision_interrupt_child:_&:' \ |
92 |
+ tests/integration/test_provision_int.py || die |
93 |
+ # broken with our mock version (?) |
94 |
+ sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ |
95 |
+ tests/unit/test_venv.py || die |
96 |
+ # broken with Gentoo Python layout |
97 |
+ sed -i -e 's:test_tox_get_python_executable:_&:' \ |
98 |
+ -e 's:test_find_alias_on_path:_&:' \ |
99 |
+ tests/unit/interpreters/test_interpreters.py || die |
100 |
+} |
101 |
+ |
102 |
+python_test() { |
103 |
+ distutils_install_for_testing |
104 |
+ pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" |
105 |
+} |