dev-python/pytest-check: add 1.0.7

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-08-21 20:29:19 +03:00
parent ff73253ae1
commit faef802a6f
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pytest-check-1.0.5.gh.tar.gz 10296 BLAKE2B 8eac4185e223736181e9465c8d4220874553d9e12d068069b40e7a1ea150c93d533facc8b3483649eb00da9a2286544c58e2c530138f830155466e3bb71aeedc SHA512 73c42c98639bf3026e62f5c2c9ce404ddbd4711afa1ff31d207886329a45cfc1c0f263dd3321a9b203b9b68cad87f76bbff61894ed7a67d0bd26e7d0d20ede21
DIST pytest-check-1.0.7.tar.gz 12980 BLAKE2B ebcd8aed8ca20c67c9683a763da181981e0814bb10aaacd803f827610a3f33730655dfa684fc273b347a2542bc6c3f20e8253cc17d8a4bbe05c9938076784e4a SHA512 5cf5b25bc264475d475433f1418376c933335dbc7c765419cb00e6143a18d0ef560f027d472c21e2a339cee5111c487d7edd5b5cd149315e9d7cca956b928959

View File

@@ -0,0 +1,35 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="pytest plugin that allows multiple failures per test"
HOMEPAGE="
https://github.com/okken/pytest-check/
https://pypi.org/project/pytest_check/
"
SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
# Fix expecting result in case pytest throws deprecation warnings
sed -e '/fnmatch_lines/s/\* /\*/g' \
-e '/fnmatch_lines/s/ \*/\*/g' \
-i tests/test_check.py || die
distutils-r1_src_prepare
}