1 |
commit: a708139c86b19d49b5a2171b513f6908fdfcec3c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 1 12:36:36 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 1 13:47:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a708139c |
7 |
|
8 |
dev-python/tox: Bump to 3.16.1 |
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.16.1.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest |
17 |
index 47c780f4afb..ed15ea1f47a 100644 |
18 |
--- a/dev-python/tox/Manifest |
19 |
+++ b/dev-python/tox/Manifest |
20 |
@@ -6,4 +6,5 @@ DIST tox-3.15.0.tar.gz 291890 BLAKE2B 9c42c587332eafcfd02d2d8a42588af6253baf9f62 |
21 |
DIST tox-3.15.1.tar.gz 292044 BLAKE2B eb3062fb1a2494a6b23e1c6f2c6af56be5879664ae26918e60839d2f8cff98dc6b684a27469eac81c363a3cd3e90abdafe0ab4dc601840023e5263a42301f384 SHA512 334e2129d5418d4733a25419b81cc57e794a11954c21774231e32c93e977f1a7fb71c739adabccb5cdde9428ab69772e8623a0c0a1172855957f7cbcd4a917b1 |
22 |
DIST tox-3.15.2.tar.gz 293523 BLAKE2B a1a1c84a987d2b2e5194321405775ee3828b8e2c8dcd38c7e780a9d508b789a42f1880cffcecd68c50dfdc37008a4e9a117660fa2c732864c82af6c2eaf5a99e SHA512 9448554452c79039289d2d2c05c974f451647329701372c3e4b154a0161fa768245c0068cd5e3f1221b4b51a07be806f7c66ab9d4ef83a3e8e5964e18b9cde85 |
23 |
DIST tox-3.16.0.tar.gz 294040 BLAKE2B 2f5ca2c1b0b839b4fe6834cba69d772b9605e6bb00b24d75867de768042cd091a8fd7f5a349867a5de578b96eaad9f59f2ad019203fc6b2c39c9efc6933d2d96 SHA512 f92accae643b01867749f10d01ba0e18ebb36071af55a21cd38ac8f14fa3db1b1e708b22f8601e4d1b172e59fb62588c1252d064be3fb6007002eeaaef716373 |
24 |
+DIST tox-3.16.1.tar.gz 294080 BLAKE2B 692ef3f498f78f239ecbb3f9ac5745462430a96bb67df7a732e5c5756d1b579c4ee8582d528d5eafddc7b19905057c01514cccaa42d7c1a442ac24cd531a656f SHA512 83fefc4b82fb33adbf2ece9a6fd6ffaf27771ac6076af5d2939dcbf68f1dd88b8edd0a105b0ec86dc7ee37b127d27ed46748af61423811c7435d0093d2e8e1eb |
25 |
DIST tox-3.2.1.tar.gz 268827 BLAKE2B 764835d04fb0c17f32eb8e2041b83f90d6a729b781a5b5b95e9ecb1162f1c29ed595d4a6369524b390a31853b8003485b27a3a12d63e84f49e92675f1a9bee13 SHA512 79f5a1c8f6e818fbb8444754e3767d880fc1fdfe63b46c518d37440fe2b2f3ce572865aff83d9492c24486fded49893cc31bd9b11254bac4db507260304bc76f |
26 |
|
27 |
diff --git a/dev-python/tox/tox-3.16.1.ebuild b/dev-python/tox/tox-3.16.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0365e6a7900 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/tox/tox-3.16.1.ebuild |
32 |
@@ -0,0 +1,71 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="virtualenv-based automation of test activities" |
44 |
+HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" |
45 |
+SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+ |
51 |
+# doc disabled because of missing deps in tree |
52 |
+IUSE="test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/filelock[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] |
59 |
+ ' python3_{5,6,7} pypy3) |
60 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
62 |
+ dev-python/pip[${PYTHON_USEDEP}] |
63 |
+ dev-python/py[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/six-1.14[${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 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
71 |
+ test? ( |
72 |
+ ${RDEPEND} |
73 |
+ >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] |
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[${PYTHON_USEDEP}] |
78 |
+ =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] |
79 |
+ )" |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ distutils-r1_src_prepare |
83 |
+ |
84 |
+ # broken without internet |
85 |
+ sed -i -e 's:test_provision_non_canonical_dep:_&:' \ |
86 |
+ tests/unit/session/test_provision.py || die |
87 |
+ sed -i -e 's:test_provision_interrupt_child:_&:' \ |
88 |
+ tests/integration/test_provision_int.py || die |
89 |
+ # broken with our mock version (?) |
90 |
+ sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ |
91 |
+ tests/unit/test_venv.py || die |
92 |
+ # broken with Gentoo Python layout |
93 |
+ sed -i -e 's:test_tox_get_python_executable:_&:' \ |
94 |
+ -e 's:test_find_alias_on_path:_&:' \ |
95 |
+ tests/unit/interpreters/test_interpreters.py || die |
96 |
+ |
97 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
98 |
+} |
99 |
+ |
100 |
+python_test() { |
101 |
+ distutils_install_for_testing |
102 |
+ pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" |
103 |
+} |