summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2022-05-02 21:57:00 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-03 12:19:59 +0200
commit72c3ca1f0bf4aff0f9b4186e4e5f730ca86d1783 (patch)
tree554a0324de23577382b81b3bbd6e6ce1110ae989
parentnet-fs/samba: Removed old (diff)
downloadgentoo-72c3ca1f.tar.gz
gentoo-72c3ca1f.tar.bz2
gentoo-72c3ca1f.zip
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@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/25298 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-util/pkgcheck/pkgcheck-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
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