commit:     ad8a9fd9172e830d511f0c4b9e1d8517f8dc8347
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Nov  2 20:40:50 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Nov  3 01:12:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad8a9fd9

dev-util/reuse: deselect failing tests

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-util/reuse/reuse-1.0.0.ebuild | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/dev-util/reuse/reuse-1.0.0.ebuild 
b/dev-util/reuse/reuse-1.0.0.ebuild
index 23d4b7a61..c6112b926 100644
--- a/dev-util/reuse/reuse-1.0.0.ebuild
+++ b/dev-util/reuse/reuse-1.0.0.ebuild
@@ -27,10 +27,25 @@ RDEPEND="
        dev-python/python-debian[${PYTHON_USEDEP}]
        dev-python/requests[${PYTHON_USEDEP}]
 "
-BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-vcs/git
+               dev-vcs/mercurial
+       )
+"
 
 DOCS=( AUTHORS.rst CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md )
 
+# not supported by recent git versions
+EPYTEST_DESELECT=(
+       tests/test_lint.py::test_lint_submodule
+       tests/test_lint.py::test_lint_submodule_included
+       tests/test_main.py::test_lint_submodule
+       tests/test_main.py::test_lint_submodule_included_fail
+       tests/test_project.py::test_all_files_submodule_is_ignored
+)
+
 distutils_enable_tests pytest
 
 # [Errno 2] No such file or directory: '../README.md'

Reply via email to