dev-python/thriftrw: tool:pytest

Closes: https://bugs.gentoo.org/817203
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-09 18:42:07 +02:00
parent e384c93cec
commit 9aa9c45f63
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,7 +2,7 @@
create-wheel = yes
python-file-with-version = thriftrw/__init__.py
-[pytest]
+[tool:pytest]
addopts = --tb short --benchmark-autosave --benchmark-save-data
[egg_info]

View File

@@ -26,6 +26,9 @@ DEPEND="
)
"
PATCHES=( "${FILESDIR}/${P}-no-install-examples.patch" )
PATCHES=(
"${FILESDIR}/${P}-no-install-examples.patch"
"${FILESDIR}/${P}-tool-pytest.patch"
)
distutils_enable_tests pytest