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: Sun, 27 Feb 2022 18:46:49
Message-Id: 1645987570.6cd3714880e4cd6d40b108703b86021daacea5fd.mgorny@gentoo
1 commit: 6cd3714880e4cd6d40b108703b86021daacea5fd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 27 18:46:10 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 18:46:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd37148
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/pytest-cov-3.0.0.ebuild | 55 ---------------------------
13 1 file changed, 55 deletions(-)
14
15 diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
16 deleted file mode 100644
17 index 9c14153ab26d..000000000000
18 --- a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
19 +++ /dev/null
20 @@ -1,55 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
27 -inherit distutils-r1
28 -
29 -DESCRIPTION="py.test plugin for coverage reporting"
30 -HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.org/project/pytest-cov/"
31 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
32 -
33 -LICENSE="MIT"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
36 -
37 -RDEPEND="
38 - >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
39 - >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
40 - >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
41 - dev-python/toml[${PYTHON_USEDEP}]
42 -"
43 -# TODO: figure out how to make tests work without pytest-cov installed
44 -# first
45 -BDEPEND="
46 - test? (
47 - ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
48 - dev-python/virtualenv[${PYTHON_USEDEP}]
49 - dev-python/fields[${PYTHON_USEDEP}]
50 - >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
51 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
52 - )
53 -"
54 -
55 -distutils_enable_sphinx docs \
56 - dev-python/sphinx-py3doc-enhanced-theme
57 -distutils_enable_tests pytest
58 -
59 -PATCHES=(
60 - # https://github.com/pytest-dev/pytest-cov/pull/518
61 - "${FILESDIR}"/${P}-coverage-6.2.patch
62 -)
63 -
64 -python_test() {
65 - # NB: disabling all plugins speeds tests up a lot
66 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
67 - local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
68 -
69 - local EPYTEST_DESELECT=(
70 - # attempts to install packages via pip (network)
71 - tests/test_pytest_cov.py::test_dist_missing_data
72 - )
73 -
74 - epytest
75 -}