diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-27 10:35:00 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-27 14:26:52 +0200 |
commit | 2ddf3651bc4415afa4c22c5d66367270bca10ff3 (patch) | |
tree | 3416131be256efb5116274491c716726b86d7e9d /sys-devel | |
parent | sys-devel/llvm-common: Modernize (diff) | |
download | gentoo-2ddf3651bc4415afa4c22c5d66367270bca10ff3.tar.gz gentoo-2ddf3651bc4415afa4c22c5d66367270bca10ff3.tar.bz2 gentoo-2ddf3651bc4415afa4c22c5d66367270bca10ff3.zip |
sys-devel/llvm: Modernize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/llvm/llvm-15.0.0.9999.ebuild | 26 |
1 files 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 |