app-backup/duplicity: really skip lint tests

EPYTEST_IGNORE doesn't seem to work here.

Closes: https://bugs.gentoo.org/973012
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-04-20 23:16:12 +01:00
parent 4d9c9f9092
commit b2ee4e3a95
2 changed files with 14 additions and 16 deletions
+7 -8
View File
@@ -47,18 +47,10 @@ RDEPEND="
"
EPYTEST_DESELECT=(
# Linting tests (black, pylint, etc); not relevant for us
testing/test_code.py::CodeTest::test_black
testing/test_code.py::CodeTest::test_pep8
testing/test_code.py::CodeTest::test_pylint
# boto3
testing/unit/test_cli_main.py::CommandlineTest::test_intermixed_args
)
EPYTEST_IGNORE=(
testing/test_code.py
)
PATCHES=(
"${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
"${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
@@ -66,6 +58,13 @@ PATCHES=(
distutils_enable_tests pytest
python_prepare_all() {
# Linting tests (black, pylint, etc); not relevant for us
rm testing/test_code.py || die
distutils-r1_python_prepare_all
}
python_test() {
# The default portage tempdir is too long for AF_UNIX sockets
local -x TMPDIR DOCKER_GNUPGHOME
+7 -8
View File
@@ -47,18 +47,10 @@ RDEPEND="
"
EPYTEST_DESELECT=(
# Linting tests (black, pylint, etc); not relevant for us
testing/test_code.py::CodeTest::test_black
testing/test_code.py::CodeTest::test_pep8
testing/test_code.py::CodeTest::test_pylint
# boto3
testing/unit/test_cli_main.py::CommandlineTest::test_intermixed_args
)
EPYTEST_IGNORE=(
testing/test_code.py
)
PATCHES=(
"${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
"${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
@@ -66,6 +58,13 @@ PATCHES=(
distutils_enable_tests pytest
python_prepare_all() {
# Linting tests (black, pylint, etc); not relevant for us
rm testing/test_code.py || die
distutils-r1_python_prepare_all
}
python_test() {
# The default portage tempdir is too long for AF_UNIX sockets
local -x TMPDIR DOCKER_GNUPGHOME