1 |
commit: c47cbefab80820f7899f7432664bf215c1395812 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 09:01:47 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 09:15:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47cbefa |
7 |
|
8 |
dev-python/coverage: Bump to 6.3.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/coverage/Manifest | 1 + |
13 |
dev-python/coverage/coverage-6.3.2.ebuild | 54 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest |
17 |
index cdb48039c1e4..303f86376f8e 100644 |
18 |
--- a/dev-python/coverage/Manifest |
19 |
+++ b/dev-python/coverage/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST coverage-6.2.tar.gz 678664 BLAKE2B 98fe2e5d85db042d95a791838b121a4aeb0edc09f15e5454943d6d1ca3cafdbf0127e8683ddcb5c1f6372b18205bf92e24a803533f19d1bdd5e0477b669cf99f SHA512 e8ef5f2483b2e6d12f0f9801d63a0cd0b81395ea0c88b3cdaf6f6758e1fc1b381f803b0f58345c94007de175d0c2a24559dec93f51db8786f801a2a2d48d6b8f |
22 |
DIST coverage-6.3.1.tar.gz 707088 BLAKE2B 4253f2973fec34dd5737878c6977c4b7cd273d7786f5e34877b2061774a5177cf7905472e6c578f3292120dc9123e74387c2fe71723206efcf9a257563918a28 SHA512 aa91f7f45510ce8120081aef6367bc3f39f56480901b57f8e2c3f26c921b5d2c15c44c1ed628eefdd2f1d2360a2c62063004aeb19d287a50c4b33304f8eae5b7 |
23 |
+DIST coverage-6.3.2.tar.gz 709294 BLAKE2B 2da96731ee0065fb6139af7db073284a83efa135e7379d2a6d6e571cdf58c888cf72719fbddadb1bd8f62b0b155b8420a84377068c40e4c813533b3ad6b190a8 SHA512 d9ea3a93eefe2dbb723ed1eadb09dc1165c4f46e7186889ce3615411283baac1d80f04a3831208a164f99accea5d246d4613a7c2e909d2e63d3c714620432a16 |
24 |
DIST coverage-6.3.tar.gz 705131 BLAKE2B bd2905f2872cd6b691fc1db3852ad84a27613a8a4c28158b7469408e8c38af5f1b8f6362a91d31c7d0ca9a20dbac0b7d1d8646322cd298f0284c6a5c2ab31050 SHA512 d011d479f49fa5e0036ab68d64361c1060468c3b20e791b18277edaf647858138417d35edaf2688232670f446df33d7a28b71f92467c08ae9b8923ef14eb3e7e |
25 |
|
26 |
diff --git a/dev-python/coverage/coverage-6.3.2.ebuild b/dev-python/coverage/coverage-6.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a42aa0b5b7d8 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/coverage/coverage-6.3.2.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
39 |
+PYTHON_REQ_USE="threads(+),sqlite(+)" |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Code coverage measurement for Python" |
44 |
+HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
50 |
+#IUSE="test" |
51 |
+# The tests are impossible to appease. Please run them externally |
52 |
+# via tox. Or fix the ebuild if you have hours of time to spend |
53 |
+# on something utterly useless. |
54 |
+RESTRICT="test" |
55 |
+ |
56 |
+#BDEPEND=" |
57 |
+# test? ( |
58 |
+# dev-python/PyContracts[${PYTHON_USEDEP}] |
59 |
+# dev-python/flaky[${PYTHON_USEDEP}] |
60 |
+# dev-python/hypothesis[${PYTHON_USEDEP}] |
61 |
+# dev-python/mock[${PYTHON_USEDEP}] |
62 |
+# dev-python/pytest[${PYTHON_USEDEP}] |
63 |
+# >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] |
64 |
+# ) |
65 |
+#" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ # avoid the dep on xdist |
69 |
+ sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die |
70 |
+ distutils-r1_src_prepare |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ "${EPYTHON}" igor.py zip_mods || die |
75 |
+ "${EPYTHON}" igor.py test_with_tracer py || die |
76 |
+ |
77 |
+ # No C extensions under pypy |
78 |
+ if [[ ${EPYTHON} != pypy* ]]; then |
79 |
+ cp -l -- "${TEST_DIR}"/lib/*/coverage/*.so coverage/ || die |
80 |
+ "${EPYTHON}" igor.py test_with_tracer c || die |
81 |
+ fi |
82 |
+ |
83 |
+ # clean up leftover "egg1" directory |
84 |
+ rm -rf build/lib/egg1 || die |
85 |
+} |