From 72c3ca1f0bf4aff0f9b4186e4e5f730ca86d1783 Mon Sep 17 00:00:00 2001 From: Thomas Bracht Laumann Jespersen Date: Mon, 2 May 2022 21:57:00 +0200 Subject: [PATCH] dev-util/pkgcheck: add dep on tree-sitter-bash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Closes: https://github.com/gentoo/gentoo/pull/25298 Signed-off-by: Michał Górny --- 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 ceb25cde418ea..853e0d51290c4 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