Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scalapack/
Date: Mon, 15 Oct 2018 22:10:54
Message-Id: 1539641420.6737e375d5517a12b7e4bac03445f5c5dfb21577.asturm@gentoo
1 commit: 6737e375d5517a12b7e4bac03445f5c5dfb21577
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 15 22:10:20 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 15 22:10:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6737e375
7
8 sci-libs/scalapack: Drop 2.0.2 (r0)
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sci-libs/scalapack/scalapack-2.0.2.ebuild | 67 -------------------------------
14 1 file changed, 67 deletions(-)
15
16 diff --git a/sci-libs/scalapack/scalapack-2.0.2.ebuild b/sci-libs/scalapack/scalapack-2.0.2.ebuild
17 deleted file mode 100644
18 index 6eca44f0363..00000000000
19 --- a/sci-libs/scalapack/scalapack-2.0.2.ebuild
20 +++ /dev/null
21 @@ -1,67 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -inherit cmake-utils eutils fortran-2
28 -
29 -DESCRIPTION="Subset of LAPACK routines redesigned for heterogenous (MPI) computing"
30 -HOMEPAGE="https://www.netlib.org/scalapack/"
31 -SRC_URI="${HOMEPAGE}/${P}.tgz"
32 -
33 -LICENSE="BSD"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
36 -IUSE="static-libs test"
37 -
38 -RDEPEND="
39 - virtual/lapack
40 - virtual/mpi"
41 -DEPEND="${RDEPEND}
42 - virtual/pkgconfig"
43 -
44 -src_prepare() {
45 - cmake-utils_src_prepare
46 -
47 - if use static-libs; then
48 - mkdir "${WORKDIR}/${PN}_static" || die
49 - fi
50 - # mpi does not have a pc file
51 - sed -i -e 's/mpi//' scalapack.pc.in || die
52 -}
53 -
54 -src_configure() {
55 - scalapack_configure() {
56 - local mycmakeargs=(
57 - -DUSE_OPTIMIZED_LAPACK_BLAS=ON
58 - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
59 - -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)"
60 - $(cmake-utils_use_build test TESTING)
61 - $@
62 - )
63 - cmake-utils_src_configure
64 - }
65 -
66 - scalapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF
67 - use static-libs && \
68 - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" scalapack_configure \
69 - -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON
70 -}
71 -
72 -src_compile() {
73 - cmake-utils_src_compile
74 - use static-libs && \
75 - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
76 -}
77 -
78 -src_install() {
79 - cmake-utils_src_install
80 - use static-libs && \
81 - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
82 -
83 - insinto /usr/include/blacs
84 - doins BLACS/SRC/*.h
85 -
86 - insinto /usr/include/scalapack
87 - doins PBLAS/SRC/*.h
88 -}