Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: virtual/blas/
Date: Mon, 28 Dec 2015 08:17:21
Message-Id: 1451290415.0982926a7da0d6986e41bedce1fa5f02244b9529.jlec@gentoo
1 commit: 0982926a7da0d6986e41bedce1fa5f02244b9529
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 08:13:35 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 08:13:35 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0982926a
7
8 virtual/blas: Update deps, Drop unsupported ABIs
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 virtual/blas/blas-2.1-r5.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++
14 1 file changed, 55 insertions(+)
15
16 diff --git a/virtual/blas/blas-2.1-r5.ebuild b/virtual/blas/blas-2.1-r5.ebuild
17 new file mode 100644
18 index 0000000..6f3a2c4
19 --- /dev/null
20 +++ b/virtual/blas/blas-2.1-r5.ebuild
21 @@ -0,0 +1,55 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +MULTILIB_COMPAT=( abi_x86_{32,64} )
29 +
30 +inherit multilib-build multilib
31 +
32 +DESCRIPTION="Virtual for FORTRAN 77 BLAS implementation"
33 +HOMEPAGE=""
34 +SRC_URI=""
35 +
36 +LICENSE=""
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
39 +IUSE="doc int64"
40 +
41 +RDEPEND="
42 + !app-eselect/eselect-blas
43 + || (
44 + sci-libs/blas-reference[int64?,${MULTILIB_USEDEP}]
45 + >=sci-libs/openblas-0.2.11[int64?,${MULTILIB_USEDEP}]
46 + sci-libs/gotoblas2[int64?,${MULTILIB_USEDEP}]
47 + sci-libs/mkl[int64?,${MULTILIB_USEDEP}]
48 + abi_x86_64? (
49 + !abi_x86_32? (
50 + >=dev-cpp/eigen-3.1.4
51 + sci-libs/atlas[fortran]
52 + >=sci-libs/acml-4.4
53 + )
54 + )
55 + )
56 + doc? ( >=app-doc/blas-docs-3.2 )
57 + int64? (
58 + || (
59 + sci-libs/blas-reference[int64,${MULTILIB_USEDEP}]
60 + >=sci-libs/openblas-0.2.11[int64,${MULTILIB_USEDEP}]
61 + sci-libs/gotoblas2[int64,${MULTILIB_USEDEP}]
62 + sci-libs/mkl[int64,${MULTILIB_USEDEP}]
63 + )
64 + )
65 +"
66 +DEPEND=""
67 +
68 +pkg_pretend() {
69 + if [[ -e "${EROOT%/}"/usr/$(get_libdir)/lib${PN}.so ]]; then
70 + ewarn "You have still the old ${PN} library symlink present"
71 + ewarn "Please delete"
72 + ewarn "${EROOT%/}/usr/$(get_libdir)/lib${PN}.so"
73 + ewarn "to avoid problems with new ${PN} structure"
74 + die "Old lib${PN} detected"
75 + fi
76 +}