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-sugar/
Date: Sat, 14 May 2022 20:37:26
Message-Id: 1652560633.700860f5d4e017c8208502a4285baca8f694d60c.arthurzam@gentoo
1 commit: 700860f5d4e017c8208502a4285baca8f694d60c
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 14 17:54:00 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat May 14 20:37:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700860f5
7
8 dev-python/pytest-sugar: Use PEP517
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 .../pytest-sugar/pytest-sugar-0.9.4-r1.ebuild | 29 ++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-python/pytest-sugar/pytest-sugar-0.9.4-r1.ebuild b/dev-python/pytest-sugar/pytest-sugar-0.9.4-r1.ebuild
16 new file mode 100644
17 index 000000000000..0fed89e9b545
18 --- /dev/null
19 +++ b/dev-python/pytest-sugar/pytest-sugar-0.9.4-r1.ebuild
20 @@ -0,0 +1,29 @@
21 +# Copyright 2021-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} pypy3 )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="py.test plugin that changes the default look and feel of py.test"
31 +HOMEPAGE="https://github.com/Teemu/pytest-sugar https://pypi.org/project/pytest-sugar/"
32 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
33 +
34 +LICENSE="BSD"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +
38 +RDEPEND="
39 + dev-python/pytest[${PYTHON_USEDEP}]
40 + dev-python/termcolor[${PYTHON_USEDEP}]
41 +"
42 +BDEPEND="
43 + test? (
44 + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
45 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
46 + )
47 +"
48 +
49 +distutils_enable_tests pytest