mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user