commit:     2402bd56e409fbb6b0c40ed7e2fe7354a8a602a6
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 10:54:55 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 10:54:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2402bd56

dev-vcs/pre-commit: require non-multicall coreutils for tests

Two of the parse_shebang_test.py tests do not like it it where echo
is a wrapper around the multicall binary. Given the behaviour
demonstrated by pre-commit upstream, I don't really them to address
this any time soon.

Closes: https://bugs.gentoo.org/885559
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild 
b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
index 193a7222eaaa..ca37f6d9c248 100644
--- a/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
+++ b/dev-vcs/pre-commit/pre-commit-2.20.0-r1.ebuild
@@ -26,11 +26,13 @@ RDEPEND="dev-vcs/git
                >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
                >=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
        ')"
+# coreutils requirement: see Bug #885559
 BDEPEND="test? (
        $(python_gen_cond_dep '
                dev-python/pytest-env[${PYTHON_USEDEP}]
                dev-python/re-assert[${PYTHON_USEDEP}]
        ')
+       sys-apps/coreutils[-multicall]
 )"
 
 PATCHES=(

Reply via email to