Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/
Date: Mon, 14 Jun 2021 22:30:33
Message-Id: 1623709440.6c8cd26a0926b187772adaa274524c8ca27daf90.mgorny@gentoo
1 commit: 6c8cd26a0926b187772adaa274524c8ca27daf90
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 22:24:00 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 22:24:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8cd26a
7
8 dev-python/pytest-cov: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-cov/Manifest | 2 --
13 dev-python/pytest-cov/pytest-cov-2.11.1.ebuild | 47 ------------------------
14 dev-python/pytest-cov/pytest-cov-2.12.0.ebuild | 49 --------------------------
15 3 files changed, 98 deletions(-)
16
17 diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
18 index f68703be817..58ede28671c 100644
19 --- a/dev-python/pytest-cov/Manifest
20 +++ b/dev-python/pytest-cov/Manifest
21 @@ -1,3 +1 @@
22 -DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b SHA512 19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e
23 -DIST pytest-cov-2.12.0.tar.gz 59596 BLAKE2B 6eef2c062b687899009fdf7b4ef8825b3eeabc7be09fac897315cb99acb9176d11bf0d7f3704108caac1bddc32d158b88ddc69a5bd4815c1877cc238684abc3d SHA512 fc94abd8c38ff4015bad4f9f23ee4691f376d436c16f4951021afadfb94dd359a46924d3c7c43dc3193641943f88e0eab04429aa57d26a65bc95622e512639e1
24 DIST pytest-cov-2.12.1.tar.gz 60395 BLAKE2B 42e817c63c9d787de9bfaf804217a1e020d5a38e564df0ce2d43d6b4f0631aee43ccae329f44c6d7ac9a5662776463456d72138fd20c65cf8d0accfe118e1e2b SHA512 4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375
25
26 diff --git a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild b/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
27 deleted file mode 100644
28 index 81320aa23f8..00000000000
29 --- a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
30 +++ /dev/null
31 @@ -1,47 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="py.test plugin for coverage reporting"
42 -HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.org/project/pytest-cov/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
48 -IUSE="test"
49 -RESTRICT="!test? ( test )"
50 -
51 -RDEPEND="
52 - >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
53 - >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
54 - >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
55 -"
56 -# TODO: figure out how to make tests work without pytest-cov installed
57 -# first
58 -BDEPEND="
59 - test? (
60 - ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
61 - dev-python/virtualenv[${PYTHON_USEDEP}]
62 - dev-python/fields[${PYTHON_USEDEP}]
63 - >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
64 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
65 - )
66 -"
67 -
68 -distutils_enable_sphinx docs \
69 - dev-python/sphinx-py3doc-enhanced-theme
70 -
71 -python_test() {
72 - local deselect=(
73 - # attempts to install packages via pip (network)
74 - tests/test_pytest_cov.py::test_dist_missing_data
75 - )
76 -
77 - pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed under ${EPYTHON}"
78 -}
79
80 diff --git a/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild b/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild
81 deleted file mode 100644
82 index 8763efa3ffa..00000000000
83 --- a/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild
84 +++ /dev/null
85 @@ -1,49 +0,0 @@
86 -# Copyright 1999-2021 Gentoo Authors
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=7
90 -
91 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
92 -
93 -inherit distutils-r1
94 -
95 -DESCRIPTION="py.test plugin for coverage reporting"
96 -HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.org/project/pytest-cov/"
97 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
98 -
99 -LICENSE="MIT"
100 -SLOT="0"
101 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
102 -IUSE="test"
103 -RESTRICT="!test? ( test )"
104 -
105 -RDEPEND="
106 - >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
107 - >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
108 - >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
109 - dev-python/toml[${PYTHON_USEDEP}]
110 -"
111 -# TODO: figure out how to make tests work without pytest-cov installed
112 -# first
113 -BDEPEND="
114 - test? (
115 - ${RDEPEND}
116 - ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
117 - dev-python/virtualenv[${PYTHON_USEDEP}]
118 - dev-python/fields[${PYTHON_USEDEP}]
119 - >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
120 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
121 - )
122 -"
123 -
124 -distutils_enable_sphinx docs \
125 - dev-python/sphinx-py3doc-enhanced-theme
126 -
127 -python_test() {
128 - local deselect=(
129 - # attempts to install packages via pip (network)
130 - tests/test_pytest_cov.py::test_dist_missing_data
131 - )
132 -
133 - epytest ${deselect[@]/#/--deselect }
134 -}