aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-01-19 19:30:57 +0100
committerJustin Lecher <jlec@gentoo.org>2014-01-19 19:30:57 +0100
commit793b05de18f4823dc6210399d91f2492ffd0b141 (patch)
tree94425d7b27ce7c0497f9ea3625687b02884b6b2e /virtual
parentMerge remote-tracking branch 'github/master' (diff)
downloadsci-793b05de18f4823dc6210399d91f2492ffd0b141.tar.gz
sci-793b05de18f4823dc6210399d91f2492ffd0b141.tar.bz2
sci-793b05de18f4823dc6210399d91f2492ffd0b141.zip
virtual/lapack: Warn if old ${EPREFIX}/usr/$(get_libdir)/lib${PN}.so is present
Package-Manager: portage-2.2.8
Diffstat (limited to 'virtual')
-rw-r--r--virtual/lapack/ChangeLog6
-rw-r--r--virtual/lapack/lapack-3.4-r1.ebuild (renamed from virtual/lapack/lapack-3.4.ebuild)18
-rw-r--r--virtual/lapack/metadata.xml4
3 files changed, 22 insertions, 6 deletions
diff --git a/virtual/lapack/ChangeLog b/virtual/lapack/ChangeLog
index b63bf9a67..fcc9ba4e8 100644
--- a/virtual/lapack/ChangeLog
+++ b/virtual/lapack/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for virtual/lapack
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/virtual/lapack/ChangeLog,v 1.5 2010/01/11 11:04:19 ulm Exp $
+ 19 Jan 2014; Justin Lecher <jlec@gentoo.org> -lapack-3.4.ebuild,
+ +lapack-3.4-r1.ebuild, metadata.xml:
+ Warn if old ${EPREFIX}/usr/$(get_libdir)/lib${PN}.so is present
+
*lapack-3.4 (21 Feb 2013)
21 Feb 2013; SĂ©bastien Fabbro <bicatali@gentoo.org> +lapack-3.4.ebuild,
diff --git a/virtual/lapack/lapack-3.4.ebuild b/virtual/lapack/lapack-3.4-r1.ebuild
index c1c978c7f..b662bb40f 100644
--- a/virtual/lapack/lapack-3.4.ebuild
+++ b/virtual/lapack/lapack-3.4-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
+EAPI=5
+
+inherit multilib
DESCRIPTION="Virtual for Linear Algebra Package FORTRAN 77 implementation"
HOMEPAGE=""
@@ -13,7 +15,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="doc"
-RDEPEND="|| (
+RDEPEND="
+ || (
>=sci-libs/lapack-reference-${PV}
>=sci-libs/atlas-3.10.1[lapack]
>=sci-libs/mkl-11.0
@@ -21,3 +24,12 @@ RDEPEND="|| (
)
doc? ( >=app-doc/lapack-docs-3.3 )"
DEPEND=""
+
+pkg_pretend() {
+ if [[ -e "${EPREFIX}"/usr/$(get_libdir)/lib${PN}.so ]]; then
+ ewarn "You have still the old ${PN} library symlink present"
+ ewarn "Please delete"
+ ewarn "${EPREFIX}/usr/$(get_libdir)/lib${PN}.so"
+ ewarn "to avoid problems with new ${PN} structure"
+ fi
+}
diff --git a/virtual/lapack/metadata.xml b/virtual/lapack/metadata.xml
index de50c1f99..e16cd365b 100644
--- a/virtual/lapack/metadata.xml
+++ b/virtual/lapack/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
Gentoo virtual package for the Linear Algebra PACKAge
FORTRAN 77 implementation. The version number corresponds to the
version of the LAPACK reference implementation.