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-python/clang-python/
Date: Wed, 27 Apr 2022 12:27:18
Message-Id: 1651062416.30fb8e78eaa414bf0b486e5c21d9028f1c3dd5b1.mgorny@gentoo
1 commit: 30fb8e78eaa414bf0b486e5c21d9028f1c3dd5b1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 08:35:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 12:26:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30fb8e78
7
8 dev-python/clang-python: Modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/clang-python/clang-python-15.0.0.9999.ebuild | 14 ++++++++++----
13 1 file changed, 10 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-python/clang-python/clang-python-15.0.0.9999.ebuild b/dev-python/clang-python/clang-python-15.0.0.9999.ebuild
16 index fb6456619641..9e000ace36bf 100644
17 --- a/dev-python/clang-python/clang-python-15.0.0.9999.ebuild
18 +++ b/dev-python/clang-python/clang-python-15.0.0.9999.ebuild
19 @@ -13,17 +13,23 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
20 SLOT="0"
21 KEYWORDS=""
22 IUSE="test"
23 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
24 RESTRICT="!test? ( test )"
25 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
26
27 # The module is opening libclang.so directly, and doing some blasphemy
28 # on top of it.
29 -RDEPEND="
30 +DEPEND="
31 >=sys-devel/clang-${PV}:*
32 !sys-devel/llvm:0[clang(-),python(-)]
33 !sys-devel/clang:0[python(-)]
34 - ${PYTHON_DEPS}"
35 -DEPEND="${RDEPEND}"
36 +"
37 +RDEPEND="
38 + ${DEPEND}
39 + ${PYTHON_DEPS}
40 +"
41 +BDEPEND="
42 + ${PYTHON_DEPS}
43 +"
44
45 LLVM_COMPONENTS=( clang/bindings/python )
46 llvm.org_set_globals