1 |
commit: ec0186b8f4e70402be225f5f0ce9f5179dee4110 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 4 08:19:38 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 09:03:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec0186b8 |
7 |
|
8 |
sci-libs/sundials: Remove old 3.2.1 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
sci-libs/sundials/Manifest | 1 - |
13 |
sci-libs/sundials/sundials-3.2.1.ebuild | 77 --------------------------------- |
14 |
2 files changed, 78 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest |
17 |
index f28af30da2f..6bbc8edccc4 100644 |
18 |
--- a/sci-libs/sundials/Manifest |
19 |
+++ b/sci-libs/sundials/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST sundials-3.2.1.tar.gz 14958699 BLAKE2B ecc4b454ec589e9177acc9375e1db370ad6281f8d29580d9558ad3146dbbaab52794013e9cb56ad83f7309dbd3084a1ccaf6972c6b1468cefcc86bf30d3a460c SHA512 1f3e4b12f368e4f50c38b970c012f1702e339319ee0a858661bdf83e5739bb5b8a36f98b82e2ef76d1ce8a473123046347ee1b44f3cb685509823864f0af1384 |
22 |
DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f |
23 |
DIST sundials-5.7.0.tar.gz 22612286 BLAKE2B a21db0d07b8f2056ba244ca52f13bde51a2f745535c7381a4eecf9d8037df3d50f010c8fecd8e37d71150f101c8177b2e3f0ffbed8139702993e01b8ad52e707 SHA512 5e2b6145fdaa72e7d13f43e75e5bc08b9d7eb5b9e048207d5772ddab767e198af5be24b73a942a564a49d56ca0b47fe6493bd2de34a8a93948ccd1c13e5dd170 |
24 |
|
25 |
diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index d58d6a9829f..00000000000 |
28 |
--- a/sci-libs/sundials/sundials-3.2.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,77 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-CMAKE_MAKEFILE_GENERATOR="emake" |
37 |
-FORTRAN_NEEDED=fortran |
38 |
-FORTRAN_STANDARD=90 |
39 |
- |
40 |
-inherit cmake-utils toolchain-funcs fortran-2 |
41 |
- |
42 |
-DESCRIPTION="Suite of nonlinear solvers" |
43 |
-HOMEPAGE="https://computation.llnl.gov/projects/sundials" |
44 |
-SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0/$(ver_cut 1)" |
48 |
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" |
49 |
-IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads" |
50 |
-REQUIRED_USE="hypre? ( mpi )" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- lapack? ( virtual/lapack ) |
54 |
- mpi? ( virtual/mpi sci-libs/hypre:= ) |
55 |
- sparse? ( sci-libs/klu:= ) |
56 |
- superlumt? ( sci-libs/superlu_mt:= ) |
57 |
-" |
58 |
-DEPEND="${RDEPEND} |
59 |
- virtual/pkgconfig" |
60 |
- |
61 |
-PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch ) |
62 |
- |
63 |
-pkg_setup() { |
64 |
- if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then |
65 |
- ewarn "OpenMP is not available in your current selected gcc" |
66 |
- die "need openmp capable gcc" |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_configure() { |
71 |
- mycmakeargs+=( |
72 |
- -DBUILD_SHARED_LIBS=ON |
73 |
- -DBUILD_STATIC_LIBS="$(usex static-libs)" |
74 |
- -DCXX_ENABLE="$(usex cxx)" |
75 |
- -DFCMIX_ENABLE="$(usex fortran)" |
76 |
- -DF90_ENABLE="$(usex fortran)" |
77 |
- -DHYPRE_ENABLE="$(usex hypre)" |
78 |
- -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" |
79 |
- -DKLU_ENABLE="$(usex sparse)" |
80 |
- -DLAPACK_ENABLE="$(usex lapack)" |
81 |
- -DMPI_ENABLE="$(usex mpi)" |
82 |
- -DOPENMP_ENABLE="$(usex openmp)" |
83 |
- -DPTHREAD_ENABLE="$(usex threads)" |
84 |
- -DSUPERLUMT_ENABLE="$(usex superlumt)" |
85 |
- -DEXAMPLES_ENABLE="$(usex examples)" |
86 |
- -DEXAMPLES_INSTALL=ON |
87 |
- -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" |
88 |
- -DUSE_GENERIC_MATH=ON |
89 |
- ) |
90 |
- use sparse && mycmakeargs+=( |
91 |
- -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" |
92 |
- ) |
93 |
- use superlumt && mycmakeargs+=( |
94 |
- -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" |
95 |
- -DSUPERLUMT_LIBRARY="superlu_mt" |
96 |
- ) |
97 |
- cmake-utils_src_configure |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- cmake-utils_src_install |
102 |
- use doc && dodoc doc/*/*.pdf |
103 |
- cd src |
104 |
- for r in */README; do |
105 |
- newdoc ${r} README-${r%/*} |
106 |
- done |
107 |
-} |