commit:     72c3ca1f0bf4aff0f9b4186e4e5f730ca86d1783
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Mon May  2 19:57:00 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May  3 10:19:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c3ca1f

dev-util/pkgcheck: add dep on tree-sitter-bash

Current pkgcheck now supports disabling the bundled tree-sitter-bash, so
we can make the live ebuild depend on dev-libs/tree-sitter-bash now.

Closes: https://bugs.gentoo.org/834135
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Closes: https://github.com/gentoo/gentoo/pull/25298
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/pkgcheck/pkgcheck-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild 
b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index ceb25cde418e..853e0d51290c 100644
--- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,6 +31,8 @@ else
                >=sys-apps/pkgcore-0.12.8[${PYTHON_USEDEP}]"
 fi
 RDEPEND+="
+       dev-libs/tree-sitter
+       dev-libs/tree-sitter-bash
        dev-python/chardet[${PYTHON_USEDEP}]
        dev-python/lazy-object-proxy[${PYTHON_USEDEP}]
        dev-python/lxml[${PYTHON_USEDEP}]
@@ -47,6 +49,8 @@ BDEPEND="
 
 distutils_enable_tests setup.py
 
+export USE_SYSTEM_TREE_SITTER_BASH=1
+
 src_test() {
        local -x PYTHONDONTWRITEBYTECODE=
        distutils-r1_src_test

Reply via email to