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: Wed, 15 Sep 2021 05:12:45
Message-Id: 1631682742.55752d04af0e514d9dd0416ea6e2bb6df1708ebf.arthurzam@gentoo
1 commit: 55752d04af0e514d9dd0416ea6e2bb6df1708ebf
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 15 05:08:38 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 05:12:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55752d04
7
8 dev-python/pytest-sugar: initial import
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pytest-sugar/Manifest | 1 +
13 dev-python/pytest-sugar/metadata.xml | 13 ++++++++++
14 dev-python/pytest-sugar/pytest-sugar-0.9.4.ebuild | 29 +++++++++++++++++++++++
15 3 files changed, 43 insertions(+)
16
17 diff --git a/dev-python/pytest-sugar/Manifest b/dev-python/pytest-sugar/Manifest
18 new file mode 100644
19 index 00000000000..69354e873cf
20 --- /dev/null
21 +++ b/dev-python/pytest-sugar/Manifest
22 @@ -0,0 +1 @@
23 +DIST pytest-sugar-0.9.4.tar.gz 12727 BLAKE2B 898692fc4083871d707fad44c7dd0c1298c28c190d705ef4525d4ba68d77bd37bb2634e43795ea553041317dc2f014d9be8ef52cfe40383ee75af36e5780cb98 SHA512 bbe375f0ae934d132457d698c9e09994a9a96a31860397f1b5e50b32139e5018f0137ddc0d3dd84bec29fc2b4c16592f59a38933c53fb8acec714c64689c4c76
24
25 diff --git a/dev-python/pytest-sugar/metadata.xml b/dev-python/pytest-sugar/metadata.xml
26 new file mode 100644
27 index 00000000000..03f2581dac2
28 --- /dev/null
29 +++ b/dev-python/pytest-sugar/metadata.xml
30 @@ -0,0 +1,13 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>arthurzam@g.o</email>
36 + <name>Arthur Zamarin</name>
37 + </maintainer>
38 + <stabilize-allarches/>
39 + <upstream>
40 + <remote-id type="github">Teemu/pytest-sugar</remote-id>
41 + <remote-id type="pypi">pytest-sugar</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/pytest-sugar/pytest-sugar-0.9.4.ebuild b/dev-python/pytest-sugar/pytest-sugar-0.9.4.ebuild
46 new file mode 100644
47 index 00000000000..8c9c3ebc520
48 --- /dev/null
49 +++ b/dev-python/pytest-sugar/pytest-sugar-0.9.4.ebuild
50 @@ -0,0 +1,29 @@
51 +# Copyright 2021 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=8
55 +
56 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
57 +
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="py.test plugin that changes the default look and feel of py.test"
61 +HOMEPAGE="https://github.com/Teemu/pytest-sugar https://pypi.org/project/pytest-sugar/"
62 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63 +
64 +LICENSE="BSD"
65 +SLOT="0"
66 +KEYWORDS="~amd64 ~x86"
67 +
68 +RDEPEND="
69 + dev-python/pytest[${PYTHON_USEDEP}]
70 + dev-python/termcolor[${PYTHON_USEDEP}]
71 +"
72 +BDEPEND="
73 + test? (
74 + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
75 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
76 + )
77 +"
78 +
79 +distutils_enable_tests pytest