mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-python/thriftrw: tool:pytest
Closes: https://bugs.gentoo.org/817203 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
11
dev-python/thriftrw/files/thriftrw-1.8.1-tool-pytest.patch
Normal file
11
dev-python/thriftrw/files/thriftrw-1.8.1-tool-pytest.patch
Normal 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]
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user