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-trio/
Date: Fri, 27 May 2022 19:48:25
Message-Id: 1653680815.3596ac8b269fcd47a42a3f7c858a8dae9df5e10d.mgorny@gentoo
1 commit: 3596ac8b269fcd47a42a3f7c858a8dae9df5e10d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 19:46:55 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 19:46:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3596ac8b
7
8 dev-python/pytest-trio: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-trio/pytest-trio-0.7.0.ebuild | 51 -------------------------
13 1 file changed, 51 deletions(-)
14
15 diff --git a/dev-python/pytest-trio/pytest-trio-0.7.0.ebuild b/dev-python/pytest-trio/pytest-trio-0.7.0.ebuild
16 deleted file mode 100644
17 index d5f1cdacce4a..000000000000
18 --- a/dev-python/pytest-trio/pytest-trio-0.7.0.ebuild
19 +++ /dev/null
20 @@ -1,51 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
27 -
28 -inherit distutils-r1
29 -
30 -DESCRIPTION="This is a pytest plugin to help you test projects that use Trio"
31 -HOMEPAGE="
32 - https://github.com/python-trio/pytest-trio
33 - https://pypi.org/project/pytest-trio/
34 -"
35 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
36 -
37 -LICENSE="|| ( MIT Apache-2.0 )"
38 -SLOT="0"
39 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
40 -
41 -RDEPEND="
42 - >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
43 - dev-python/outcome[${PYTHON_USEDEP}]
44 - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
45 - >=dev-python/trio-0.15[${PYTHON_USEDEP}]
46 -"
47 -BDEPEND="
48 - test? (
49 - >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
50 - )
51 -"
52 -
53 -distutils_enable_tests pytest
54 -distutils_enable_sphinx docs/source \
55 - dev-python/attrs \
56 - dev-python/sphinx_rtd_theme \
57 - dev-python/sphinxcontrib-trio
58 -
59 -python_prepare_all() {
60 - # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
61 - mv pytest_trio/_tests/conftest.py conftest.py || die
62 - distutils-r1_python_prepare_all
63 -}
64 -
65 -python_test() {
66 - # disable autoloading pytest-asyncio in nested pytest calls
67 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
68 - # since we disabled autoloading, force loading pytest-trio
69 - local -x PYTEST_PLUGINS=pytest_trio.plugin
70 - epytest
71 -}