commit:     2ddf3651bc4415afa4c22c5d66367270bca10ff3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 08:35:00 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 12:26:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddf3651

sys-devel/llvm: Modernize

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

 sys-devel/llvm/llvm-15.0.0.9999.ebuild | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/sys-devel/llvm/llvm-15.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-15.0.0.9999.ebuild
index 98e506114f39..8d3abaa4540a 100644
--- a/sys-devel/llvm/llvm-15.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-15.0.0.9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 inherit cmake llvm.org multilib-minimal pax-utils python-any-r1 \
@@ -31,10 +31,14 @@ RDEPEND="
        ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )
        xar? ( app-arch/xar )
        xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
-       z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-       binutils-plugin? ( sys-libs/binutils-libs )"
+       z3? ( >=sci-mathematics/z3-4.7.1:0=[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+       ${RDEPEND}
+       binutils-plugin? ( sys-libs/binutils-libs )
+"
 BDEPEND="
+       ${PYTHON_DEPS}
        dev-lang/perl
        >=dev-util/cmake-3.16
        sys-devel/gnuconfig
@@ -47,13 +51,17 @@ BDEPEND="
                dev-python/sphinx[${PYTHON_USEDEP}]
        ') )
        libffi? ( virtual/pkgconfig )
-       ${PYTHON_DEPS}"
+"
 # There are no file collisions between these versions but having :0
 # installed means llvm-config there will take precedence.
-RDEPEND="${RDEPEND}
-       !sys-devel/llvm:0"
-PDEPEND="sys-devel/llvm-common
-       binutils-plugin? ( >=sys-devel/llvmgold-${SLOT} )"
+RDEPEND="
+       ${RDEPEND}
+       !sys-devel/llvm:0
+"
+PDEPEND="
+       sys-devel/llvm-common
+       binutils-plugin? ( >=sys-devel/llvmgold-${SLOT} )
+"
 
 LLVM_COMPONENTS=( llvm cmake third-party )
 LLVM_MANPAGES=build

Reply via email to