commit:     30fb8e78eaa414bf0b486e5c21d9028f1c3dd5b1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 08:35:05 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 12:26:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30fb8e78

dev-python/clang-python: Modernize

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/clang-python/clang-python-15.0.0.9999.ebuild | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

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
index fb6456619641..9e000ace36bf 100644
--- a/dev-python/clang-python/clang-python-15.0.0.9999.ebuild
+++ b/dev-python/clang-python/clang-python-15.0.0.9999.ebuild
@@ -13,17 +13,23 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
 KEYWORDS=""
 IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # The module is opening libclang.so directly, and doing some blasphemy
 # on top of it.
-RDEPEND="
+DEPEND="
        >=sys-devel/clang-${PV}:*
        !sys-devel/llvm:0[clang(-),python(-)]
        !sys-devel/clang:0[python(-)]
-       ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}"
+"
+RDEPEND="
+       ${DEPEND}
+       ${PYTHON_DEPS}
+"
+BDEPEND="
+       ${PYTHON_DEPS}
+"
 
 LLVM_COMPONENTS=( clang/bindings/python )
 llvm.org_set_globals

Reply via email to