1 |
commit: cf0c8ea02673fc4cb251ffca3a0788b4c655e3ed |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 17:58:15 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 18:06:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0c8ea0 |
7 |
|
8 |
dev-python/pytest-check: add 1.0.10 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-check/Manifest | 1 + |
13 |
dev-python/pytest-check/pytest-check-1.0.10.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest |
17 |
index 93d46d343b7c..5f58b6890806 100644 |
18 |
--- a/dev-python/pytest-check/Manifest |
19 |
+++ b/dev-python/pytest-check/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST pytest-check-1.0.10.tar.gz 15603 BLAKE2B e51dbb2806bdac73e202b14668c76675979113f661eb339a1a3cff07069d3d4709869d67ea2cb6384483ebde8b68288026df9b7492b17ea67c79ee95e6865809 SHA512 dc3a80b20637eab8adda085ca8172bc3bde75bd47566972a07cf226bb38771933a531d99e139d7c220cc149715fd7d98ab964f72e0b520e8dd3df7633a6e5a90 |
22 |
DIST pytest-check-1.0.9.tar.gz 15260 BLAKE2B 8bbf0299e76a0e5acbb6ab4e8ce2bcb386ad2e1e91e1596e317bed9800b03c0fcadf76abe76a0ab9d2d8d190dbd839e042579abb08ea898b8325c27898670088 SHA512 058bb17255f08b83e0fc9f6c91be99b2a17676eae903f70999598c1ee69cf0b89cbe3767bbc3fabbacb2a5db35d26ed825599f401f693f4dc6195c02fac5c923 |
23 |
|
24 |
diff --git a/dev-python/pytest-check/pytest-check-1.0.10.ebuild b/dev-python/pytest-check/pytest-check-1.0.10.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..31947e866cc2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-check/pytest-check-1.0.10.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=flit |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="pytest plugin that allows multiple failures per test" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/okken/pytest-check/ |
43 |
+ https://pypi.org/project/pytest_check/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_tests pytest |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ # Fix expecting result in case pytest throws deprecation warnings |
59 |
+ sed -e '/fnmatch_lines/s/\* /\*/g' \ |
60 |
+ -e '/fnmatch_lines/s/ \*/\*/g' \ |
61 |
+ -i tests/test_check.py || die |
62 |
+ |
63 |
+ distutils-r1_src_prepare |
64 |
+} |