1 |
commit: 2468463cc5538a24bd96cec6e599bb8b1592b7f4 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 19:47:50 2016 +0000 |
4 |
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
5 |
CommitDate: Sat Sep 24 20:10:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2468463c |
7 |
|
8 |
virtual/blas: Add version 3.6-r100 to reflect upstream numbering |
9 |
|
10 |
blas and lapack nowadays have the same version numbering scheme. Thus, |
11 |
provide a new virtual/blas-3.6-r100 that ensures reference blas 3.6.0 (or |
12 |
newer) compatibility. |
13 |
|
14 |
Package-Manager: portage-2.2.28 |
15 |
|
16 |
virtual/blas/blas-3.6-r100.ebuild | 57 +++++++++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 57 insertions(+) |
18 |
|
19 |
diff --git a/virtual/blas/blas-3.6-r100.ebuild b/virtual/blas/blas-3.6-r100.ebuild |
20 |
new file mode 100644 |
21 |
index 0000000..5d96b75 |
22 |
--- /dev/null |
23 |
+++ b/virtual/blas/blas-3.6-r100.ebuild |
24 |
@@ -0,0 +1,57 @@ |
25 |
+# Copyright 1999-2016 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=6 |
30 |
+ |
31 |
+MULTILIB_COMPAT=( abi_x86_{32,64} ) |
32 |
+ |
33 |
+inherit multilib-build multilib |
34 |
+ |
35 |
+DESCRIPTION="Virtual for FORTRAN 77 BLAS implementation" |
36 |
+HOMEPAGE="" |
37 |
+SRC_URI="" |
38 |
+ |
39 |
+LICENSE="" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
42 |
+IUSE="doc int64" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ !app-eselect/eselect-blas |
46 |
+ || ( |
47 |
+ >=sci-libs/blas-reference-20151113-r100[int64?,${MULTILIB_USEDEP}] |
48 |
+ >=sci-libs/openblas-0.2.11[int64?,${MULTILIB_USEDEP}] |
49 |
+ sci-libs/gotoblas2[int64?,${MULTILIB_USEDEP}] |
50 |
+ sci-libs/mkl[int64?,${MULTILIB_USEDEP}] |
51 |
+ abi_x86_64? ( |
52 |
+ !abi_x86_32? ( |
53 |
+ || ( |
54 |
+ >=dev-cpp/eigen-3.1.4 |
55 |
+ sci-libs/atlas[fortran] |
56 |
+ >=sci-libs/acml-4.4 |
57 |
+ ) |
58 |
+ ) |
59 |
+ ) |
60 |
+ ) |
61 |
+ doc? ( >=app-doc/blas-docs-3.2 ) |
62 |
+ int64? ( |
63 |
+ || ( |
64 |
+ sci-libs/blas-reference[int64,${MULTILIB_USEDEP}] |
65 |
+ >=sci-libs/openblas-0.2.11[int64,${MULTILIB_USEDEP}] |
66 |
+ sci-libs/gotoblas2[int64,${MULTILIB_USEDEP}] |
67 |
+ sci-libs/mkl[int64,${MULTILIB_USEDEP}] |
68 |
+ ) |
69 |
+ ) |
70 |
+" |
71 |
+DEPEND="" |
72 |
+ |
73 |
+pkg_pretend() { |
74 |
+ if [[ -e "${EROOT%/}"/usr/$(get_libdir)/lib${PN}.so ]]; then |
75 |
+ ewarn "You have still the old ${PN} library symlink present" |
76 |
+ ewarn "Please delete" |
77 |
+ ewarn "${EROOT%/}/usr/$(get_libdir)/lib${PN}.so" |
78 |
+ ewarn "to avoid problems with new ${PN} structure" |
79 |
+ die "Old lib${PN} detected" |
80 |
+ fi |
81 |
+} |