Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-check/
Date: Thu, 31 Mar 2022 16:03:21
Message-Id: 1648741310.5de457927d685623de17c7c29fb876a41dd44f26.mgorny@gentoo
1 commit: 5de457927d685623de17c7c29fb876a41dd44f26
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 15:41:50 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 15:41:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de45792
7
8 dev-python/pytest-check: Bump to 1.0.5
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-check/Manifest | 1 +
13 dev-python/pytest-check/pytest-check-1.0.5.ebuild | 38 +++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest
17 index 7cb85a73456f..00b72c7e7fed 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.4.gh.tar.gz 7738 BLAKE2B 179575dfd4f9e50715fd5a664039fe882b0e14c9369afb6f7aca65e9ab276147b2a0b7fe580d2a249721152d891c12cedfa06ae7e26027c6b7d3b34da17d4a53 SHA512 ca71295fc5a831df295c8ce40c6a57cde9a1b98ca25354a3954fc44c9094096ea0c9c6a49139659d4c9aa4e3d3d81d80893edb657bfd3f4d988c75864e843447
22 +DIST pytest-check-1.0.5.gh.tar.gz 10296 BLAKE2B 8eac4185e223736181e9465c8d4220874553d9e12d068069b40e7a1ea150c93d533facc8b3483649eb00da9a2286544c58e2c530138f830155466e3bb71aeedc SHA512 73c42c98639bf3026e62f5c2c9ce404ddbd4711afa1ff31d207886329a45cfc1c0f263dd3321a9b203b9b68cad87f76bbff61894ed7a67d0bd26e7d0d20ede21
23
24 diff --git a/dev-python/pytest-check/pytest-check-1.0.5.ebuild b/dev-python/pytest-check/pytest-check-1.0.5.ebuild
25 new file mode 100644
26 index 000000000000..e1cd60cccca9
27 --- /dev/null
28 +++ b/dev-python/pytest-check/pytest-check-1.0.5.ebuild
29 @@ -0,0 +1,38 @@
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..10} )
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="
46 + https://github.com/okken/pytest-check/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
53 +
54 +RDEPEND="
55 + >=dev-python/pytest-6[${PYTHON_USEDEP}]
56 +"
57 +
58 +distutils_enable_tests pytest
59 +
60 +src_prepare() {
61 + # Fix expecting result in case pytest throws deprecation warnings
62 + sed -e '/fnmatch_lines/s/\* /\*/g' \
63 + -e '/fnmatch_lines/s/ \*/\*/g' \
64 + -i tests/test_check.py || die
65 +
66 + distutils-r1_src_prepare
67 +}