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-subtests/
Date: Sun, 26 Jun 2022 17:53:54
Message-Id: 1656265960.340dde0061b0763e571c906e1635432b52bac663.mgorny@gentoo
1 commit: 340dde0061b0763e571c906e1635432b52bac663
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 17:52:40 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 17:52:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340dde00
7
8 dev-python/pytest-subtests: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-subtests/Manifest | 1 -
13 .../pytest-subtests/pytest-subtests-0.7.0.ebuild | 49 ----------------------
14 2 files changed, 50 deletions(-)
15
16 diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest
17 index e22b7cd95ed7..dd79538a2599 100644
18 --- a/dev-python/pytest-subtests/Manifest
19 +++ b/dev-python/pytest-subtests/Manifest
20 @@ -1,2 +1 @@
21 -DIST pytest-subtests-0.7.0.gh.tar.gz 9714 BLAKE2B 027badb226c6889ed2fb809eb0b3944ef227a804ea58562fe9337f37526a07a41b11cdfd356d8e9a29f9affc9d0702dead59045db9781504c92186ee613ccb1a SHA512 96531a42c06a20cdf3f3665993d3e80d198a60d536246f4dc46df20b56e47f3f6fdce9478351a8922e370435f974e63d565550213fbbeed8487eedc131f46404
22 DIST pytest-subtests-0.8.0.gh.tar.gz 9767 BLAKE2B 707f6744f1cd7723d7bee11f5e535750fa179e7ad3912cd94d5200002e1dc0a206cbdb5c3bc8be587a1c81342ef9d6a8a397acd08388096a484feca6f9c84e0c SHA512 0164e02c81685108bb5c12f7e7ce92dc2fd5c844be454b2cb26e3cb942d51c453f06bb48e0300438a82b28c747dea35ea4f75eaf65ff8b66b338bcb0f0dd9ed1
23
24 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild
25 deleted file mode 100644
26 index 025563e96424..000000000000
27 --- a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild
28 +++ /dev/null
29 @@ -1,49 +0,0 @@
30 -# Copyright 2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -DISTUTILS_USE_PEP517=setuptools
36 -PYTHON_COMPAT=( python3_{8..11} pypy3 )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="unittest subTest() support and subtests fixture"
41 -HOMEPAGE="
42 - https://github.com/pytest-dev/pytest-subtests/
43 - https://pypi.org/project/pytest-subtests/"
44 -SRC_URI="
45 - https://github.com/pytest-dev/pytest-subtests/archive/refs/tags/${PV}.tar.gz
46 - -> ${P}.gh.tar.gz
47 -"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
52 -
53 -RDEPEND=">=dev-python/pytest-7[${PYTHON_USEDEP}]"
54 -# pytest-xdist is used to test compatibility
55 -BDEPEND="
56 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
57 - test? (
58 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
59 - )
60 -"
61 -
62 -distutils_enable_tests pytest
63 -
64 -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
65 -
66 -python_test() {
67 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
68 - local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests
69 - local EPYTEST_DESELECT=()
70 - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
71 - # broken by output changes
72 - # https://github.com/pytest-dev/pytest-subtests/issues/69
73 - "tests/test_subtests.py::TestSubTest::test_simple_terminal_normal[unittest]"
74 - "tests/test_subtests.py::TestSubTest::test_simple_terminal_verbose[unittest]"
75 - )
76 -
77 - epytest
78 -}