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