Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgcheck/
Date: Tue, 03 May 2022 10:20:09
Message-Id: 1651573199.72c3ca1f0bf4aff0f9b4186e4e5f730ca86d1783.mgorny@gentoo
1 commit: 72c3ca1f0bf4aff0f9b4186e4e5f730ca86d1783
2 Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
3 AuthorDate: Mon May 2 19:57:00 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 10:19:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c3ca1f
7
8 dev-util/pkgcheck: add dep on tree-sitter-bash
9
10 Current pkgcheck now supports disabling the bundled tree-sitter-bash, so
11 we can make the live ebuild depend on dev-libs/tree-sitter-bash now.
12
13 Closes: https://bugs.gentoo.org/834135
14 Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
15 Closes: https://github.com/gentoo/gentoo/pull/25298
16 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
17
18 dev-util/pkgcheck/pkgcheck-9999.ebuild | 6 +++++-
19 1 file changed, 5 insertions(+), 1 deletion(-)
20
21 diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild
22 index ceb25cde418e..853e0d51290c 100644
23 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
24 +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2021 Gentoo Authors
27 +# Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=8
31 @@ -31,6 +31,8 @@ else
32 >=sys-apps/pkgcore-0.12.8[${PYTHON_USEDEP}]"
33 fi
34 RDEPEND+="
35 + dev-libs/tree-sitter
36 + dev-libs/tree-sitter-bash
37 dev-python/chardet[${PYTHON_USEDEP}]
38 dev-python/lazy-object-proxy[${PYTHON_USEDEP}]
39 dev-python/lxml[${PYTHON_USEDEP}]
40 @@ -47,6 +49,8 @@ BDEPEND="
41
42 distutils_enable_tests setup.py
43
44 +export USE_SYSTEM_TREE_SITTER_BASH=1
45 +
46 src_test() {
47 local -x PYTHONDONTWRITEBYTECODE=
48 distutils-r1_src_test