1 |
commit: 682e4cb4892cc43f9ff03e73416b0db9295b51db |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 4 19:35:11 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 19:35:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682e4cb4 |
7 |
|
8 |
sci-libs/sundials: drop 5.7.0 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
sci-libs/sundials/Manifest | 1 - |
13 |
sci-libs/sundials/sundials-5.7.0.ebuild | 77 --------------------------------- |
14 |
2 files changed, 78 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest |
17 |
index 17ed196b551..5588e189068 100644 |
18 |
--- a/sci-libs/sundials/Manifest |
19 |
+++ b/sci-libs/sundials/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f |
22 |
-DIST sundials-5.7.0.tar.gz 22612286 BLAKE2B a21db0d07b8f2056ba244ca52f13bde51a2f745535c7381a4eecf9d8037df3d50f010c8fecd8e37d71150f101c8177b2e3f0ffbed8139702993e01b8ad52e707 SHA512 5e2b6145fdaa72e7d13f43e75e5bc08b9d7eb5b9e048207d5772ddab767e198af5be24b73a942a564a49d56ca0b47fe6493bd2de34a8a93948ccd1c13e5dd170 |
23 |
DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2bc52be6f1ad290b91ab83a3414ae83bc64503126af8772daa000f58a89855d7ca35fe74fa21bd91180695582442c7 SHA512 d22e699aaddaeef026e91e18dd070d06278c75b6980b36c6fb2e50203ba6445420e4a8e0612a6317dcaa521aeffbdf62ab88737be235ef70cef3a8be02a13dbb |
24 |
|
25 |
diff --git a/sci-libs/sundials/sundials-5.7.0.ebuild b/sci-libs/sundials/sundials-5.7.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index dc933a9a83e..00000000000 |
28 |
--- a/sci-libs/sundials/sundials-5.7.0.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="77 90" |
39 |
-# if FFLAGS and FCFLAGS are set then should be equal |
40 |
- |
41 |
-inherit cmake fortran-2 toolchain-funcs flag-o-matic |
42 |
- |
43 |
-DESCRIPTION="Suite of nonlinear solvers" |
44 |
-HOMEPAGE="https://computation.llnl.gov/projects/sundials" |
45 |
-SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="BSD" |
48 |
-SLOT="0/$(ver_cut 1)" |
49 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
50 |
-IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads" |
51 |
-REQUIRED_USE="hypre? ( mpi )" |
52 |
- |
53 |
-BDEPEND="virtual/pkgconfig" |
54 |
-RDEPEND=" |
55 |
- lapack? ( virtual/lapack ) |
56 |
- mpi? ( virtual/mpi sci-libs/hypre:= ) |
57 |
- sparse? ( sci-libs/klu ) |
58 |
- superlumt? ( sci-libs/superlu_mt:= ) |
59 |
-" |
60 |
-DEPEND="${RDEPEND}" |
61 |
- |
62 |
-PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch ) |
63 |
- |
64 |
-pkg_setup() { |
65 |
- if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then |
66 |
- ewarn "OpenMP is not available in your current selected gcc" |
67 |
- die "need openmp capable gcc" |
68 |
- fi |
69 |
-} |
70 |
- |
71 |
-src_prepare() { |
72 |
- # bug #707240 |
73 |
- append-cflags -fcommon |
74 |
- |
75 |
- cmake_src_prepare |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- mycmakeargs+=( |
80 |
- -DBUILD_SHARED_LIBS=ON |
81 |
- -DBUILD_STATIC_LIBS="$(usex static-libs)" |
82 |
- -DCXX_ENABLE="$(usex cxx)" |
83 |
- -DFCMIX_ENABLE="$(usex fortran)" |
84 |
- -DF90_ENABLE="$(usex fortran)" |
85 |
- -DHYPRE_ENABLE="$(usex hypre)" |
86 |
- -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" |
87 |
- -DKLU_ENABLE="$(usex sparse)" |
88 |
- -DLAPACK_ENABLE="$(usex lapack)" |
89 |
- -DMPI_ENABLE="$(usex mpi)" |
90 |
- -DOPENMP_ENABLE="$(usex openmp)" |
91 |
- -DPTHREAD_ENABLE="$(usex threads)" |
92 |
- -DSUPERLUMT_ENABLE="$(usex superlumt)" |
93 |
- -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" |
94 |
- -DSUPERLUMT_LIBRARY="-lsuperlu_mt" |
95 |
- -DEXAMPLES_ENABLE="$(usex examples)" |
96 |
- -DEXAMPLES_INSTALL=ON |
97 |
- -DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples" |
98 |
- -DUSE_GENERIC_MATH=ON |
99 |
- ) |
100 |
- use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" ) |
101 |
- cmake_src_configure |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- cmake_src_install |
106 |
- use doc && dodoc doc/*/*.pdf |
107 |
-} |