# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 : ${CMAKE_MAKEFILE_GENERATOR:=ninja} # (needed due to CMAKE_BUILD_TYPE != Gentoo) CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils llvm multiprocessing python-single-r1 \ toolchain-funcs MY_P=${P/_/}.src LLVM_P=llvm-${PV/_/}.src DESCRIPTION="The LLVM debugger" HOMEPAGE="https://llvm.org/" SRC_URI="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${MY_P}.tar.xz test? ( https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/${LLVM_P}.tar.xz )" LICENSE="UoI-NCSA" SLOT="0" KEYWORDS="amd64 arm arm64 x86" IUSE="libedit ncurses +python test" RESTRICT="!test? ( test )" RDEPEND=" libedit? ( dev-libs/libedit:0= ) ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) python? ( $(python_gen_cond_dep ' dev-python/six[${PYTHON_MULTI_USEDEP}] ') ${PYTHON_DEPS} ) ~sys-devel/clang-${PV}[xml] ~sys-devel/llvm-${PV} !