1 |
commit: e8acdc7a337eee7937421d7f357b52f0371a4074 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 31 19:53:03 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 31 20:04:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8acdc7a |
7 |
|
8 |
dev-python/coverage: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/coverage/Manifest | 1 - |
13 |
dev-python/coverage/coverage-5.3.ebuild | 69 --------------------------------- |
14 |
2 files changed, 70 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest |
17 |
index 7c815701a2b..c34f8832694 100644 |
18 |
--- a/dev-python/coverage/Manifest |
19 |
+++ b/dev-python/coverage/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST coverage-4.5.4.tar.gz 385185 BLAKE2B 9d040bff13cebd1cb7147f15c3ec03bb08648cf801b5b2bb046a6b5bcadb3d3886be8bf0a624d225f25d10a5ca82fe5fb88f55e44e92a0a3285836b837972970 SHA512 ba534e04fe35cbadc4b16735f25c08f579a49a6677ec106680f222f2dfb3d0f1e011d0962f1c2108c375173ac4588bea1619ecda05ff9ba6fd888daddfd27b0e |
22 |
DIST coverage-5.3.1.tar.gz 684457 BLAKE2B 82c8e311d85a6f758c46767957199e94099838e3c340f5da1472813a2877293245583cb190acc0139cddf3363ee5f299fb42f955c59912b80d9d1ece8cfb09fa SHA512 981ebc9f9490efe613edd68afdef83cb161b303e6de266335ffd2d1d3634bd5a088cbff249b0243071b55cb4f31b4b0c7537b5764660ccc86a7059307badd571 |
23 |
-DIST coverage-5.3.tar.gz 693632 BLAKE2B 9daa3a0fd7f8c3ff7c9d68603e11a0a419d3ab50e3c3fb6be5b694aa1f7566040e1212b7175dfa4f71a0a309db325c00f94a85e0e9e755ae8c4f09c499d0daf4 SHA512 f40a21c394b1a72118965f702ae2b8e09c4e0b2fe92709aedf1de4c8074cd9c2cae0ed4860fbb863e4e5479f1067ff806d7051f7683d6b324de9945c0cacfc39 |
24 |
DIST coverage-5.4.tar.gz 687727 BLAKE2B 54c9e605eaed551aff0c6764bf2747e2ce64a7c0596cb78cb4ad6998c4b7d79fe31bfe98eb240aee4c838dde6a4536f8e84d00c14846bb671b51b28168a96947 SHA512 c682806bce603fff1ff09234c72e17370093192053961656f06ef4bcc7928f052ef4a350e80687c640d7608a22f4f3434e1836d83674eebca53459745838f519 |
25 |
|
26 |
diff --git a/dev-python/coverage/coverage-5.3.ebuild b/dev-python/coverage/coverage-5.3.ebuild |
27 |
deleted file mode 100644 |
28 |
index 12fb899359b..00000000000 |
29 |
--- a/dev-python/coverage/coverage-5.3.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,69 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
37 |
-PYTHON_REQ_USE="threads(+),sqlite(+)" |
38 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Code coverage measurement for Python" |
43 |
-HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-macos" |
49 |
-#IUSE="test" |
50 |
-# The tests are impossible to appease. Please run them externally |
51 |
-# via tox. Or fix the ebuild if you have hours of time to spend |
52 |
-# on something utterly useless. |
53 |
-RESTRICT="test" |
54 |
- |
55 |
-#BDEPEND=" |
56 |
-# test? ( |
57 |
-# dev-python/PyContracts[${PYTHON_USEDEP}] |
58 |
-# dev-python/flaky[${PYTHON_USEDEP}] |
59 |
-# dev-python/hypothesis[${PYTHON_USEDEP}] |
60 |
-# dev-python/mock[${PYTHON_USEDEP}] |
61 |
-# dev-python/pytest[${PYTHON_USEDEP}] |
62 |
-# >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] |
63 |
-# ) |
64 |
-#" |
65 |
- |
66 |
-src_prepare() { |
67 |
- # avoid the dep on xdist, run tests verbosely |
68 |
- sed -i -e '/^addopts/s:-n3:-v:' setup.cfg || die |
69 |
- distutils-r1_src_prepare |
70 |
-} |
71 |
- |
72 |
-python_compile() { |
73 |
- if [[ ${EPYTHON} == python2.7 ]]; then |
74 |
- local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
75 |
- export CFLAGS |
76 |
- fi |
77 |
- |
78 |
- distutils-r1_python_compile |
79 |
-} |
80 |
- |
81 |
-python_test() { |
82 |
- distutils_install_for_testing |
83 |
- local bindir=${TEST_DIR}/scripts |
84 |
- |
85 |
- pushd tests/eggsrc >/dev/null || die |
86 |
- distutils_install_for_testing |
87 |
- popd >/dev/null || die |
88 |
- |
89 |
- "${EPYTHON}" igor.py zip_mods || die |
90 |
- PATH="${bindir}:${PATH}" "${EPYTHON}" igor.py test_with_tracer py || die |
91 |
- |
92 |
- # No C extensions under pypy |
93 |
- if [[ ${EPYTHON} != pypy* ]]; then |
94 |
- cp -l -- "${TEST_DIR}"/lib/*/coverage/*.so coverage/ || die |
95 |
- PATH="${bindir}:${PATH}" "${EPYTHON}" igor.py test_with_tracer c || die |
96 |
- fi |
97 |
- |
98 |
- # clean up leftover "egg1" directory |
99 |
- rm -rf build/lib/egg1 || die |
100 |
-} |