commit:     d61aece697acd9dc7bfc8370cd0c0450b97d16fe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  2 06:19:43 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 07:19:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d61aece6

dev-ml/llvm-ocaml: Remove 4.0.1

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

 dev-ml/llvm-ocaml/Manifest                |   1 -
 dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild | 119 ------------------------------
 2 files changed, 120 deletions(-)

diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
index 6eb0347ddd5..668f5d8c8ca 100644
--- a/dev-ml/llvm-ocaml/Manifest
+++ b/dev-ml/llvm-ocaml/Manifest
@@ -1,4 +1,3 @@
-DIST llvm-4.0.1.src.tar.xz 21065652 BLAKE2B 
6327eed2d1feb108440f22d2581d1ff86c10a10c29793538d8d899c7e2dc83d3f7b147d3fd4bcce2bd2bf57c071b08c624aeafe40a3e7a3914506e7751727e6c
 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 DIST llvm-5.0.2.src.tar.xz 23451868 BLAKE2B 
b7082be2e4ad557b29b9f6869811f262adcf5c73d552faf91b339bede75cf5eab58afefa12fa779a38be71fe2b8f4ea297c3213ee4e8370cc01972c59249d91c
 SHA512 
3588be5ed969c3f7f6f16f56a12a6af2814d3d3c960d4a36ffebb0446cc75f19220bccee7fc605f9b01f5d5c188a905a046193cc12dec42dd5922048b5c27fe1
 DIST llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 
60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881
 SHA512 
cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
 DIST llvm-7.1.0.src.tar.xz 28313784 BLAKE2B 
b78d9a7fc5ef6e352e77d339e5c4eef5ccedf67c05e7abd949e72619aa8a5ed65e7e5e2008354be8e7916d75581719b99f34227838fcc86c5d0080913c2fb22c
 SHA512 
a7dbd5693d1f2dae6b6e52893a100f9349cbfcfb25c5fdcad46364acbff0dbd3573f8fbc026c68eb9fd56335198aa94b866cc3dd7ea0cbd2cbfb5f8fe3444a7a

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild
deleted file mode 100644
index 5eda59e817e..00000000000
--- a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# 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 python-any-r1
-
-MY_P=llvm-${PV/_/}
-DESCRIPTION="OCaml bindings for LLVM"
-HOMEPAGE="https://llvm.org/";
-SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P/_/}.src.tar.xz";
-
-# Keep in sync with sys-devel/llvm
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
-       NVPTX PowerPC RISCV Sparc SystemZ X86 XCore )
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
-
-LICENSE="UoI-NCSA"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="test ${ALL_LLVM_TARGETS[*]}"
-
-RDEPEND="
-       >=dev-lang/ocaml-4.00.0:0=
-       dev-ml/ocaml-ctypes:=
-       ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,}]
-       !sys-devel/llvm[ocaml(-)]"
-# configparser-3.2 breaks the build (3.3 or none at all are fine)
-DEPEND="${RDEPEND}
-       dev-lang/perl
-       dev-ml/findlib
-       test? ( dev-ml/ounit )
-       !!<dev-python/configparser-3.3.0.2
-       ${PYTHON_DEPS}"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-       || ( ${ALL_LLVM_TARGETS[*]} )"
-
-S=${WORKDIR}/${MY_P/_/}.src
-
-# least intrusive of all
-CMAKE_BUILD_TYPE=RelWithDebInfo
-
-pkg_setup() {
-       LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
-       python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       # Python is needed to run tests using lit
-       python_setup
-
-       cmake-utils_src_prepare
-}
-
-src_configure() {
-       local libdir=$(get_libdir)
-       local mycmakeargs=(
-               -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-
-               -DBUILD_SHARED_LIBS=ON
-               -DLLVM_OCAML_OUT_OF_TREE=ON
-               -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
-               -DLLVM_BUILD_TESTS=$(usex test)
-
-               # disable various irrelevant deps and settings
-               -DLLVM_ENABLE_FFI=OFF
-               -DLLVM_ENABLE_TERMINFO=OFF
-               -DHAVE_HISTEDIT_H=NO
-               -DWITH_POLLY=OFF
-               -DLLVM_ENABLE_ASSERTIONS=OFF
-               -DLLVM_ENABLE_EH=ON
-               -DLLVM_ENABLE_RTTI=ON
-
-               -DLLVM_HOST_TRIPLE="${CHOST}"
-
-               # disable go bindings
-               -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
-
-               # TODO: ocamldoc
-       )
-
-       cmake-utils_src_configure
-
-       local llvm_libdir=$(llvm-config --libdir)
-       # an ugly hack; TODO: figure out a way to pass -L to ocaml...
-       cd "${BUILD_DIR}/${libdir}" || die
-       ln -s "${llvm_libdir}"/*.so . || die
-
-       if use test; then
-               local llvm_bindir=$(llvm-config --bindir)
-               # Force using system-installed tools.
-               sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
-                       "${BUILD_DIR}"/test/lit.site.cfg || die
-       fi
-}
-
-src_compile() {
-       cmake-utils_src_compile ocaml_all
-}
-
-src_test() {
-       # respect TMPDIR!
-       local -x LIT_PRESERVES_TMP=1
-       cmake-utils_src_make check-llvm-bindings-ocaml
-}
-
-src_install() {
-       DESTDIR="${D}" \
-       cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
-
-       dodoc bindings/ocaml/README.txt
-}

Reply via email to