mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/python-dbusmock: Use pytest
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -28,13 +28,14 @@ RDEPEND="
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# linter tests, fragile to newer linter versions
|
||||
tests/test_code.py
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# needed for unittest discovery
|
||||
> tests/__init__.py || die
|
||||
# linter tests, fragile to newer linter versions
|
||||
rm tests/test_code.py || die
|
||||
# dev-python/dbus-python uses autotools, so no .dist-info there
|
||||
sed -i '/dbus-python/d' pyproject.toml setup.cfg || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user