mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 00:23:13 -04:00
dev-python/text-unidecode: pytest verbose (-vv)
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -13,12 +13,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-python/pytest )"
|
||||
RDEPEND=""
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/pytest-runner/d' setup.py
|
||||
distutils-r1_python_prepare_all
|
||||
@@ -29,5 +28,5 @@ python_test() {
|
||||
cd "${TEST_DIR}" || die
|
||||
cp "${S}/test_unidecode.py" . || die
|
||||
cp "${S}/setup.cfg" . || die
|
||||
pytest || die "Tests fail with ${EPYTHON}"
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user