aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2016-09-24 14:47:50 -0500
committerMatthias Maier <tamiko@gentoo.org>2016-09-24 15:10:31 -0500
commit2468463cc5538a24bd96cec6e599bb8b1592b7f4 (patch)
treee5c2dc793d3c51ab2556a32bf9f3ea6535593c7a /virtual
parentsci-libs/lapack-reference: revision bump to -r100 (diff)
downloadsci-2468463cc5538a24bd96cec6e599bb8b1592b7f4.tar.gz
sci-2468463cc5538a24bd96cec6e599bb8b1592b7f4.tar.bz2
sci-2468463cc5538a24bd96cec6e599bb8b1592b7f4.zip
virtual/blas: Add version 3.6-r100 to reflect upstream numbering
blas and lapack nowadays have the same version numbering scheme. Thus, provide a new virtual/blas-3.6-r100 that ensures reference blas 3.6.0 (or newer) compatibility. Package-Manager: portage-2.2.28
Diffstat (limited to 'virtual')
-rw-r--r--virtual/blas/blas-3.6-r100.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/virtual/blas/blas-3.6-r100.ebuild b/virtual/blas/blas-3.6-r100.ebuild
new file mode 100644
index 000000000..5d96b7510
--- /dev/null
+++ b/virtual/blas/blas-3.6-r100.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-build multilib
+
+DESCRIPTION="Virtual for FORTRAN 77 BLAS implementation"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc int64"
+
+RDEPEND="
+ !app-eselect/eselect-blas
+ || (
+ >=sci-libs/blas-reference-20151113-r100[int64?,${MULTILIB_USEDEP}]
+ >=sci-libs/openblas-0.2.11[int64?,${MULTILIB_USEDEP}]
+ sci-libs/gotoblas2[int64?,${MULTILIB_USEDEP}]
+ sci-libs/mkl[int64?,${MULTILIB_USEDEP}]
+ abi_x86_64? (
+ !abi_x86_32? (
+ || (
+ >=dev-cpp/eigen-3.1.4
+ sci-libs/atlas[fortran]
+ >=sci-libs/acml-4.4
+ )
+ )
+ )
+ )
+ doc? ( >=app-doc/blas-docs-3.2 )
+ int64? (
+ || (
+ sci-libs/blas-reference[int64,${MULTILIB_USEDEP}]
+ >=sci-libs/openblas-0.2.11[int64,${MULTILIB_USEDEP}]
+ sci-libs/gotoblas2[int64,${MULTILIB_USEDEP}]
+ sci-libs/mkl[int64,${MULTILIB_USEDEP}]
+ )
+ )
+"
+DEPEND=""
+
+pkg_pretend() {
+ if [[ -e "${EROOT%/}"/usr/$(get_libdir)/lib${PN}.so ]]; then
+ ewarn "You have still the old ${PN} library symlink present"
+ ewarn "Please delete"
+ ewarn "${EROOT%/}/usr/$(get_libdir)/lib${PN}.so"
+ ewarn "to avoid problems with new ${PN} structure"
+ die "Old lib${PN} detected"
+ fi
+}