Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-describe/
Date: Sat, 14 May 2022 17:46:20
Message-Id: 1652550044.0797b236b532ef07827f832eebaa4f0cf930bab2.arthurzam@gentoo
1 commit: 0797b236b532ef07827f832eebaa4f0cf930bab2
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 14 17:40:44 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat May 14 17:40:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0797b236
7
8 dev-python/pytest-describe: Use PEP517
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 .../pytest-describe-2.0.1-r1.ebuild | 27 ++++++++++++++++++++++
13 1 file changed, 27 insertions(+)
14
15 diff --git a/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild b/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..3f2b9ad44b36
18 --- /dev/null
19 +++ b/dev-python/pytest-describe/pytest-describe-2.0.1-r1.ebuild
20 @@ -0,0 +1,27 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Describe-style plugin for pytest"
31 +HOMEPAGE="https://github.com/pytest-dev/pytest-describe/
32 + https://pypi.org/project/pytest-describe/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
38 +
39 +RDEPEND=">=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]"
40 +
41 +distutils_enable_tests pytest
42 +
43 +python_test() {
44 + # We need to disable some plugins because tests don't like unexpected
45 + # output
46 + PYTEST_ADDOPTS="-p no:flaky -p no:capturelog" epytest
47 +}