Files
guru/dev-python/pytest-subtests/pytest-subtests-0.3.0.ebuild
T
Andrew Ammerlaan cc6a08c0bf dev-python/pytest-subtests: skip failing test
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-03-28 12:00:13 +01:00

31 lines
672 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="unittest subTest() support and subtests fixture"
HOMEPAGE="https://github.com/pytest-dev/pytest-subtests"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
python_prepare_all() {
# Failed: nomatch: '*1 passed*'
sed -i -e 's:test_capture_with_fixture:_&:' \
tests/test_subtests.py || die
distutils-r1_python_prepare_all
}