Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
Date: Wed, 06 Oct 2021 08:33:29
Message-Id: 1633509100.3431a557b857bfd5d3634ce2b709c7afd46a2b8f.jsmolic@gentoo
1 commit: 3431a557b857bfd5d3634ce2b709c7afd46a2b8f
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 6 08:15:43 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 6 08:31:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3431a557
7
8 sci-libs/ginkgo: Remove broken live ebuild
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 sci-libs/ginkgo/ginkgo-9999.ebuild | 59 --------------------------------------
13 1 file changed, 59 deletions(-)
14
15 diff --git a/sci-libs/ginkgo/ginkgo-9999.ebuild b/sci-libs/ginkgo/ginkgo-9999.ebuild
16 deleted file mode 100644
17 index 6d9b7f42768..00000000000
18 --- a/sci-libs/ginkgo/ginkgo-9999.ebuild
19 +++ /dev/null
20 @@ -1,59 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit cmake-utils
27 -
28 -DESCRIPTION="Numerical linear algebra software package"
29 -HOMEPAGE="https://ginkgo-project.github.io/"
30 -
31 -if [[ ${PV} = *9999* ]]; then
32 - EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo"
33 - SRC_URI=""
34 - inherit git-r3
35 -else
36 - SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 - KEYWORDS="~amd64 ~x86"
38 -fi
39 -
40 -LICENSE="BSD-with-attribution"
41 -SLOT="0"
42 -IUSE="+openmp cuda"
43 -
44 -RDEPEND="
45 - cuda? ( dev-util/nvidia-cuda-sdk )"
46 -DEPEND="${RDEPEND}"
47 -
48 -PATCHES=(
49 - "${FILESDIR}"/${PN}-1.1.1-set_soname.patch
50 -)
51 -
52 -pkg_setup() {
53 - if [[ ${MERGE_TYPE} != binary ]] && \
54 - use openmp && ! tc-has-openmp ; then
55 - die "Need an OpenMP capable compiler"
56 - fi
57 -}
58 -
59 -src_prepare() {
60 - sed -i \
61 - -e "s#\"lib\"#\"$(get_libdir)\"#g" \
62 - -e "s#\"lib/#\"$(get_libdir)/#g" \
63 - cmake/install_helpers.cmake || die "sed failed"
64 -
65 - cmake-utils_src_prepare
66 -}
67 -
68 -src_configure() {
69 -
70 - local mycmakeargs=(
71 - -DGINKGO_DEVEL_TOOLS=OFF
72 - -DGINKGO_BUILD_TESTS=OFF
73 - -DGINKGO_BUILD_BENCHMARKS=OFF
74 - -DGINKGO_BUILD_REFERENCE=ON
75 - -DGINKGO_BUILD_OMP="$(usex openmp)"
76 - -DGINKGO_BUILD_CUDA="$(usex cuda)"
77 - )
78 - cmake-utils_src_configure
79 -}