public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2011-08-22 19:26 Sebastien Fabbro
  0 siblings, 0 replies; 19+ messages in thread
From: Sebastien Fabbro @ 2011-08-22 19:26 UTC (permalink / raw
  To: gentoo-commits

commit:     386ffc59fdfa2c360140d6ba6bfde937fead9d8e
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Mon Aug 22 18:55:38 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 18:55:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=386ffc59

added cblas-reference

---
 sci-libs/cblas-reference/ChangeLog                 |  187 ++++++++++++++++++++
 .../cblas-reference-20110218.ebuild                |  105 +++++++++++
 sci-libs/cblas-reference/metadata.xml              |   15 ++
 3 files changed, 307 insertions(+), 0 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
new file mode 100644
index 0000000..411a0c1
--- /dev/null
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -0,0 +1,187 @@
+# ChangeLog for sci-libs/cblas-reference
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
+
+*cblas-reference-20110218 (22 Aug 2011)
+
+  22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org>
+  +cblas-reference-20110218.ebuild, +metadata.xml:
+  Imported from bicatali overlay
+
+  24 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org>
+  -files/cblas-reference-20030223-autotools.patch,
+  cblas-reference-20110218.ebuild:
+  added missing include file. switch to eapi4
+
+  23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20110218.ebuild:
+  Switched to alternatives-2 framework
+
+  24 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20030223-r6.ebuild,
+  files/cblas-reference-20030223-autotools.patch:
+  Changed library name to refcblas
+
+*cblas-reference-20030223-r6 (09 Nov 2010)
+
+  09 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  +cblas-reference-20030223-r6.ebuild,
+  +files/cblas-reference-20030223-autotools.patch, +metadata.xml:
+  Install files in libdir. pkg-config files fixes. autotools patch upgrade.
+  eselect linking only links pkg-config file and cblas.h
+
+*cblas-reference-20030223-r5 (07 Mar 2010)
+
+  07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+  +cblas-reference-20030223-r5.ebuild:
+  Moved to EAPI=3 for PREFIX support, imported prefix patches from overlay,
+  keyworded {amd64,x86}-linux
+
+  21 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Removed pkg-config in RDEPEND (see bug #217278)
+
+  19 Dec 2007; Justin Bronder <jsbronder@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Move ESELECT_PROF so binary packages work.
+
+  12 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+  files/cblas-reference-20030223-autotool.patch,
+  cblas-reference-20030223-r4.ebuild:
+  Changed autotools version to 2.59 on patch, and added acx_blas.m4. Use
+  pkg-config system for blas dependencies.
+
+  22 Oct 2007; Jeroen Roovers <jer@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Stable for HPPA (USE=lapack).
+
+  11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  fixed lib->get_libdir for eselect bug workaround
+
+  10 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org> -files/c-reference,
+  -files/cblas-gentoo.patch, -files/eselect-reference,
+  -cblas-reference-20030223-r1.ebuild, -cblas-reference-20030223-r3.ebuild,
+  cblas-reference-20030223-r4.ebuild:
+  Removed old versions, workaround for eselect bug #189942.
+
+  08 Oct 2007; Markus Rothe <corsair@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Stable on ppc64; bug #189732
+
+  28 Sep 2007; nixnut <nixnut@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Stable on ppc wrt bug 189732
+
+  26 Sep 2007; Raúl Porcel <armin76@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  alpha stable wrt #189732
+
+  13 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  stable x86, bug 189732
+
+  01 Sep 2007; Christoph Mende <angelos@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Stable on amd64 wrt bug #189732
+
+  21 Aug 2007; Ferris McCormick <fmccor@gentoo.org>
+  cblas-reference-20030223-r4.ebuild:
+  Sparc stable --- Bug #189732 --- runs tests as advertised.
+
+  21 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20030223-r1.ebuild, cblas-reference-20030223-r3.ebuild:
+  Fixed patch location for older versions
+
+*cblas-reference-20030223-r4 (21 Aug 2007)
+
+  21 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+  files/cblas-reference-20030223-autotool.patch,
+  +files/eselect.cblas.reference, metadata.xml,
+  +cblas-reference-20030223-r4.ebuild:
+  Added a new autotool patch which add a working src_test, a 
+  pkg-config file cblas.pc. Now installs two examples, eselect file to 
+  link the include file and the pkg-config file. General clean-up. Also
+  added longdescription in metadata.xml. 
+
+  25 Jun 2007; Raúl Porcel <armin76@gentoo.org>
+  cblas-reference-20030223-r3.ebuild:
+  Add ~alpha wrt #159002
+
+  07 Jun 2007; Joe Peterson <lavajoe@gentoo.org>
+  cblas-reference-20030223-r3.ebuild:
+  Add ~x86-fbsd keyword
+
+  08 Jan 2007; Danny van Dyk <kugelfang@gentoo.org>
+  -cblas-reference-20030223.ebuild, -cblas-reference-20030223-r2.ebuild:
+  QA: Removed unused versions.
+
+  01 Nov 2006; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog:
+  Update for my nick change spyderous -> dberkholz.
+
+  26 Oct 2006; Joshua Jackson <tsunam@gentoo.org>
+  cblas-reference-20030223-r1.ebuild:
+  Stable x86; bug #137033
+
+*cblas-reference-20030223-r3 (11 Oct 2006)
+
+  11 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  files/cblas-reference-20030223-autotool.patch,
+  +cblas-reference-20030223-r3.ebuild:
+  (#150763) Fix patch and install cblas.h (Sebastien Fabbro).
+
+  06 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  files/cblas-reference-20030223-autotool.patch:
+  Revert accidental commit; cblas.h doesn't yet install properly.
+
+  11 Sep 2006; Ferris McCormick <fmccor@gentoo.org>
+  cblas-reference-20030223-r2.ebuild:
+  Add ~sparc keyword.  Seems fine, and needed for testing Bug #147159.
+
+  25 Aug 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/eselect-reference:
+  Add eselect symlink maps, reported by Markus Dittrich.
+
+  17 Aug 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  cblas-reference-20030223-r2.ebuild:
+  Note that configuration now uses eselect rather than blas-config.
+
+*cblas-reference-20030223-r2 (03 Jul 2006)
+
+  03 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +cblas-reference-20030223-r2.ebuild:
+  Bumps to switch to new eselect modules.
+
+  19 Jun 2006; Markus Rothe <corsair@gentoo.org>
+  cblas-reference-20030223-r1.ebuild:
+  Added ~ppc64; bug #137033
+
+*cblas-reference-20030223-r1 (29 May 2006)
+
+  29 May 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/cblas-reference-20030223-autotool.patch,
+  +cblas-reference-20030223-r1.ebuild:
+  Bump to autotool the package, which makes the build work much better in
+  parallel and with gcc4.
+
+  17 May 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  cblas-reference-20030223.ebuild:
+  Keyword ~ppc.
+
+  10 May 2006; Danny van Dyk <kugelfang@gentoo.org>
+  cblas-reference-20030223.ebuild:
+  Marked ~amd64.
+
+  27 Mar 2006; Markus Dittrich <markusle@gentoo.org> files/c-reference,
+  cblas-reference-20030223.ebuild:
+  Moved install directory for the libraries from blas/cblas-reference
+  to blas/reference.
+
+*cblas-reference-20030223 (25 Mar 2006)
+
+  25 Mar 2006; Markus Dittrich <markusle@gentoo.org> 
+  +files/c-reference, +files/cblas-gentoo.patch, +metadata.xml,
+  +cblas-reference-20030223.ebuild:
+  Initial import (fixes bug #122958). Many thanks to Adam Piątyszek
+  <ediap@et.put.poznan.pl> for his ebuild and patches.
+

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
new file mode 100644
index 0000000..9bdb362
--- /dev/null
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils alternatives-2 flag-o-matic toolchain-funcs
+
+MYPN="${PN/-reference/}"
+
+DESCRIPTION="C wrapper interface to the F77 reference BLAS implementation"
+LICENSE="public-domain"
+HOMEPAGE="http://www.netlib.org/blas/"
+SRC_URI="http://www.netlib.org/blas/blast-forum/${MYPN}.tgz -> ${P}.tgz"
+
+SLOT="0"
+IUSE="static-libs"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+RDEPEND="virtual/blas
+	virtual/fortran"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
+S="${WORKDIR}/CBLAS"
+
+LIBNAME=refcblas
+LIBVER=3
+
+make_shared_lib() {
+	local libstatic=${1}
+	local soname=$(basename "${1%.a}").so.${LIBVER}
+	shift
+	einfo "Making ${soname}"
+	${LINK:-$(tc-getCC)} ${LDFLAGS}  \
+		-shared -Wl,-soname="${soname}" \
+		-Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
+		"$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
+	ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
+}
+
+src_prepare() {
+	find . -name Makefile  -exec sed -i \
+		-e 's:make:$(MAKE):g' '{}' \;
+	append-cflags -DADD_
+	cat > Makefile.in <<-EOF
+		BLLIB=$(pkg-config --libs blas)
+		FC=$(tc-getFC)
+		CC=$(tc-getCC)
+		CBLIB=../lib/lib${LIBNAME}.a
+		LOADER=\$(FC)
+		ARCH=$(tc-getAR)
+		ARCHFLAGS=cr
+		RANLIB=$(tc-getRANLIB)
+	EOF
+}
+
+src_compile() {
+	emake \
+		FFLAGS="${FFLAGS} -fPIC" \
+		CFLAGS="${CFLAGS} -fPIC" \
+		CBLIB=../lib/lib${LIBNAME}.a \
+		alllib
+	cd lib
+	make_shared_lib lib${LIBNAME}.a $(pkg-config --libs blas)
+	cd "${S}"
+	if use static-libs; then
+		emake clean
+		emake alllib
+	fi
+}
+
+src_test() {
+	cd testing
+	emake
+	emake run
+}
+
+src_install() {
+	dolib.so lib/lib${LIBNAME}.so*
+	use static-libs && dolib.a lib/lib${LIBNAME}.a
+	insinto /usr/include/cblas
+	doins include/cblas.h
+	cat <<-EOF > ${LIBNAME}.pc
+		prefix=${EPREFIX}/usr
+		libdir=\${prefix}/$(get_libdir)
+		includedir=\${prefix}/include
+		Name: ${LIBNAME}
+		Description: ${DESCRIPTION}
+		Version: ${PV}
+		URL: ${HOMEPAGE}
+		Libs: -L\${libdir} -l${LIBNAME}
+		Private: -lm
+		Cflags: -I\${includedir}/cblas
+		Requires: blas
+	EOF
+	insinto /usr/$(get_libdir)/pkgconfig
+	doins ${LIBNAME}.pc
+	dodoc README
+	insinto /usr/share/doc/${PF}
+	doins examples/*.c
+	alternatives_for cblas reference 0 \
+		/usr/$(get_libdir)/pkgconfig/cblas.pc ${LIBNAME}.pc \
+		/usr/include/cblas.h cblas/cblas.h
+}

diff --git a/sci-libs/cblas-reference/metadata.xml b/sci-libs/cblas-reference/metadata.xml
new file mode 100644
index 0000000..7d4380e
--- /dev/null
+++ b/sci-libs/cblas-reference/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+  The BLAS (Basic Linear Algebra Subprograms) are high quality "building
+  block" routines for performing basic vector and matrix operations. Level 1
+  BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations,
+  and Level 3 BLAS do matrix-matrix operations. Because the BLAS are
+  efficient, portable, and widely available, they're commonly used in the
+  development of high quality linear algebra software, LAPACK for
+  example. This packages implements the reference C library as a wrapper
+  to the FORTRAN 77 BLAS library.
+</longdescription>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2012-02-23  9:18 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2012-02-23  9:18 UTC (permalink / raw
  To: gentoo-commits

commit:     63c562525102f5e8fcd06d708b2b375d5755910d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 09:18:25 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 09:18:25 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=63c56252

Keyworded for ~-linux prefix

(Portage version: 2.2.0_alpha89/git/Linux x86_64, unsigned Manifest commit)

---
 sci-libs/cblas-reference/ChangeLog    |    5 ++++-
 sci-libs/cblas-reference/metadata.xml |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 411a0c1..e098682 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-libs/cblas-reference
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  23 Feb 2012; Justin Lecher <jlec@gentoo.org> metadata.xml:
+  Keyworded for ~-linux prefix
+
 *cblas-reference-20110218 (22 Aug 2011)
 
   22 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org>

diff --git a/sci-libs/cblas-reference/metadata.xml b/sci-libs/cblas-reference/metadata.xml
index 7d4380e..39d8677 100644
--- a/sci-libs/cblas-reference/metadata.xml
+++ b/sci-libs/cblas-reference/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">
   The BLAS (Basic Linear Algebra Subprograms) are high quality "building
   block" routines for performing basic vector and matrix operations. Level 1
   BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations,



^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2012-02-24  0:58 Francois Bissey
  0 siblings, 0 replies; 19+ messages in thread
From: Francois Bissey @ 2012-02-24  0:58 UTC (permalink / raw
  To: gentoo-commits

commit:     881367cb05d3652c0e7f3dbd645516ed022e6366
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Fri Feb 24 00:58:03 2012 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Fri Feb 24 00:58:03 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=881367cb

making cblas-reference OS X aware

---
 sci-libs/cblas-reference/ChangeLog                 |    4 ++
 .../cblas-reference-20110218.ebuild                |   36 ++++++++++++++------
 2 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index e098682..dbc920a 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  24 Feb 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+  cblas-reference-20110218.ebuild:
+  adding OS X support
+
   23 Feb 2012; Justin Lecher <jlec@gentoo.org> metadata.xml:
   Keyworded for ~-linux prefix
 

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 9bdb362..d57951d 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -15,7 +15,7 @@ SRC_URI="http://www.netlib.org/blas/blast-forum/${MYPN}.tgz -> ${P}.tgz"
 
 SLOT="0"
 IUSE="static-libs"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 
 RDEPEND="virtual/blas
 	virtual/fortran"
@@ -29,14 +29,24 @@ LIBVER=3
 
 make_shared_lib() {
 	local libstatic=${1}
-	local soname=$(basename "${1%.a}").so.${LIBVER}
-	shift
-	einfo "Making ${soname}"
-	${LINK:-$(tc-getCC)} ${LDFLAGS}  \
-		-shared -Wl,-soname="${soname}" \
-		-Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
-		"$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
-	ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		local dylibname=$(basename "${1%.a}").dylib
+		shift
+		einfo "Making ${dylibname}"
+		${LINK:-$(tc-getCC)} ${LDFLAGS}  \
+			-dynamiclib -install_name "${EPREFIX}"/usr/lib/"${dylibname}" \
+			-Wl,-all_load -Wl,"${libstatic}" \
+			"$@" -o $(dirname "${libstatic}")/"${dylibname}" || die "${dylibname} failed"
+	else
+		local soname=$(basename "${1%.a}").so.${LIBVER}
+		shift
+		einfo "Making ${soname}"
+		${LINK:-$(tc-getCC)} ${LDFLAGS}  \
+			-shared -Wl,-soname="${soname}" \
+			-Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
+			"$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
+		ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
+	fi
 }
 
 src_prepare() {
@@ -77,7 +87,11 @@ src_test() {
 }
 
 src_install() {
-	dolib.so lib/lib${LIBNAME}.so*
+	local shlib=so
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		shlib=dylib
+	fi
+	dolib.so lib/lib${LIBNAME}.${shlib}*
 	use static-libs && dolib.a lib/lib${LIBNAME}.a
 	insinto /usr/include/cblas
 	doins include/cblas.h



^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2012-07-12 20:43 Sebastien Fabbro
  0 siblings, 0 replies; 19+ messages in thread
From: Sebastien Fabbro @ 2012-07-12 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     4234be1f0081e1d72372c6dcac493db0c41333b2
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Thu Jul 12 18:43:23 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Jul 12 18:43:23 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4234be1f

sci-libs/cblas-reference: Shared library fixes and prefix love

(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)

---
 sci-libs/cblas-reference/ChangeLog                 |    5 ++-
 .../cblas-reference-20110218.ebuild                |   47 +++++++++-----------
 sci-libs/cblas-reference/metadata.xml              |    4 +-
 3 files changed, 27 insertions(+), 29 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index dbc920a..41bdb22 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  12 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20110218.ebuild, metadata.xml:
+  sci-libs/cblas-reference: Shared library fixes and prefix love
+
   24 Feb 2012; François Bissey <francois.bissey@canterbury.ac.nz>
   cblas-reference-20110218.ebuild:
   adding OS X support
@@ -191,4 +195,3 @@
   +cblas-reference-20030223.ebuild:
   Initial import (fixes bug #122958). Many thanks to Adam Piątyszek
   <ediap@et.put.poznan.pl> for his ebuild and patches.
-

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index d57951d..da74037 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=4
 
-inherit eutils alternatives-2 flag-o-matic toolchain-funcs
+inherit eutils alternatives-2 flag-o-matic toolchain-funcs versionator multilib
 
 MYPN="${PN/-reference/}"
 
@@ -20,32 +20,33 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-lin
 RDEPEND="virtual/blas
 	virtual/fortran"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
+	virtual/pkgconfig"
 
 S="${WORKDIR}/CBLAS"
 
 LIBNAME=refcblas
-LIBVER=3
 
-make_shared_lib() {
-	local libstatic=${1}
+static_to_shared() {
+	local libstatic=$1
+	shift
+	local libname=$(basename ${libstatic%.a})
+	local soname=${libname}$(get_libname $(get_version_component_range 1-2))
+	local libdir=$(dirname ${libstatic})
+
+	einfo "Making ${soname} from ${libstatic}"
 	if [[ ${CHOST} == *-darwin* ]] ; then
-		local dylibname=$(basename "${1%.a}").dylib
-		shift
-		einfo "Making ${dylibname}"
 		${LINK:-$(tc-getCC)} ${LDFLAGS}  \
-			-dynamiclib -install_name "${EPREFIX}"/usr/lib/"${dylibname}" \
-			-Wl,-all_load -Wl,"${libstatic}" \
-			"$@" -o $(dirname "${libstatic}")/"${dylibname}" || die "${dylibname} failed"
+			-dynamiclib -install_name "${EPREFIX}"/usr/lib/${soname} \
+			-Wl,-all_load -Wl,${libstatic} \
+			"$@" -o ${libdir}/${soname} || die "${soname} failed"
 	else
-		local soname=$(basename "${1%.a}").so.${LIBVER}
-		shift
-		einfo "Making ${soname}"
 		${LINK:-$(tc-getCC)} ${LDFLAGS}  \
-			-shared -Wl,-soname="${soname}" \
-			-Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \
-			"$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed"
-		ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}"
+			-shared -Wl,-soname=${soname} \
+			-Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \
+			"$@" -o ${libdir}/${soname} || die "${soname} failed"
+		[[ $(get_version_component_count) -gt 1 ]] && \
+			ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version))
+		ln -s ${soname} ${libdir}/${libname}$(get_libname)
 	fi
 }
 
@@ -71,9 +72,7 @@ src_compile() {
 		CFLAGS="${CFLAGS} -fPIC" \
 		CBLIB=../lib/lib${LIBNAME}.a \
 		alllib
-	cd lib
-	make_shared_lib lib${LIBNAME}.a $(pkg-config --libs blas)
-	cd "${S}"
+	static_to_shared lib/lib${LIBNAME}.a $(pkg-config --libs blas)
 	if use static-libs; then
 		emake clean
 		emake alllib
@@ -87,11 +86,7 @@ src_test() {
 }
 
 src_install() {
-	local shlib=so
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		shlib=dylib
-	fi
-	dolib.so lib/lib${LIBNAME}.${shlib}*
+	dolib.so lib/lib${LIBNAME}$(get_libname)*
 	use static-libs && dolib.a lib/lib${LIBNAME}.a
 	insinto /usr/include/cblas
 	doins include/cblas.h

diff --git a/sci-libs/cblas-reference/metadata.xml b/sci-libs/cblas-reference/metadata.xml
index 39d8677..7d4380e 100644
--- a/sci-libs/cblas-reference/metadata.xml
+++ b/sci-libs/cblas-reference/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">
   The BLAS (Basic Linear Algebra Subprograms) are high quality "building
   block" routines for performing basic vector and matrix operations. Level 1
   BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations,



^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2012-12-13  0:10 Sebastien Fabbro
  0 siblings, 0 replies; 19+ messages in thread
From: Sebastien Fabbro @ 2012-12-13  0:10 UTC (permalink / raw
  To: gentoo-commits

commit:     0e3642fef276af792a4b19e81d2e351cb916ffce
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 22:43:25 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 22:43:25 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0e3642fe

sci-libs/cblas-reference: Fixed pkg-config and fortran use

Package-Manager: portage-2.2.01.21418-prefix

---
 sci-libs/cblas-reference/ChangeLog                 |    4 ++++
 .../cblas-reference-20110218.ebuild                |    7 +++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 41bdb22..03c6f47 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org>
+  cblas-reference-20110218.ebuild:
+  sci-libs/cblas-reference: Fixed pkg-config and fortran use
+
   12 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
   cblas-reference-20110218.ebuild, metadata.xml:
   sci-libs/cblas-reference: Shared library fixes and prefix love

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 1782985..7d752cb 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=4
 
-inherit eutils alternatives-2 flag-o-matic toolchain-funcs versionator multilib
+inherit eutils alternatives-2 flag-o-matic toolchain-funcs versionator multilib fortran-2
 
 MYPN="${PN/-reference/}"
 
@@ -17,8 +17,7 @@ SLOT="0"
 IUSE="static-libs"
 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 
-RDEPEND="virtual/blas
-	virtual/fortran"
+RDEPEND="virtual/blas"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
@@ -55,7 +54,7 @@ src_prepare() {
 		-e 's:make:$(MAKE):g' '{}' \;
 	append-cflags -DADD_
 	cat > Makefile.in <<-EOF
-		BLLIB=$(pkg-config --libs blas)
+		BLLIB=$($(tc-getPKG_CONFIG) --libs blas)
 		FC=$(tc-getFC)
 		CC=$(tc-getCC)
 		CBLIB=../lib/lib${LIBNAME}.a


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2013-12-25 11:52 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2013-12-25 11:52 UTC (permalink / raw
  To: gentoo-commits

commit:     608726f89392b07941c7debe08c9273a16c6d99a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 11:50:10 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 11:50:10 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=608726f8

sci-libs/cblas-reference: Fix Typo, #495202

Package-Manager: portage-2.2.7

---
 sci-libs/cblas-reference/ChangeLog                       |  4 ++++
 sci-libs/cblas-reference/cblas-reference-20110218.ebuild | 14 +++++++-------
 sci-libs/cblas-reference/metadata.xml                    |  4 ++--
 3 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 3312206..4aaa8d2 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  25 Dec 2013; Justin Lecher <jlec@gentoo.org> cblas-reference-20110218.ebuild,
+  metadata.xml:
+  Fix Typo, #495202
+
   07 Dec 2013; Sébastien Fabbro <bicatali@gentoo.org>
   cblas-reference-20110218.ebuild:
   sci-libs/cblas-reference: Switched to EAPI5

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 5523cc5..4ab125c 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -9,11 +9,11 @@ inherit eutils alternatives-2 flag-o-matic toolchain-funcs versionator multilib
 MYPN="${PN/-reference/}"
 
 DESCRIPTION="C wrapper interface to the F77 reference BLAS implementation"
-LICENSE="public-domain"
 HOMEPAGE="http://www.netlib.org/blas/"
 SRC_URI="http://www.netlib.org/blas/blast-forum/${MYPN}.tgz -> ${P}.tgz"
 
 SLOT="0"
+LICENSE="public-domain"
 IUSE="static-libs"
 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 
@@ -44,14 +44,14 @@ static_to_shared() {
 			-Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \
 			"$@" -o ${libdir}/${soname} || die "${soname} failed"
 		[[ $(get_version_component_count) -gt 1 ]] && \
-			ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version))
-		ln -s ${soname} ${libdir}/${libname}$(get_libname)
+			ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) || die
+		ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
 	fi
 }
 
 src_prepare() {
-	find . -name Makefile  -exec sed -i \
-		-e 's:make:$(MAKE):g' '{}' \;
+	find . -name Makefile -exec sed -i \
+		-e 's:make:$(MAKE):g' '{}' \; || die
 	append-cflags -DADD_
 	cat > Makefile.in <<-EOF
 		BLLIB=$($(tc-getPKG_CONFIG) --libs blas)
@@ -61,7 +61,7 @@ src_prepare() {
 		LOADER=\$(FC)
 		ARCH=$(tc-getAR)
 		ARCHFLAGS=cr
-	d	RANLIB=$(tc-getRANLIB)
+		RANLIB=$(tc-getRANLIB)
 	EOF
 }
 
@@ -79,7 +79,7 @@ src_compile() {
 }
 
 src_test() {
-	cd testing
+	cd testing || die
 	emake
 	emake run
 }

diff --git a/sci-libs/cblas-reference/metadata.xml b/sci-libs/cblas-reference/metadata.xml
index 7d4380e..a151756 100644
--- a/sci-libs/cblas-reference/metadata.xml
+++ b/sci-libs/cblas-reference/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">
   The BLAS (Basic Linear Algebra Subprograms) are high quality "building
   block" routines for performing basic vector and matrix operations. Level 1
   BLAS do vector-vector operations, Level 2 BLAS do matrix-vector operations,


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2013-12-28  8:43 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2013-12-28  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     9c0cc8b52dfcea66addeea047f75098aa547b574
Author:     layman <layman <AT> localhost>
AuthorDate: Tue Dec 24 21:56:18 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec 24 21:56:54 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9c0cc8b5

sci-libs/cblas-reference: removed extra character that breaks make

---
 sci-libs/cblas-reference/cblas-reference-20110218.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 5523cc5..8b8460c 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -61,7 +61,7 @@ src_prepare() {
 		LOADER=\$(FC)
 		ARCH=$(tc-getAR)
 		ARCHFLAGS=cr
-	d	RANLIB=$(tc-getRANLIB)
+		RANLIB=$(tc-getRANLIB)
 	EOF
 }
 


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2014-01-18  7:38 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2014-01-18  7:38 UTC (permalink / raw
  To: gentoo-commits

commit:     efd8b99f2f29900487617fa5506737ba83f1e92e
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 02:39:54 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 07:38:33 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=efd8b99f

fixed die mastery

Package-Manager: portage-2.2.7

---
 sci-libs/cblas-reference/ChangeLog                       | 6 +++++-
 sci-libs/cblas-reference/cblas-reference-20110218.ebuild | 5 +++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 4aaa8d2..47408ea 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-libs/cblas-reference
-# 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/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  13 Jan 2014; Christoph Junghans <ottxor@gentoo.org>
+  cblas-reference-20110218.ebuild:
+  fixed die mastery
+
   25 Dec 2013; Justin Lecher <jlec@gentoo.org> cblas-reference-20110218.ebuild,
   metadata.xml:
   Fix Typo, #495202

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 4ab125c..e6ebf28 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -43,8 +43,9 @@ static_to_shared() {
 			-shared -Wl,-soname=${soname} \
 			-Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive \
 			"$@" -o ${libdir}/${soname} || die "${soname} failed"
-		[[ $(get_version_component_count) -gt 1 ]] && \
+		if [[ $(get_version_component_count) -gt 1 ]]; then
 			ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) || die
+		fi
 		ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
 	fi
 }


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2014-07-01  0:28 Francois Bissey
  0 siblings, 0 replies; 19+ messages in thread
From: Francois Bissey @ 2014-07-01  0:28 UTC (permalink / raw
  To: gentoo-commits

commit:     0a2cfdaaf9f1845ed227642ab97a69403ca16047
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Tue Jul  1 00:28:05 2014 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Tue Jul  1 00:28:05 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0a2cfdaa

Tweak src_install for OS X support. Added documentation in the ebuild itself.

Package-Manager: portage-2.2.10

---
 sci-libs/cblas-reference/ChangeLog                       | 4 ++++
 sci-libs/cblas-reference/cblas-reference-20110218.ebuild | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 47408ea..a48b811 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  30 Jun 2014; François Bissey <francois.bissey@canterbury.ac.nz>
+  cblas-reference-20110218.ebuild:
+  Tweak src_install for OS X support. Added documentation in the ebuild itself.
+
   13 Jan 2014; Christoph Junghans <ottxor@gentoo.org>
   cblas-reference-20110218.ebuild:
   fixed die mastery

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index e6ebf28..52fa8c8 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -86,7 +86,9 @@ src_test() {
 }
 
 src_install() {
-	dolib.so lib/lib${LIBNAME}$(get_libname)*
+	# On linux dynamic libraries are of the form .so.${someversion}
+	# On  OS X dynamic libraries are of the form ${someversion}.dylib
+	dolib.so lib/lib${LIBNAME}*$(get_libname)*
 	use static-libs && dolib.a lib/lib${LIBNAME}.a
 	insinto /usr/include/cblas
 	doins include/cblas.h


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2014-07-02 22:11 Francois Bissey
  0 siblings, 0 replies; 19+ messages in thread
From: Francois Bissey @ 2014-07-02 22:11 UTC (permalink / raw
  To: gentoo-commits

commit:     53cb72c1ffc12d4192bbecc00b92c1fb983e4784
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Wed Jul  2 22:10:21 2014 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Wed Jul  2 22:10:52 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=53cb72c1

More fix for macos. We need to create the link for both linux and macos.

Package-Manager: portage-2.2.10

---
 sci-libs/cblas-reference/ChangeLog                       | 4 ++++
 sci-libs/cblas-reference/cblas-reference-20110218.ebuild | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index a48b811..b998a4a 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.33 2010/03/07 19:14:51 jlec Exp $
 
+  02 Jul 2014; François Bissey <francois.bissey@canterbury.ac.nz>
+  cblas-reference-20110218.ebuild:
+  More fix for macos. We need to create the link for both linux and macos.
+
   30 Jun 2014; François Bissey <francois.bissey@canterbury.ac.nz>
   cblas-reference-20110218.ebuild:
   Tweak src_install for OS X support. Added documentation in the ebuild itself.

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
index 52fa8c8..cec9dae 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
@@ -46,8 +46,8 @@ static_to_shared() {
 		if [[ $(get_version_component_count) -gt 1 ]]; then
 			ln -s ${soname} ${libdir}/${libname}$(get_libname $(get_major_version)) || die
 		fi
-		ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
 	fi
+	ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2015-11-30 18:33 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2015-11-30 18:33 UTC (permalink / raw
  To: gentoo-commits

commit:     b0b9477cb91844c912eb316a223556f899b15ae1
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 18:33:28 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 18:33:28 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b0b9477c

sci-libs/cblas-reference: Version Bump

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../cblas-reference-20151113.ebuild                | 121 +++++++++++++++++++++
 1 file changed, 121 insertions(+)

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113.ebuild
new file mode 100644
index 0000000..e3e0436
--- /dev/null
+++ b/sci-libs/cblas-reference/cblas-reference-20151113.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+NUMERIC_MODULE_NAME="refcblas"
+
+inherit alternatives-2 cmake-utils fortran-2 numeric-int64-multibuild python-any-r1 toolchain-funcs
+
+LPN=lapack
+LPV=3.6.0
+
+DESCRIPTION="C wrapper interface to the F77 reference BLAS implementation"
+HOMEPAGE="http://www.netlib.org/cblas/"
+SRC_URI="http://www.netlib.org/${LPN}/${LPN}-${LPV}.tgz"
+
+LICENSE="BSD"
+SLOT="0/${LPV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+
+REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+	test? ( ${PYTHON_DEPS} )
+	virtual/pkgconfig"
+
+S="${WORKDIR}/${LPN}-${LPV}"
+
+MULTILIB_WRAPPED_HEADERS=(
+	/usr/include/cblas/cblas.h
+)
+src_prepare() {
+	# rename library to avoid collision with other blas implementations
+	# ${LIBNAME} and ${PROFNAME} are not defined here, they are in single
+	# quotes in the following seds.  They are later set by defining cmake
+	# variables with -DPROFNAME etc in src_configure
+	sed -i \
+		-e 's:\([^xc]\)blas:\1${LIBNAME}:g' \
+		-e '/ALL_TARGETS/s:cblas):${LIBNAME}):' \
+		-e '/_librar/s:cblas:${LIBNAME}:' \
+		CMakeLists.txt \
+		CBLAS/src/CMakeLists.txt || die
+	sed -i \
+		-e 's:/CMAKE/:/cmake/:g' \
+		CBLAS/CMakeLists.txt || die
+	sed -i \
+		-e '/Name: /s:cblas:${PROFNAME}:' \
+		-e 's:-lcblas:-l${LIBNAME}:g' \
+		 CBLAS/cblas.pc.in || die
+	sed -i \
+		-e 's:cblas):${LIBNAME}):' \
+		CBLAS/testing/CMakeLists.txt || die
+	sed -i \
+		-e 's:BINARY_DIR}/cblas:BINARY_DIR}/${PROFNAME}:' \
+		CBLAS/CMakeLists.txt || die
+}
+
+src_configure() {
+	cblas_configure() {
+		local FCFLAGS="${FCFLAGS}"
+		append-fflags $($(tc-getPKG_CONFIG) --cflags ${blas_profname})
+		append-fflags $(get_abi_CFLAGS)
+		append-fflags $(numeric-int64_get_fortran_int64_abi_fflags)
+
+		local blas_profname=$(numeric-int64_get_blas_alternative)
+		local profname=$(numeric-int64_get_module_name)
+		local libname="${profname//-/_}"
+
+		local mycmakeargs=(
+			-Wno-dev
+			-DCBLAS=ON
+			-DPROFNAME="${profname}"
+			-DLIBNAME="${libname}"
+			-DUSE_OPTIMIZED_BLAS=ON
+			-DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${blas_profname})"
+			-DCMAKE_C_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CFLAGS}"
+			-DCMAKE_CXX_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CXXFLAGS}"
+			-DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) $(numeric-int64_get_fortran_int64_abi_fflags) ${FCFLAGS}"
+			-DLAPACK_PKGCONFIG_FFLAGS="$(numeric-int64_get_fortran_int64_abi_fflags)"
+			$(cmake-utils_use_build test TESTING)
+		)
+		if $(numeric-int64_is_static_build); then
+			mycmakeargs+=(
+				-DBUILD_SHARED_LIBS=OFF
+				-DBUILD_STATIC_LIBS=ON
+			)
+		else
+			mycmakeargs+=(
+				-DBUILD_SHARED_LIBS=ON
+				-DBUILD_STATIC_LIBS=OFF
+			)
+		fi
+		cmake-utils_src_configure
+	}
+	numeric-int64-multibuild_foreach_all_abi_variants cblas_configure
+}
+
+src_compile() {
+	local each target_dirs=( CBLAS )
+	use test && target_dirs+=( testing )
+	for each in ${target_dirs[@]}; do
+		numeric-int64-multibuild_foreach_all_abi_variants \
+			cmake-utils_src_compile -C ${each}
+	done
+
+}
+
+src_test() {
+	numeric-int64-multibuild_foreach_all_abi_variants cmake-utils_src_test
+}
+
+src_install() {
+	numeric-int64-multibuild_foreach_all_abi_variants cmake-utils_src_install -C CBLAS
+	numeric-int64-multibuild_install_alternative cblas reference /usr/include/cblas.h cblas/cblas.h
+	multilib_install_wrappers
+}


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2015-12-01  9:37 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2015-12-01  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     c1a60b4627ba2eb64806c2664c8c5252b863f78d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 09:36:55 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 09:36:55 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1a60b46

sci-libs/cblas-reference: Install header in own namespace

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 ...as-reference-20151113.ebuild => cblas-reference-20151113-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
similarity index 97%
rename from sci-libs/cblas-reference/cblas-reference-20151113.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
index e3e0436..bd7f08d 100644
--- a/sci-libs/cblas-reference/cblas-reference-20151113.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
@@ -57,6 +57,7 @@ src_prepare() {
 		CBLAS/testing/CMakeLists.txt || die
 	sed -i \
 		-e 's:BINARY_DIR}/cblas:BINARY_DIR}/${PROFNAME}:' \
+		-e '/CBLAS_INCLUDE/s:include ):include/${PROFNAME} ):g' \
 		CBLAS/CMakeLists.txt || die
 }
 
@@ -116,6 +117,6 @@ src_test() {
 
 src_install() {
 	numeric-int64-multibuild_foreach_all_abi_variants cmake-utils_src_install -C CBLAS
-	numeric-int64-multibuild_install_alternative cblas reference /usr/include/cblas.h cblas/cblas.h
+	numeric-int64-multibuild_install_alternative cblas reference /usr/include/cblas.h refcblas/cblas.h
 	multilib_install_wrappers
 }


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2015-12-03  9:54 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2015-12-03  9:54 UTC (permalink / raw
  To: gentoo-commits

commit:     2abc1f29863135018b9aa39108b4f51f97bb6aac
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Thu Dec  3 08:45:11 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 09:42:20 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2abc1f29

sci-libs/cblas-reference: revbump

 ...-reference-20151113-r1.ebuild => cblas-reference-20151113-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
similarity index 97%
rename from sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
index f00d975..3a03361 100644
--- a/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 
 NUMERIC_MODULE_NAME="refcblas"
 
-inherit alternatives-2 cmake-utils fortran-2 numeric-int64-multibuild python-any-r1 toolchain-funcs eutils
+inherit alternatives-2 cmake-utils eutils fortran-2 numeric-int64-multibuild python-any-r1 toolchain-funcs
 
 LPN=lapack
 LPV=3.6.0


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2015-12-03  9:55 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2015-12-03  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e99583862c16ab1c781c8c94eae865c0f097eaf7
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Thu Dec  3 08:45:11 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 08:45:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e9958386

sci-libs/cblas-reference: revbump

 ...-reference-20151113-r1.ebuild => cblas-reference-20151113-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
similarity index 97%
rename from sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
index f00d975..3a03361 100644
--- a/sci-libs/cblas-reference/cblas-reference-20151113-r1.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 
 NUMERIC_MODULE_NAME="refcblas"
 
-inherit alternatives-2 cmake-utils fortran-2 numeric-int64-multibuild python-any-r1 toolchain-funcs eutils
+inherit alternatives-2 cmake-utils eutils fortran-2 numeric-int64-multibuild python-any-r1 toolchain-funcs
 
 LPN=lapack
 LPV=3.6.0


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2015-12-08 14:52 Marius Brehler
  0 siblings, 0 replies; 19+ messages in thread
From: Marius Brehler @ 2015-12-08 14:52 UTC (permalink / raw
  To: gentoo-commits

commit:     b49c63f8cc6553462f345d35554dc2661400cf51
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Mon Dec  7 18:18:56 2015 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Dec  7 18:18:56 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b49c63f8

sci-libs/cblas-reference: Added missing virtual/blas dependency.

Package-Manager: portage-2.2.26

 sci-libs/cblas-reference/ChangeLog                          | 6 +++++-
 sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 6ba94df..d954157 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-libs/cblas-reference
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  07 Dec 2015; Ted Tanberry <ted.tanberry@gmail.com>
+  cblas-reference-20151113-r2.ebuild:
+  sci-libs/cblas-reference: Added missing virtual/blas dependency.
+
 *cblas-reference-20110218-r1 (13 Oct 2014)
 
   13 Oct 2014; Mark Wright <gienah@gentoo.org>

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
index 3a03361..4f62315 100644
--- a/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20151113-r2.ebuild
@@ -24,7 +24,7 @@ IUSE="static-libs test"
 
 REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND=""
+RDEPEND="virtual/blas"
 DEPEND="${RDEPEND}
 	test? ( ${PYTHON_DEPS} )
 	virtual/pkgconfig"


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2016-10-12  6:30 Marius Brehler
  0 siblings, 0 replies; 19+ messages in thread
From: Marius Brehler @ 2016-10-12  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     8e6a58cecd31421b91a206ad792a5c7dff0a5bb1
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 19:53:00 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Sep 24 20:10:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8e6a58ce

sci-libs/cblas-reference: revision bump to -r100

This ensures that blas-reference versions from ::science are preferred over
versions from ::gentoo.

Package-Manager: portage-2.2.28

 ...eference-20110218-r1.ebuild => cblas-reference-20110218-r100.ebuild} | 2 +-
 ...eference-20151113-r3.ebuild => cblas-reference-20151113-r100.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218-r1.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild
similarity index 99%
rename from sci-libs/cblas-reference/cblas-reference-20110218-r1.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild
index e875937..8f122a4 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218-r1.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/sci-libs/cblas-reference/cblas-reference-20151113-r3.ebuild b/sci-libs/cblas-reference/cblas-reference-20151113-r100.ebuild
similarity index 98%
rename from sci-libs/cblas-reference/cblas-reference-20151113-r3.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20151113-r100.ebuild
index 4f62315..76d47c8 100644
--- a/sci-libs/cblas-reference/cblas-reference-20151113-r3.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20151113-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2017-02-03 10:25 Marius Brehler
  0 siblings, 0 replies; 19+ messages in thread
From: Marius Brehler @ 2017-02-03 10:25 UTC (permalink / raw
  To: gentoo-commits

commit:     bbb2bbe9d2ffd2b35a762bb7d0c4febbdabaa9a7
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  3 02:54:12 2017 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Feb  3 02:54:12 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bbb2bbe9

sci-libs/cblas-reference: Drop unsupported keywords

 sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild
index 8f122a4..ad769fa 100644
--- a/sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20110218-r100.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://www.netlib.org/blas/blast-forum/${MYPN}.tgz -> ${P}.tgz"
 
 SLOT="0"
 LICENSE="public-domain"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 RDEPEND="virtual/blas"


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2017-02-19 14:45 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2017-02-19 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     00be0b2f37ec7a30e7d5d321d483b484a189f9bb
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 14:45:42 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 14:45:42 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=00be0b2f

sci-libs/cblas-reference: Fix installation path

fixes GH #730

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild b/sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild
index ba874d895..4fe79e8f7 100644
--- a/sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild
@@ -60,7 +60,7 @@ src_prepare() {
 		CBLAS/testing/CMakeLists.txt || die
 	sed -i \
 		-e 's:BINARY_DIR}/cblas:BINARY_DIR}/${PROFNAME}:' \
-		-e '/CBLAS_INCLUDE/s:include ):include/${PROFNAME} ):g' \
+		-e '/install/s:include):include/${PROFNAME}):g' \
 		CBLAS/CMakeLists.txt || die
 }
 


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/
@ 2018-11-01 17:59 Justin Lecher
  0 siblings, 0 replies; 19+ messages in thread
From: Justin Lecher @ 2018-11-01 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     b8571e136f0c12b108b260ddc4155b6b1be2609a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  1 17:58:40 2018 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Nov  1 17:59:05 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b8571e13

sci-libs/cblas-reference: Call cmake-utils_src_prepare

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild b/sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild
index b3f4cfe68..152e56324 100644
--- a/sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -34,8 +34,9 @@ PATCHES=( "${FILESDIR}/lapack-reference-${LPV}-fix-build-system.patch" )
 MULTILIB_WRAPPED_HEADERS=(
 	/usr/include/cblas/cblas.h
 )
+
 src_prepare() {
-	default
+	cmake-utils_src_prepare
 
 	# rename library to avoid collision with other blas implementations
 	# ${LIBNAME} and ${PROFNAME} are not defined here, they are in single


^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-11-01 17:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-18  7:38 [gentoo-commits] proj/sci:master commit in: sci-libs/cblas-reference/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2018-11-01 17:59 Justin Lecher
2017-02-19 14:45 Justin Lecher
2017-02-03 10:25 Marius Brehler
2016-10-12  6:30 Marius Brehler
2015-12-08 14:52 Marius Brehler
2015-12-03  9:55 Justin Lecher
2015-12-03  9:54 Justin Lecher
2015-12-01  9:37 Justin Lecher
2015-11-30 18:33 Justin Lecher
2014-07-02 22:11 Francois Bissey
2014-07-01  0:28 Francois Bissey
2013-12-28  8:43 Justin Lecher
2013-12-25 11:52 Justin Lecher
2012-12-13  0:10 Sebastien Fabbro
2012-07-12 20:43 Sebastien Fabbro
2012-02-24  0:58 Francois Bissey
2012-02-23  9:18 Justin Lecher
2011-08-22 19:26 Sebastien Fabbro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox