Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/matc/
Date: Sat, 30 Jan 2021 12:12:15
Message-Id: 1612008415.94800e0db0d66b5f75f269120efe541c32ced605.andrewammerlaan@gentoo
1 commit: 94800e0db0d66b5f75f269120efe541c32ced605
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sat Jan 30 12:06:55 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sat Jan 30 12:06:55 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=94800e0d
7
8 sci-libs/matc: remove pack, included in elmer-fem
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
11
12 sci-libs/matc/matc-6.0_p4651.ebuild | 43 -------------------------------------
13 sci-libs/matc/matc-8.0.ebuild | 40 ----------------------------------
14 sci-libs/matc/matc-9.0.ebuild | 21 ++++++++++++++++++
15 sci-libs/matc/matc-9999.ebuild | 30 ++++----------------------
16 4 files changed, 25 insertions(+), 109 deletions(-)
17
18 diff --git a/sci-libs/matc/matc-6.0_p4651.ebuild b/sci-libs/matc/matc-6.0_p4651.ebuild
19 deleted file mode 100644
20 index c0234a2ef..000000000
21 --- a/sci-libs/matc/matc-6.0_p4651.ebuild
22 +++ /dev/null
23 @@ -1,43 +0,0 @@
24 -# Copyright 1999-2015 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=5
28 -
29 -AUTOTOOLS_AUTORECONF=true
30 -
31 -inherit autotools-utils
32 -
33 -ELMER_ROOT="elmerfem"
34 -MY_PN=${PN/elmer-/}
35 -
36 -DESCRIPTION="Finite element programs, libraries, and visualization tools - math C library"
37 -HOMEPAGE="http://www.csc.fi/english/pages/elmer"
38 -SRC_URI="
39 - http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz
40 - doc? ( http://www.nic.funet.fi/pub/sci/physics/elmer/doc/MATCManual.pdf )"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE="doc debug static-libs"
46 -
47 -RDEPEND="
48 - sys-libs/ncurses:0=
49 - sys-libs/readline:0="
50 -DEPEND="${RDEPEND}"
51 -
52 -S="${WORKDIR}"/${PN}
53 -
54 -PATCHES=( "${FILESDIR}"/${P}-shared.patch )
55 -
56 -src_configure() {
57 - local myeconfargs=(
58 - $(use_with debug)
59 - )
60 - autotools-utils_src_configure
61 -}
62 -
63 -src_install() {
64 - use doc && DOCS=( "${DISTDIR}"/MATCManual.pdf )
65 - autotools-utils_src_install
66 -}
67
68 diff --git a/sci-libs/matc/matc-8.0.ebuild b/sci-libs/matc/matc-8.0.ebuild
69 deleted file mode 100644
70 index 8b7686f8d..000000000
71 --- a/sci-libs/matc/matc-8.0.ebuild
72 +++ /dev/null
73 @@ -1,40 +0,0 @@
74 -# Copyright 1999-2015 Gentoo Foundation
75 -# Distributed under the terms of the GNU General Public License v2
76 -
77 -EAPI=5
78 -
79 -AUTOTOOLS_AUTORECONF=true
80 -
81 -inherit autotools-utils
82 -
83 -DESCRIPTION="Finite element programs, libraries, and visualization tools - math C library"
84 -HOMEPAGE="http://www.csc.fi/english/pages/elmer"
85 -SRC_URI="
86 - https://github.com/ElmerCSC/elmerfem/archive/release-${PV}.tar.gz -> ${P}.tar.gz
87 - doc? ( http://www.nic.funet.fi/pub/sci/physics/elmer/doc/MATCManual.pdf )"
88 -
89 -LICENSE="GPL-2 LGPL-2.1"
90 -SLOT="0"
91 -KEYWORDS="~amd64 ~x86"
92 -IUSE="doc debug static-libs"
93 -
94 -RDEPEND="
95 - sys-libs/ncurses:0=
96 - sys-libs/readline:0="
97 -DEPEND="${RDEPEND}"
98 -
99 -S="${WORKDIR}/elmerfem-release-${PV}/${PN}"
100 -
101 -#PATCHES=( "${FILESDIR}"/${P}-shared.patch )
102 -
103 -src_configure() {
104 - local myeconfargs=(
105 - $(use_with debug)
106 - )
107 - autotools-utils_src_configure
108 -}
109 -
110 -src_install() {
111 - use doc && DOCS=( "${DISTDIR}"/MATCManual.pdf )
112 - autotools-utils_src_install
113 -}
114
115 diff --git a/sci-libs/matc/matc-9.0.ebuild b/sci-libs/matc/matc-9.0.ebuild
116 new file mode 100644
117 index 000000000..3c8ea0923
118 --- /dev/null
119 +++ b/sci-libs/matc/matc-9.0.ebuild
120 @@ -0,0 +1,21 @@
121 +# Copyright 1999-2015 Gentoo Foundation
122 +# Distributed under the terms of the GNU General Public License v2
123 +
124 +EAPI=7
125 +
126 +inherit cmake
127 +
128 +DESCRIPTION="Finite element programs, libraries, and visualization tools - math C library"
129 +HOMEPAGE="https://www.csc.fi/web/elmer"
130 +SRC_URI="https://github.com/ElmerCSC/elmerfem/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
131 +
132 +LICENSE="GPL-2 LGPL-2.1"
133 +SLOT="0"
134 +KEYWORDS="~amd64 ~x86"
135 +
136 +RDEPEND="
137 + sys-libs/ncurses:0=
138 + sys-libs/readline:0="
139 +DEPEND="${RDEPEND}"
140 +
141 +S="${WORKDIR}/elmerfem-release-${PV}/${PN}"
142
143 diff --git a/sci-libs/matc/matc-9999.ebuild b/sci-libs/matc/matc-9999.ebuild
144 index 7c520a9ff..c7862ce7a 100644
145 --- a/sci-libs/matc/matc-9999.ebuild
146 +++ b/sci-libs/matc/matc-9999.ebuild
147 @@ -1,24 +1,16 @@
148 # Copyright 1999-2015 Gentoo Foundation
149 # Distributed under the terms of the GNU General Public License v2
150
151 -EAPI=5
152 +EAPI=7
153
154 -AUTOTOOLS_AUTORECONF=true
155 -
156 -inherit autotools-utils git-r3
157 -
158 -ELMER_ROOT="elmerfem"
159 -MY_PN=${PN/elmer-/}
160 +inherit cmake git-r3
161
162 DESCRIPTION="Finite element programs, libraries, and visualization tools - math C library"
163 -HOMEPAGE="http://www.csc.fi/english/pages/elmer"
164 -SRC_URI="doc? ( http://www.nic.funet.fi/pub/sci/physics/elmer/doc/MATCManual.pdf )"
165 -EGIT_REPO_URI="https://github.com/ElmerCSC/elmerfem.git git://github.com/ElmerCSC/elmerfem.git"
166 +HOMEPAGE="https://www.csc.fi/web/elmer"
167 +EGIT_REPO_URI="https://github.com/ElmerCSC/elmerfem.git"
168
169 LICENSE="GPL-2 LGPL-2.1"
170 SLOT="0"
171 -KEYWORDS=""
172 -IUSE="doc debug static-libs"
173
174 RDEPEND="
175 sys-libs/ncurses:0=
176 @@ -26,17 +18,3 @@ RDEPEND="
177 DEPEND="${RDEPEND}"
178
179 S="${WORKDIR}/${P}/${PN}"
180 -
181 -#PATCHES=( "${FILESDIR}"/${PN}-6.0_p4651-shared.patch )
182 -
183 -src_configure() {
184 - local myeconfargs=(
185 - $(use_with debug)
186 - )
187 - autotools-utils_src_configure
188 -}
189 -
190 -src_install() {
191 - use doc && DOCS=( "${DISTDIR}"/MATCManual.pdf )
192 - autotools-utils_src_install
193 -}