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