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