1 |
commit: 045941caa86542601806777c93e82bfa8b36ca10 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 04:39:19 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 04:53:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045941ca |
7 |
|
8 |
dev-python/tox: Bump to 3.19.0 |
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.19.0.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 71 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest |
17 |
index 69139aa4ca8..9bc7e7cfbc7 100644 |
18 |
--- a/dev-python/tox/Manifest |
19 |
+++ b/dev-python/tox/Manifest |
20 |
@@ -5,3 +5,4 @@ DIST tox-3.17.0.tar.gz 294481 BLAKE2B a4fe4c94616d003f348b2c4a58276a93887f479a37 |
21 |
DIST tox-3.17.1.tar.gz 294492 BLAKE2B 1a2ed9a26ad366a1ae7343289b45a338a8d2a58c1b6df2aaf716a2e8bbcc1cbc797c70fb51665411cf1bb69243aa8415f7fb7c82d78afb2ffb7117e4ae75edad SHA512 b084d4552609c90d006573dc95d46d0b27cf53c40a54465040e3c625b5d33eb19f95f3fa488439f11029e30ca414ce4e9ed6793a44072023826bc1f4398aaeeb |
22 |
DIST tox-3.18.0.tar.gz 294769 BLAKE2B 0b5f13fb172bb4b91fdf6442cfa975319b0e1e5e8c873951bffe083d978d2fdfcd0d0832dc0d3b9ab6d61ad9f551d799db40803be4401a85e8063d2063b914ca SHA512 bb1fdb5b0e74d24f50b19b1508afd87cfb39b9f68780cd3da62ea75410b0fd30094bc8c3209ea7cb970b29e61a471ae093e0e919d77082c8700e44a7b344b1d0 |
23 |
DIST tox-3.18.1.tar.gz 295279 BLAKE2B 0dfa9cbf90943fb73df69283850fef98ed9a8c9f16242dd880540e3a89b626c94bd7d5c78708581dd983b68e464f9fb2e1404a2f88f21961ff7c049af1bcac28 SHA512 0c991050dbc86d6f5c600040f1701f7639e735397513df869bb66f9d258ae6ca6c82e989df488bd3f37b6c3c8e6dce42330b885e596a70f63b70e32caab5cd09 |
24 |
+DIST tox-3.19.0.tar.gz 296499 BLAKE2B cad41c7791108ecdf6efc7bca99623c66d1d8ffbb2b06688eb84e575f14958ba2b497e0035ccc331fc8e0ce667824cba2c8dd37488ac48b3c16902c7b546074b SHA512 7a542282dc2fdef7ab8aff04372aeeeaad54b83bd7f1022c1c60465604d67a5984abcea7d409b8593b646192407c78cb88422aa4dfd11fb2a2d9da520aeafb39 |
25 |
|
26 |
diff --git a/dev-python/tox/tox-3.19.0.ebuild b/dev-python/tox/tox-3.19.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..499658c518d |
29 |
--- /dev/null |
30 |
+++ b/dev-python/tox/tox-3.19.0.ebuild |
31 |
@@ -0,0 +1,70 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python3_{6..9} 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 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
49 |
+# doc disabled because of missing deps in tree |
50 |
+IUSE="test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/filelock[${PYTHON_USEDEP}] |
55 |
+ $(python_gen_cond_dep ' |
56 |
+ >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] |
57 |
+ ' python3_{5,6,7} pypy3) |
58 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
60 |
+ dev-python/pip[${PYTHON_USEDEP}] |
61 |
+ dev-python/py[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/six-1.14[${PYTHON_USEDEP}] |
63 |
+ dev-python/toml[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" |
65 |
+# TODO: figure out how to make tests work without the package being |
66 |
+# installed first. |
67 |
+BDEPEND=" |
68 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
69 |
+ test? ( |
70 |
+ ${RDEPEND} |
71 |
+ >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] |
73 |
+ dev-python/pathlib2[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] |
75 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
76 |
+ =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] |
77 |
+ )" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ distutils-r1_src_prepare |
81 |
+ |
82 |
+ # broken without internet |
83 |
+ sed -i -e 's:test_provision_non_canonical_dep:_&:' \ |
84 |
+ tests/unit/session/test_provision.py || die |
85 |
+ sed -i -e 's:test_provision_interrupt_child:_&:' \ |
86 |
+ tests/integration/test_provision_int.py || die |
87 |
+ # broken with our mock version (?) |
88 |
+ sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ |
89 |
+ tests/unit/test_venv.py || die |
90 |
+ # broken with Gentoo Python layout |
91 |
+ sed -i -e 's:test_tox_get_python_executable:_&:' \ |
92 |
+ -e 's:test_find_alias_on_path:_&:' \ |
93 |
+ tests/unit/interpreters/test_interpreters.py || die |
94 |
+ |
95 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
96 |
+} |
97 |
+ |
98 |
+python_test() { |
99 |
+ distutils_install_for_testing |
100 |
+ pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" |
101 |
+} |