Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-html/
Date: Fri, 11 Jun 2021 10:57:17
Message-Id: 1623409022.e1fc160d7541f19b3a7cdcc56eafe169978594ca.marecki@gentoo
1 commit: e1fc160d7541f19b3a7cdcc56eafe169978594ca
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 11 10:48:50 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 10:57:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fc160d
7
8 dev-python/pytest-html: add 3.1.1
9
10 Invoking maintainer time-out.
11
12 Builds and installs fine against python3_10, have also successfully run
13 the test suite using tox.
14
15 Bug: https://bugs.gentoo.org/759931
16 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
17
18 dev-python/pytest-html/Manifest | 1 +
19 dev-python/pytest-html/pytest-html-3.1.1.ebuild | 29 +++++++++++++++++++++++++
20 2 files changed, 30 insertions(+)
21
22 diff --git a/dev-python/pytest-html/Manifest b/dev-python/pytest-html/Manifest
23 index 5a27b730b31..79ba8245db0 100644
24 --- a/dev-python/pytest-html/Manifest
25 +++ b/dev-python/pytest-html/Manifest
26 @@ -1 +1,2 @@
27 DIST pytest-html-1.22.1.tar.gz 28183 BLAKE2B bf6d2aecda8fd3117a7b58307f1246e2d6f31f8939812c402d541c13dc329d7e7a0ab1f72ea70583d39614599d70dd0f4ffcc00b0d481ae4bbfce968f016adb3 SHA512 8adf1b1a27ea9f635226acdcd9d429bf78dc57ef9a67cf6616868c60b921c0cef117a63f4ef4c258350900759b607baa71d2a6b73cc8f9f718b405a7fba0d5e4
28 +DIST pytest-html-3.1.1.tar.gz 38548 BLAKE2B d2491280ceb4524a10a46891448bb63fe997a4be82062e727fb1d79ef6154a0b4229bbec27c6601372776f7c8dd124aab5d4968482fc24ad24330db5d2520187 SHA512 78091b485d153b54cd76abb8cfeb6494830b1b51a10dc0c00c73eccf67962d2805e3f83972c7ccfd1f877a939b582f80d5ddd5273fd1ddcac2a1a9c2eb121300
29
30 diff --git a/dev-python/pytest-html/pytest-html-3.1.1.ebuild b/dev-python/pytest-html/pytest-html-3.1.1.ebuild
31 new file mode 100644
32 index 00000000000..052856b3ca2
33 --- /dev/null
34 +++ b/dev-python/pytest-html/pytest-html-3.1.1.ebuild
35 @@ -0,0 +1,29 @@
36 +# Copyright 1999-2021 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Plugin for generating HTML reports for py.test results"
45 +HOMEPAGE="https://github.com/pytest-dev/pytest-html/"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="MPL-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +# Lots of test failures...
53 +RESTRICT="test"
54 +
55 +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
56 + dev-python/pytest-metadata[${PYTHON_USEDEP}]"
57 +DEPEND="${RDEPEND}
58 + dev-python/setuptools[${PYTHON_USEDEP}]
59 + dev-python/setuptools_scm[${PYTHON_USEDEP}]"
60 +
61 +python_test() {
62 + PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
63 + py.test -v -r a testing/test_pytest_html.py || die
64 +}