Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack-reference/files/, sci-libs/lapack-reference/
Date: Sat, 02 Apr 2016 14:56:09
Message-Id: 1459608962.df763e19a61981a875e886fdfffd2467dc7dce12.jlec@gentoo
1 commit: df763e19a61981a875e886fdfffd2467dc7dce12
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 14:54:04 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 14:56:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df763e19
7
8 sci-libs/lapack-reference: Drop old
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478612
11
12 Package-Manager: portage-2.2.27
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 sci-libs/lapack-reference/Manifest | 2 -
16 .../files/eselect.lapack.reference-ng | 1 -
17 .../files/lapack-reference-3.1.1-test-fix.patch | 36 --------
18 .../lapack-reference-3.1.1-r1.ebuild | 91 -------------------
19 .../lapack-reference-3.2.1-r1.ebuild | 98 --------------------
20 .../lapack-reference-3.2.1-r3.ebuild | 101 ---------------------
21 6 files changed, 329 deletions(-)
22
23 diff --git a/sci-libs/lapack-reference/Manifest b/sci-libs/lapack-reference/Manifest
24 index a98415c..743ff40 100644
25 --- a/sci-libs/lapack-reference/Manifest
26 +++ b/sci-libs/lapack-reference/Manifest
27 @@ -1,4 +1,2 @@
28 DIST lapack-3.2.1.tgz 4792502 SHA256 5825f83971157001fd4235514afe8ff5fc16e1c06b2e872e442c242efd6c166d SHA512 a89b88540f8e5b05b7c58e8e301a5068729ceb35fcb2143edfff1644458ff1a375e5185492cf116b50409fe0c17b51c253a2987f4df83e9f9c3968a4b77e5d97 WHIRLPOOL f5c4be0a4e595ea5276a4878ab6e3578bb621be72142b6bf6cb15fc45bd52558c89b04a7ee0d1558b4f0aa9d1cff9cad43667f2251762dc8ad6aa5e687536149
29 -DIST lapack-lite-3.1.1.tgz 5332509 SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437 SHA512 492b932ef313339ce6b4e63ac8f778489e6870b0eb85f7b086f3c844e75f98e7f85382c7556dfa368ab8320b6f02d1df8ccfcb40b5c0b7c2d74518b7c309e75c WHIRLPOOL 11145043d16b8c2972229e17a24e92e62987c08e84d91b81a7f4767b80f13844faffb2a2798b321a78c7127d849a0fd60cbb1605f03e150b4eaa6c230f0e7fdd
30 -DIST lapack-reference-3.1.1-autotools.patch.bz2 7233 SHA256 63e2c0b64118ca20aed3ca52dbc553ba924c242d3a0b07e6236dee99ede16802 SHA512 3ae61a9d569bdbe3d416652feedf1ae26fe85b23d919fb9d493e1474e616eeb23e87738ecb4970dde5f320812d3bb71c0f3c432548ab8e978941d90afe4cb418 WHIRLPOOL 449d9bf9c7f58c019804708b10f902919e55a722af6fe31904cd7b941074c66c68ef809e56fcce99e6f946da8e69be383b838a6a866ede6ee925268d6b24d423
31 DIST lapack-reference-3.2.1-autotools.patch.bz2 13338 SHA256 de2ab4ea9723f549c77b38d932e5ddb55b7b5583b0050e527505210460dcdf76 SHA512 957e8c7646a0d6ade9c0dfdaf2aa665a01f932dfda376ba1db164106fb174793e6504cdbed7daf158f23bb69502937963cb2e2d45ac720980d3832f6fc0fedbd WHIRLPOOL 8872222a124cd8593c8441034b6fd47463193e03bdebafc8b2790ebc73f49eb811762dc9cd98949bda0af7869f9d12b9ebbfc23457b5393d88c00a013c4f419d
32
33 diff --git a/sci-libs/lapack-reference/files/eselect.lapack.reference-ng b/sci-libs/lapack-reference/files/eselect.lapack.reference-ng
34 deleted file mode 100644
35 index 11231ea..0000000
36 --- a/sci-libs/lapack-reference/files/eselect.lapack.reference-ng
37 +++ /dev/null
38 @@ -1 +0,0 @@
39 -../lapack/reference/lapack.pc /usr/@LIBDIR@/pkgconfig/lapack.pc
40
41 diff --git a/sci-libs/lapack-reference/files/lapack-reference-3.1.1-test-fix.patch b/sci-libs/lapack-reference/files/lapack-reference-3.1.1-test-fix.patch
42 deleted file mode 100644
43 index e9b7544..0000000
44 --- a/sci-libs/lapack-reference/files/lapack-reference-3.1.1-test-fix.patch
45 +++ /dev/null
46 @@ -1,36 +0,0 @@
47 -diff -Naur lapack-lite-3.1.1/TESTING/ctest.in lapack-lite-3.1.1-new/TESTING/ctest.in
48 ---- lapack-lite-3.1.1/TESTING/ctest.in 2007-02-26 13:20:47.000000000 -0500
49 -+++ lapack-lite-3.1.1-new/TESTING/ctest.in 2007-07-24 10:19:31.000000000 -0400
50 -@@ -32,5 +32,4 @@
51 - CQL 8 List types on next line if 0 < NTYPES < 8
52 - CQP 6 List types on next line if 0 < NTYPES < 6
53 - CTZ 3 List types on next line if 0 < NTYPES < 3
54 --CLS 6 List types on next line if 0 < NTYPES < 6
55 - CEQ
56 -diff -Naur lapack-lite-3.1.1/TESTING/dtest.in lapack-lite-3.1.1-new/TESTING/dtest.in
57 ---- lapack-lite-3.1.1/TESTING/dtest.in 2007-02-26 13:20:49.000000000 -0500
58 -+++ lapack-lite-3.1.1-new/TESTING/dtest.in 2007-07-24 10:19:36.000000000 -0400
59 -@@ -30,5 +30,4 @@
60 - DQL 8 List types on next line if 0 < NTYPES < 8
61 - DQP 6 List types on next line if 0 < NTYPES < 6
62 - DTZ 3 List types on next line if 0 < NTYPES < 3
63 --DLS 6 List types on next line if 0 < NTYPES < 6
64 - DEQ
65 -diff -Naur lapack-lite-3.1.1/TESTING/stest.in lapack-lite-3.1.1-new/TESTING/stest.in
66 ---- lapack-lite-3.1.1/TESTING/stest.in 2007-02-26 13:20:49.000000000 -0500
67 -+++ lapack-lite-3.1.1-new/TESTING/stest.in 2007-07-24 10:19:48.000000000 -0400
68 -@@ -30,5 +30,4 @@
69 - SQL 8 List types on next line if 0 < NTYPES < 8
70 - SQP 6 List types on next line if 0 < NTYPES < 6
71 - STZ 3 List types on next line if 0 < NTYPES < 3
72 --SLS 6 List types on next line if 0 < NTYPES < 6
73 - SEQ
74 -diff -Naur lapack-lite-3.1.1/TESTING/ztest.in lapack-lite-3.1.1-new/TESTING/ztest.in
75 ---- lapack-lite-3.1.1/TESTING/ztest.in 2007-02-26 13:20:49.000000000 -0500
76 -+++ lapack-lite-3.1.1-new/TESTING/ztest.in 2007-07-24 10:19:42.000000000 -0400
77 -@@ -32,5 +32,4 @@
78 - ZQL 8 List types on next line if 0 < NTYPES < 8
79 - ZQP 6 List types on next line if 0 < NTYPES < 6
80 - ZTZ 3 List types on next line if 0 < NTYPES < 3
81 --ZLS 6 List types on next line if 0 < NTYPES < 6
82 - ZEQ
83
84 diff --git a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
85 deleted file mode 100644
86 index f6d4230..0000000
87 --- a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
88 +++ /dev/null
89 @@ -1,91 +0,0 @@
90 -# Copyright 1999-2015 Gentoo Foundation
91 -# Distributed under the terms of the GNU General Public License v2
92 -# $Id$
93 -
94 -inherit autotools eutils fortran-2 flag-o-matic multilib toolchain-funcs
95 -
96 -MyPN="${PN/-reference/}"
97 -
98 -DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage"
99 -HOMEPAGE="http://www.netlib.org/lapack/index.html"
100 -SRC_URI="
101 - http://www.netlib.org/lapack/${MyPN}-lite-${PV}.tgz
102 - mirror://gentoo/${P}-autotools.patch.bz2"
103 -
104 -LICENSE="BSD"
105 -SLOT="0"
106 -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd"
107 -IUSE="doc"
108 -
109 -RDEPEND="
110 - app-eselect/eselect-lapack
111 - virtual/blas"
112 -DEPEND="
113 - ${RDEPEND}
114 - virtual/pkgconfig
115 - doc? ( app-doc/lapack-docs )"
116 -
117 -S="${WORKDIR}/${MyPN}-lite-${PV}"
118 -
119 -pkg_setup() {
120 - fortran-2_pkg_setup
121 - if [[ $(tc-getFC) =~ if ]]; then
122 - ewarn "Using Intel Fortran at your own risk"
123 - export LDFLAGS="$(raw-ldflags)"
124 - export NOOPT_FFLAGS=-O
125 - fi
126 - ESELECT_PROF=reference
127 -}
128 -
129 -src_unpack() {
130 - unpack ${A}
131 - cd "${S}"
132 - epatch "${WORKDIR}"/${P}-autotools.patch
133 - epatch "${FILESDIR}"/${P}-test-fix.patch
134 - eautoreconf
135 -
136 - # set up the testing routines
137 - sed -e "s:g77:$(tc-getFC):" \
138 - -e "s:-funroll-all-loops -O3:${FFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
139 - -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
140 - -e "s:../../blas\$(PLAT).a:$($(tc-getPKG_CONFIG) --libs blas):" \
141 - -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \
142 - make.inc.example > make.inc \
143 - || die "Failed to set up make.inc"
144 -}
145 -
146 -src_compile() {
147 - econf \
148 - --libdir="/usr/$(get_libdir)/lapack/reference" \
149 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
150 - emake || die "emake failed"
151 -}
152 -
153 -src_install() {
154 - emake DESTDIR="${D}" install || die "emake install failed"
155 - dodoc README || die "dodoc failed"
156 - eselect lapack add $(get_libdir) "${FILESDIR}"/eselect.lapack.reference ${ESELECT_PROF}
157 -}
158 -
159 -src_test() {
160 - cd "${S}"/TESTING/MATGEN
161 - emake || die "Failed to create tmglib.a"
162 - cd "${S}"/TESTING
163 - emake || die "lapack-reference tests failed."
164 -}
165 -
166 -pkg_postinst() {
167 - local p=lapack
168 - local current_lib=$(eselect ${p} show | cut -d' ' -f2)
169 - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
170 - # work around eselect bug #189942
171 - local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config
172 - [[ -e ${configfile} ]] && rm -f ${configfile}
173 - eselect ${p} set ${ESELECT_PROF}
174 - elog "${p} has been eselected to ${ESELECT_PROF}"
175 - else
176 - elog "Current eselected ${p} is ${current_lib}"
177 - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
178 - elog "\t eselect ${p} set ${ESELECT_PROF}"
179 - fi
180 -}
181
182 diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild
183 deleted file mode 100644
184 index b5665f1..0000000
185 --- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r1.ebuild
186 +++ /dev/null
187 @@ -1,98 +0,0 @@
188 -# Copyright 1999-2015 Gentoo Foundation
189 -# Distributed under the terms of the GNU General Public License v2
190 -# $Id$
191 -
192 -EAPI=3
193 -
194 -inherit autotools eutils fortran-2 flag-o-matic multilib toolchain-funcs
195 -
196 -MyPN="${PN/-reference/}"
197 -PATCH_V="3.2.1"
198 -
199 -DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage"
200 -HOMEPAGE="http://www.netlib.org/lapack/index.html"
201 -SRC_URI="
202 - mirror://gentoo/${MyPN}-${PV}.tgz
203 - mirror://gentoo/${PN}-${PATCH_V}-autotools.patch.bz2"
204 -
205 -LICENSE="BSD"
206 -SLOT="0"
207 -KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
208 -IUSE="doc"
209 -
210 -RDEPEND="
211 - app-eselect/eselect-lapack
212 - virtual/blas"
213 -DEPEND="
214 - ${RDEPEND}
215 - virtual/pkgconfig
216 - doc? ( app-doc/lapack-docs )"
217 -
218 -S="${WORKDIR}/${MyPN}-${PV}"
219 -
220 -pkg_setup() {
221 - fortran-2_pkg_setup
222 - if [[ $(tc-getFC) =~ if ]]; then
223 - ewarn "Using Intel Fortran at your own risk"
224 - export LDFLAGS="$(raw-ldflags)"
225 - export NOOPT_FFLAGS=-O
226 - fi
227 - ESELECT_PROF=reference
228 -}
229 -
230 -src_prepare() {
231 - epatch "${WORKDIR}"/${PN}-${PATCH_V}-autotools.patch
232 - epatch "${FILESDIR}"/${P}-parallel-make.patch
233 - eautoreconf
234 -
235 - # set up the testing routines
236 - sed -e "s:g77:$(tc-getFC):" \
237 - -e "s:-funroll-all-loops -O3:${FFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
238 - -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
239 - -e "s:../../blas\$(PLAT).a:$($(tc-getPKG_CONFIG) --libs blas):" \
240 - -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \
241 - make.inc.example > make.inc \
242 - || die "Failed to set up make.inc"
243 -
244 - cp "${FILESDIR}"/eselect.lapack.reference "${T}"/
245 - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die
246 - if [[ ${CHOST} == *-darwin* ]] ; then
247 - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
248 - "${T}"/eselect.lapack.reference || die
249 - fi
250 -}
251 -
252 -src_configure() {
253 - econf \
254 - --libdir="${EPREFIX}/usr/$(get_libdir)/lapack/reference" \
255 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
256 -}
257 -
258 -src_install() {
259 - emake DESTDIR="${D}" install || die "emake install failed"
260 - dodoc README || die "dodoc failed"
261 - eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF}
262 -}
263 -
264 -src_test() {
265 - cd "${S}"/TESTING/MATGEN
266 - emake -j1 || die "Failed to create tmglib.a"
267 - cd "${S}"/TESTING
268 - emake -j1 || die "lapack-reference tests failed."
269 -}
270 -
271 -pkg_postinst() {
272 - local p=lapack
273 - local current_lib=$(eselect ${p} show | cut -d' ' -f2)
274 - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
275 - # work around eselect bug #189942
276 - local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config
277 - [[ -e ${configfile} ]] && rm -f ${configfile}
278 - eselect ${p} set ${ESELECT_PROF}
279 - elog "${p} has been eselected to ${ESELECT_PROF}"
280 - else
281 - elog "Current eselected ${p} is ${current_lib}"
282 - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
283 - elog "\t eselect ${p} set ${ESELECT_PROF}"
284 - fi
285 -}
286
287 diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1-r3.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1-r3.ebuild
288 deleted file mode 100644
289 index f91f05e..0000000
290 --- a/sci-libs/lapack-reference/lapack-reference-3.2.1-r3.ebuild
291 +++ /dev/null
292 @@ -1,101 +0,0 @@
293 -# Copyright 1999-2015 Gentoo Foundation
294 -# Distributed under the terms of the GNU General Public License v2
295 -# $Id$
296 -
297 -EAPI=3
298 -
299 -inherit autotools eutils fortran-2 flag-o-matic multilib toolchain-funcs
300 -
301 -MyPN="${PN/-reference/}"
302 -PATCH_V="3.2.1"
303 -
304 -DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage"
305 -HOMEPAGE="http://www.netlib.org/lapack/index.html"
306 -SRC_URI="
307 - mirror://gentoo/${MyPN}-${PV}.tgz
308 - mirror://gentoo/${PN}-${PATCH_V}-autotools.patch.bz2"
309 -
310 -LICENSE="BSD"
311 -SLOT="0"
312 -KEYWORDS=""
313 -IUSE="doc"
314 -
315 -RDEPEND="
316 - app-eselect/eselect-lapack
317 - virtual/blas"
318 -DEPEND="
319 - ${RDEPEND}
320 - virtual/pkgconfig
321 - doc? ( app-doc/lapack-docs )"
322 -
323 -S="${WORKDIR}/${MyPN}-${PV}"
324 -
325 -pkg_setup() {
326 - fortran-2_pkg_setup
327 - if [[ $(tc-getFC) =~ if ]]; then
328 - ewarn "Using Intel Fortran at your own risk"
329 - export LDFLAGS="$(raw-ldflags)"
330 - export NOOPT_FFLAGS=-O
331 - fi
332 - ESELECT_PROF=reference
333 -}
334 -
335 -src_prepare() {
336 - epatch "${WORKDIR}"/${PN}-${PATCH_V}-autotools.patch
337 - epatch "${FILESDIR}"/${P}-parallel-make.patch
338 - eautoreconf
339 -
340 - # set up the testing routines
341 - sed -e "s:g77:$(tc-getFC):" \
342 - -e "s:-funroll-all-loops -O3:${FFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
343 - -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags blas):" \
344 - -e "s:../../blas\$(PLAT).a:$($(tc-getPKG_CONFIG) --libs blas):" \
345 - -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \
346 - make.inc.example > make.inc \
347 - || die "Failed to set up make.inc"
348 -
349 - cp "${FILESDIR}"/eselect.lapack.reference-ng "${T}"/eselect.lapack.reference || die
350 - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.lapack.reference || die
351 - if [[ ${CHOST} == *-darwin* ]] ; then
352 - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
353 - "${T}"/eselect.lapack.reference || die
354 - fi
355 - sed \
356 - -e '/Libs:/s|: |: -L${libdir} |g' \
357 - -i lapack.pc.in || die
358 -}
359 -
360 -src_configure() {
361 - econf \
362 - --libdir="${EPREFIX}/usr/$(get_libdir)/lapack/reference" \
363 - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
364 -}
365 -
366 -src_install() {
367 - emake DESTDIR="${D}" install || die "emake install failed"
368 - dodoc README || die "dodoc failed"
369 - eselect lapack add $(get_libdir) "${T}"/eselect.lapack.reference ${ESELECT_PROF}
370 -}
371 -
372 -src_test() {
373 - cd "${S}"/TESTING/MATGEN
374 - emake -j1 || die "Failed to create tmglib.a"
375 - cd "${S}"/TESTING
376 - emake -j1 || die "lapack-reference tests failed."
377 -}
378 -
379 -pkg_postinst() {
380 - local p=lapack
381 - local current_lib=$(eselect ${p} show | cut -d' ' -f2)
382 - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
383 - # work around eselect bug #189942
384 - local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config
385 - [[ -e ${configfile} ]] && rm -f ${configfile}
386 - eselect ${p} set ${ESELECT_PROF}
387 - elog "${p} has been eselected to ${ESELECT_PROF}"
388 - else
389 - elog "Current eselected ${p} is ${current_lib}"
390 - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
391 - elog "\t eselect ${p} set ${ESELECT_PROF}"
392 - fi
393 -}