public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-08-19  0:25 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2011-08-19  0:25 UTC (permalink / raw
  To: gentoo-commits

commit:     d541cbcdbe6cd31957dd32179487eb69822cde1b
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Fri Aug 19 00:24:37 2011 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Fri Aug 19 00:24:37 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d541cbcd

Added eigen-9999.

---
 dev-cpp/eigen/ChangeLog         |  200 +++++++++++++++++++++++++++++++++++++++
 dev-cpp/eigen/eigen-9999.ebuild |   77 +++++++++++++++
 dev-cpp/eigen/metadata.xml      |   17 ++++
 3 files changed, 294 insertions(+), 0 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
new file mode 100644
index 0000000..fadff36
--- /dev/null
+++ b/dev-cpp/eigen/ChangeLog
@@ -0,0 +1,200 @@
+# ChangeLog for dev-cpp/eigen
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
+
+*eigen-9999 (18 Aug 2011)
+
+  18 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> +eigen-9999.ebuild,
+  +Manifest +metadata.xml:
+  Imported from bicatali overlay. Added unstable lapack implementation.
+
+*eigen-3.0.1-r1 (15 Jun 2011)
+
+  15 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.0-r1.ebuild,
+  +eigen-3.0.1-r1.ebuild:
+  Bump
+
+*eigen-3.0.0-r1 (31 Mar 2011)
+
+  31 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.0.0-r1.ebuild,
+  +metadata.xml:
+  Added a few extras flags to pull dependencies for unsupported eigen features.
+  Also now build a blas implementation
+
+*eigen-3.0.0 (25 Mar 2011)
+
+  25 Mar 2011; Justin Lecher <jlec@gentoo.org> eigen-2.0.13.ebuild,
+  eigen-2.0.15.ebuild, +eigen-3.0.0.ebuild:
+  Version Bump, Adapted to new tarball, #358761
+
+  13 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -eigen-2.0.5.ebuild,
+  -eigen-2.0.14.ebuild:
+  old
+
+  20 Oct 2010; Brent Baude <ranger@gentoo.org> eigen-2.0.13.ebuild:
+  Marking eigen-2.0.13 ppc for bug 327581
+
+*eigen-2.0.15 (03 Oct 2010)
+
+  03 Oct 2010; Justin Lecher <jlec@gentoo.org> eigen-2.0.13.ebuild,
+  eigen-2.0.14.ebuild, +eigen-2.0.15.ebuild:
+  Version Bump, 339258
+
+  27 Aug 2010; Raúl Porcel <armin76@gentoo.org> eigen-2.0.13.ebuild:
+  alpha/ia64/sparc stable wrt #327581
+
+  23 Jul 2010; Markus Meier <maekke@gentoo.org> eigen-2.0.13.ebuild:
+  amd64 stable, bug #327581
+
+  21 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> eigen-2.0.13.ebuild:
+  ppc64 stable wrt #327581
+
+  17 Jul 2010; Christian Faulhammer <fauli@gentoo.org> eigen-2.0.13.ebuild:
+  stable x86, bug 327581
+
+  14 Jul 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.13.ebuild:
+  Stable for HPPA (bug #327581).
+
+*eigen-2.0.14 (09 Jul 2010)
+
+  09 Jul 2010; Dror Levin <spatz@gentoo.org> -eigen-2.0.10.ebuild,
+  +eigen-2.0.14.ebuild:
+  Version bump, bug 327583. Drop old.
+
+*eigen-2.0.13 (13 Jun 2010)
+
+  13 Jun 2010; Dror Levin <spatz@gentoo.org> +eigen-2.0.13.ebuild:
+  Version bump, bug 323855.
+
+  20 Jan 2010; Jonathan Callen <abcd@gentoo.org> eigen-2.0.10.ebuild:
+  Keyword ~amd64-linux/~x86-linux; move blocker out of DEPEND; utilize the
+  fact that cmake caches -D arguments
+
+  14 Jan 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.5.ebuild:
+  Stable for HPPA (bug #295884).
+
+  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+  eigen-2.0.10.ebuild:
+  Reorder the deps to not rdepend on doxygen.
+
+  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+  eigen-2.0.10.ebuild:
+  Doc useflag require doxygen. Per bug #298074.
+
+  27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.5.ebuild:
+  alpha/ia64/sparc stable
+
+*eigen-2.0.10 (10 Dec 2009)
+
+  10 Dec 2009; Dror Levin <spatz@gentoo.org> -eigen-2.0.9.ebuild,
+  +eigen-2.0.10.ebuild:
+  Version bump and remove old, bug 296461.
+
+  10 Dec 2009; Jonathan Callen <abcd@gentoo.org> eigen-2.0.5.ebuild,
+  eigen-2.0.9.ebuild:
+  Convert mycmakeargs to an array (required due to usage in src_test)
+
+  05 Dec 2009; Jonathan Callen <abcd@gentoo.org> -eigen-2.0.4.ebuild,
+  -eigen-2.0.4-r1.ebuild, -files/eigen-2.0.4-gcc-4-1.patch,
+  -files/eigen-2.0.4-qt-test.patch, -eigen-2.0.6.ebuild:
+  Drop old ebuilds, patches
+
+  30 Nov 2009; Joseph Jezak <josejx@gentoo.org> Manifest:
+  Marked ppc/ppc64 stable.
+
+  29 Nov 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.9.ebuild:
+  Add ~sparc
+
+*eigen-2.0.9 (01 Nov 2009)
+
+  01 Nov 2009; Dror Levin <spatz@gentoo.org> +eigen-2.0.9.ebuild:
+  Version bump.
+
+  17 Oct 2009; Markus Meier <maekke@gentoo.org> eigen-2.0.5.ebuild:
+  x86 stable, bug #287955
+
+  09 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> eigen-2.0.5.ebuild:
+  amd64 stable wrt #287955
+
+*eigen-2.0.6 (26 Sep 2009)
+
+  26 Sep 2009; Patrick Lauer <patrick@gentoo.org> +eigen-2.0.6.ebuild:
+  Bump to 2.0.6, fixes #286462
+
+  22 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> -eigen-2.0.2.ebuild,
+  -eigen-2.0.3.ebuild:
+  Pruned old versions.
+
+*eigen-2.0.5 (22 Aug 2009)
+
+  22 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.5.ebuild:
+  Version bump.
+
+  21 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org>
+  files/eigen-2.0.4-qt-test.patch:
+  This should really fix bug 279824, all tests passed here.
+
+*eigen-2.0.4-r1 (21 Aug 2009)
+
+  21 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.4-r1.ebuild,
+  +files/eigen-2.0.4-gcc-4-1.patch:
+  Patch applied by Benoit Jacob upstream, fixes compilation issue with GCC
+  4.1. Closes bug 280588.
+
+*eigen-2.0.4 (01 Aug 2009)
+
+  01 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.4.ebuild,
+  +files/eigen-2.0.4-qt-test.patch:
+  Version bump, disabled fortran in testing for now - bug 279824.
+
+*eigen-2.0.3 (30 Jul 2009)
+
+  30 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +eigen-2.0.3.ebuild,
+  +files/eigen-ppc-define.patch:
+  Version bump.
+
+  04 Jun 2009; Tomas Chvatal <scarabeus@gentoo.org> -eigen-1.0.5.ebuild:
+  Drop old 1.0 series eigen. By rdep scans not needed anywhere.
+
+*eigen-2.0.2 (04 Jun 2009)
+
+  04 Jun 2009; Tomas Chvatal <scarabeus@gentoo.org> eigen-1.0.5.ebuild,
+  -eigen-2.0.0.ebuild, -eigen-2.0.1.ebuild, +eigen-2.0.2.ebuild:
+  Version bump. Remove old. Fix repoman warning. Per bug #272491.
+
+  18 Apr 2009; Jeroen Roovers <jer@gentoo.org> eigen-2.0.1:
+  Marked ~hppa (bug #260777).
+
+*eigen-2.0.1 (14 Apr 2009)
+
+  14 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> +eigen-2.0.1.ebuild:
+  Version bump.
+
+  11 Apr 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.0.ebuild:
+  Add ~alpha/~ia64 wrt #260777
+
+  09 Mar 2009; Brent Baude <ranger@gentoo.org> eigen-2.0.0.ebuild:
+  Marking eigen-2 ~ppc and ~ppc64 for bug 261754
+
+*eigen-2.0.0 (17 Feb 2009)
+
+  17 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> metadata.xml,
+  +eigen-2.0.0.ebuild:
+  Version bump. Add kde to maintainers, since we will use it for koffice2
+  and other kde packages in future.
+
+  02 Nov 2008; Mike Frysinger <vapier@gentoo.org> eigen-1.0.5.ebuild:
+  Add ppc/ppc64 love for KDE 4.
+
+  27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> eigen-1.0.5.ebuild:
+  keyworded ~x86, bug 182985
+
+  23 Jun 2007; Marcus D. Hanwell <cryos@gentoo.org> eigen-1.0.5.ebuild:
+  Marked stable on amd64.
+
+*eigen-1.0.5 (15 May 2007)
+
+  15 May 2007; Marcus D. Hanwell <cryos@gentoo.org> +metadata.xml,
+  +eigen-1.0.5.ebuild:
+  Initial import.
+

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
new file mode 100644
index 0000000..f56c555
--- /dev/null
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2 mercurial
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	sparse? ( dev-cpp/sparsehash
+			sci-libs/cholmod
+			sci-libs/superlu
+			sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_configure() {
+	#TOFIX: static-libs for blas are always built with PIC
+	#TOFIX: BTL benchmarks
+	#TOFIX: is it worth fixing all the automagic given no library is built?
+	mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	use fortran && FORTRAN_LIBS="blas lapack" # lapack not ready yet
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	pushd "${S}_build" > /dev/null
+	use doc && emake doc
+	use fortran && emake ${FORTRAN_LIBS}
+	use test && emake buildtests
+	popd > /dev/null
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		cat <<-EOF > ${libname}.pc
+			prefix=${EPREFIX}/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION}
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
new file mode 100644
index 0000000..9437282
--- /dev/null
+++ b/dev-cpp/eigen/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<herd>kde</herd>
+<longdescription lang='en'>
+  Eigen is a lightweight C++ template library for vector and matrix math,
+  a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
+  focuses on the simple mathematical needs of applications: games and other
+  OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
+  providing optimal speed with GCC.
+</longdescription>
+<use>
+  <flag name='adolc'>Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg></flag>
+  <flag name='sparse'>Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg></flag>
+</use>
+</pkgmetadata>



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-08-19  0:29 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2011-08-19  0:29 UTC (permalink / raw
  To: gentoo-commits

commit:     5663e5fa9166d83a5e5e8f5c99ec0ae75a342cf0
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Fri Aug 19 00:29:20 2011 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Fri Aug 19 00:29:20 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5663e5fa

Added eigen-3.0.1-r2.

---
 dev-cpp/eigen/ChangeLog             |    3 +
 dev-cpp/eigen/eigen-3.0.1-r2.ebuild |   81 +++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+), 0 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index fadff36..a3a9de0 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  18 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> +eigen-3.0.1-r2.ebuild:
+  Imported from bicatali overlay. Updated Manifest.
+
 *eigen-9999 (18 Aug 2011)
 
   18 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> +eigen-9999.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.0.1-r2.ebuild b/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
new file mode 100644
index 0000000..62dca95
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	sparse? ( dev-cpp/sparsehash
+			sci-libs/cholmod
+			sci-libs/superlu
+			sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_unpack() {
+	unpack ${A} && mv ${PN}* ${P}
+}
+
+src_configure() {
+	#TOFIX: static-libs for blas are always built with PIC
+	#TOFIX: BTL benchmarks
+	#TOFIX: is it worth fixing all the automagic given no library is built?
+	mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	pushd "${S}_build" > /dev/null
+	use doc && emake doc
+	use fortran && emake ${FORTRAN_LIBS}
+	use test && emake buildtests
+	popd > /dev/null
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		cat <<-EOF > ${libname}.pc
+			prefix="${EPREFIX}"/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION}
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-08-19 15:29 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2011-08-19 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     a83fb8ee7317fe234aa1f834bf544d27d9ec415a
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Fri Aug 19 15:29:07 2011 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Fri Aug 19 15:29:07 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a83fb8ee

Keywork-mask eigen-9999.

---
 dev-cpp/eigen/ChangeLog         |    5 +++++
 dev-cpp/eigen/eigen-9999.ebuild |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index a3a9de0..3132ef4 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  19 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> eigen-9999.ebuild
+  Removed ~x86 and ~amd64 keyworkds (mask).
+
+*eigen-3.0.1-r2 (18 Aug 2011)
+
   18 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> +eigen-3.0.1-r2.ebuild:
   Imported from bicatali overlay. Updated Manifest.
 

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index f56c555..a38852b 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://eigen.tuxfamily.org/"
 EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
 
 LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
 SLOT="3"
 IUSE="adolc fortran fftw doc gmp sparse static-libs test"
 



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-08-29 13:52 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2011-08-29 13:52 UTC (permalink / raw
  To: gentoo-commits

commit:     be045212e8821bee3c21559120d177b4d4556250
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Mon Aug 29 13:50:50 2011 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Mon Aug 29 13:50:50 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=be045212

Version bump.

---
 dev-cpp/eigen/ChangeLog          |    5 ++
 dev-cpp/eigen/eigen-3.0.2.ebuild |   82 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+), 0 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 3132ef4..1a25afe 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+* eigen-3.0.2 (29 Aug 2011)
+
+  29 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> eigen-3.0.2.ebuild
+  Version bump.
+
   19 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> eigen-9999.ebuild
   Removed ~x86 and ~amd64 keyworkds (mask).
 

diff --git a/dev-cpp/eigen/eigen-3.0.2.ebuild b/dev-cpp/eigen/eigen-3.0.2.ebuild
new file mode 100644
index 0000000..9b21428
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.0.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	sparse? ( dev-cpp/sparsehash
+			sci-libs/cholmod
+			sci-libs/superlu
+			sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_unpack() {
+	unpack ${A} && mv ${PN}* ${P}
+}
+
+src_configure() {
+	#TOFIX: static-libs for blas are always built with PIC
+	#TOFIX: BTL benchmarks
+	#TOFIX: is it worth fixing all the automagic given no library is built?
+	mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	pushd "${S}_build" > /dev/null
+	use doc && emake doc
+	use fortran && emake ${FORTRAN_LIBS}
+	use test && emake buildtests
+	popd > /dev/null
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		#TOFIX: lapack implementation needs a Requires: field in pc file.
+		cat <<-EOF > ${libname}.pc
+			prefix="${EPREFIX}"/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION}
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-08-29 14:49 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2011-08-29 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     adf7ee9f716600b6517159a57ef741bedecc8f21
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 14:45:16 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 14:45:16 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=adf7ee9f

Corrected doc installation, thanks James Cloos for the fix

(Portage version: 2.2.0_alpha51/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)

---
 dev-cpp/eigen/ChangeLog             |    4 ++++
 dev-cpp/eigen/eigen-3.0.1-r2.ebuild |    2 +-
 dev-cpp/eigen/eigen-9999.ebuild     |    2 +-
 dev-cpp/eigen/metadata.xml          |   14 +++++++-------
 4 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 3132ef4..3485cb2 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  29 Aug 2011; Justin Lecher <jlec@gentoo.org> eigen-3.0.1-r2.ebuild,
+  eigen-9999.ebuild, metadata.xml:
+  Corrected doc installation, thanks James Cloos for the fix
+
   19 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> eigen-9999.ebuild
   Removed ~x86 and ~amd64 keyworkds (mask).
 

diff --git a/dev-cpp/eigen/eigen-3.0.1-r2.ebuild b/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
index 62dca95..3271cc0 100644
--- a/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
+++ b/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
@@ -55,7 +55,7 @@ src_compile() {
 
 src_install() {
 	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
 	local x
 	for x in ${FORTRAN_LIBS}; do
 		local libname="eigen_${x}"

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index a38852b..61ea9cd 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -51,7 +51,7 @@ src_compile() {
 
 src_install() {
 	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
 	local x
 	for x in ${FORTRAN_LIBS}; do
 		local libname="eigen_${x}"

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index 9437282..a658022 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<herd>kde</herd>
-<longdescription lang='en'>
+	<herd>sci</herd>
+	<herd>kde</herd>
+	<longdescription lang="en">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-<use>
-  <flag name='adolc'>Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg></flag>
-  <flag name='sparse'>Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg></flag>
-</use>
+	<use>
+		<flag name="adolc">Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg></flag>
+		<flag name="sparse">Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg></flag>
+	</use>
 </pkgmetadata>



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-10-07 10:53 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2011-10-07 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     628aafc273c194da64fa3eb4fba84efab23e9243
Author:     spiros <spiros <AT> spib <DOT> (none)>
AuthorDate: Fri Oct  7 10:52:52 2011 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Fri Oct  7 10:52:52 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=628aafc2

[dev-cpp/eigen] Version bump

---
 dev-cpp/eigen/ChangeLog          |   25 +++++++-----
 dev-cpp/eigen/eigen-3.0.3.ebuild |   82 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+), 10 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 87125c3..cbe1086 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+* eigen-3.0.3 (7 Oct 2011)
+
+  7 Oct 2011; Andrea Arteaga <andyspiros@gmail.com> eigen-3.0.3.ebuild
+  Version bump.
+
 *eigen-3.0.2 (29 Aug 2011)
 
   29 Aug 2011; Justin Lecher <jlec@gentoo.org> +eigen-3.0.2.ebuild:
@@ -32,13 +37,13 @@
 
 *eigen-3.0.1-r1 (15 Jun 2011)
 
-  15 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.0-r1.ebuild,
+  15 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.0-r1.ebuild,
   +eigen-3.0.1-r1.ebuild:
   Bump
 
 *eigen-3.0.0-r1 (31 Mar 2011)
 
-  31 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.0.0-r1.ebuild,
+  31 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.0.0-r1.ebuild,
   +metadata.xml:
   Added a few extras flags to pull dependencies for unsupported eigen features.
   Also now build a blas implementation
@@ -49,7 +54,7 @@
   eigen-2.0.15.ebuild, +eigen-3.0.0.ebuild:
   Version Bump, Adapted to new tarball, #358761
 
-  13 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -eigen-2.0.5.ebuild,
+  13 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -eigen-2.0.5.ebuild,
   -eigen-2.0.14.ebuild:
   old
 
@@ -62,7 +67,7 @@
   eigen-2.0.14.ebuild, +eigen-2.0.15.ebuild:
   Version Bump, 339258
 
-  27 Aug 2010; Raúl Porcel <armin76@gentoo.org> eigen-2.0.13.ebuild:
+  27 Aug 2010; Raúl Porcel <armin76@gentoo.org> eigen-2.0.13.ebuild:
   alpha/ia64/sparc stable wrt #327581
 
   23 Jul 2010; Markus Meier <maekke@gentoo.org> eigen-2.0.13.ebuild:
@@ -95,15 +100,15 @@
   14 Jan 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.5.ebuild:
   Stable for HPPA (bug #295884).
 
-  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
   eigen-2.0.10.ebuild:
   Reorder the deps to not rdepend on doxygen.
 
-  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
   eigen-2.0.10.ebuild:
   Doc useflag require doxygen. Per bug #298074.
 
-  27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.5.ebuild:
+  27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.5.ebuild:
   alpha/ia64/sparc stable
 
 *eigen-2.0.10 (10 Dec 2009)
@@ -124,7 +129,7 @@
   30 Nov 2009; Joseph Jezak <josejx@gentoo.org> Manifest:
   Marked ppc/ppc64 stable.
 
-  29 Nov 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.9.ebuild:
+  29 Nov 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.9.ebuild:
   Add ~sparc
 
 *eigen-2.0.9 (01 Nov 2009)
@@ -171,7 +176,7 @@
 
 *eigen-2.0.3 (30 Jul 2009)
 
-  30 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +eigen-2.0.3.ebuild,
+  30 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +eigen-2.0.3.ebuild,
   +files/eigen-ppc-define.patch:
   Version bump.
 
@@ -192,7 +197,7 @@
   14 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> +eigen-2.0.1.ebuild:
   Version bump.
 
-  11 Apr 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.0.ebuild:
+  11 Apr 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.0.ebuild:
   Add ~alpha/~ia64 wrt #260777
 
   09 Mar 2009; Brent Baude <ranger@gentoo.org> eigen-2.0.0.ebuild:

diff --git a/dev-cpp/eigen/eigen-3.0.3.ebuild b/dev-cpp/eigen/eigen-3.0.3.ebuild
new file mode 100644
index 0000000..57a9557
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.0.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	sparse? ( dev-cpp/sparsehash
+			sci-libs/cholmod
+			sci-libs/superlu
+			sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_unpack() {
+	unpack ${A} && mv ${PN}* ${P}
+}
+
+src_configure() {
+	#TOFIX: static-libs for blas are always built with PIC
+	#TOFIX: BTL benchmarks
+	#TOFIX: is it worth fixing all the automagic given no library is built?
+	mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	pushd "${S}_build" > /dev/null
+	use doc && emake doc
+	use fortran && emake ${FORTRAN_LIBS}
+	use test && emake buildtests
+	popd > /dev/null
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		#TOFIX: lapack implementation needs a Requires: field in pc file.
+		cat <<-EOF > ${libname}.pc
+			prefix="${EPREFIX}"/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION}
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2011-12-20 18:00 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2011-12-20 18:00 UTC (permalink / raw
  To: gentoo-commits

commit:     fbefd9251d8b5e16a78c6d759751ecfc5a111e02
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Tue Dec 20 18:00:32 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 18:00:32 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fbefd925

eigen: version bump

---
 dev-cpp/eigen/ChangeLog                            |    6 ++
 dev-cpp/eigen/eigen-3.0.1-r2.ebuild                |   81 -------------------
 dev-cpp/eigen/eigen-3.0.3.ebuild                   |   82 --------------------
 .../{eigen-3.0.2.ebuild => eigen-3.0.4.ebuild}     |    0
 4 files changed, 6 insertions(+), 163 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index cbe1086..67289a1 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.0.4 (20 Dec 2011)
+
+  20 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.1-r2.ebuild,
+  -eigen-3.0.2.ebuild, -eigen-3.0.3.ebuild, +eigen-3.0.4.ebuild:
+  Version bump
+
 * eigen-3.0.3 (7 Oct 2011)
 
   7 Oct 2011; Andrea Arteaga <andyspiros@gmail.com> eigen-3.0.3.ebuild

diff --git a/dev-cpp/eigen/eigen-3.0.1-r2.ebuild b/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
deleted file mode 100644
index 3271cc0..0000000
--- a/dev-cpp/eigen/eigen-3.0.1-r2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit cmake-utils alternatives-2
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86"
-SLOT="3"
-IUSE="adolc fortran fftw doc gmp sparse static-libs test"
-
-CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( >=sci-libs/fftw-3 )
-	gmp? ( dev-libs/gmp dev-libs/mpfr )
-	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod
-			sci-libs/superlu
-			sci-libs/umfpack )"
-
-DEPEND="doc? ( app-doc/doxygen )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_unpack() {
-	unpack ${A} && mv ${PN}* ${P}
-}
-
-src_configure() {
-	#TOFIX: static-libs for blas are always built with PIC
-	#TOFIX: BTL benchmarks
-	#TOFIX: is it worth fixing all the automagic given no library is built?
-	mycmakeargs=(
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	pushd "${S}_build" > /dev/null
-	use doc && emake doc
-	use fortran && emake ${FORTRAN_LIBS}
-	use test && emake buildtests
-	popd > /dev/null
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		cd "${CMAKE_BUILD_DIR}"/${x}
-		dolib.so lib${libname}.so
-		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		cat <<-EOF > ${libname}.pc
-			prefix="${EPREFIX}"/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION}
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}

diff --git a/dev-cpp/eigen/eigen-3.0.3.ebuild b/dev-cpp/eigen/eigen-3.0.3.ebuild
deleted file mode 100644
index 57a9557..0000000
--- a/dev-cpp/eigen/eigen-3.0.3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit cmake-utils alternatives-2
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86"
-SLOT="3"
-IUSE="adolc fortran fftw doc gmp sparse static-libs test"
-
-CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( >=sci-libs/fftw-3 )
-	gmp? ( dev-libs/gmp dev-libs/mpfr )
-	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod
-			sci-libs/superlu
-			sci-libs/umfpack )"
-
-DEPEND="doc? ( app-doc/doxygen )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_unpack() {
-	unpack ${A} && mv ${PN}* ${P}
-}
-
-src_configure() {
-	#TOFIX: static-libs for blas are always built with PIC
-	#TOFIX: BTL benchmarks
-	#TOFIX: is it worth fixing all the automagic given no library is built?
-	mycmakeargs=(
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	pushd "${S}_build" > /dev/null
-	use doc && emake doc
-	use fortran && emake ${FORTRAN_LIBS}
-	use test && emake buildtests
-	popd > /dev/null
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		cd "${CMAKE_BUILD_DIR}"/${x}
-		dolib.so lib${libname}.so
-		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		#TOFIX: lapack implementation needs a Requires: field in pc file.
-		cat <<-EOF > ${libname}.pc
-			prefix="${EPREFIX}"/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION}
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}

diff --git a/dev-cpp/eigen/eigen-3.0.2.ebuild b/dev-cpp/eigen/eigen-3.0.4.ebuild
similarity index 100%
rename from dev-cpp/eigen/eigen-3.0.2.ebuild
rename to dev-cpp/eigen/eigen-3.0.4.ebuild



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-02-10 21:39 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2012-02-10 21:39 UTC (permalink / raw
  To: gentoo-commits

commit:     1fc896166389179cfd0f34a83e6ed06ee8aa499c
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Fri Feb 10 21:38:13 2012 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Fri Feb 10 21:38:13 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1fc89616

[dev-cpp/eigen] version bump.

---
 dev-cpp/eigen/ChangeLog          |    5 ++
 dev-cpp/eigen/eigen-3.0.5.ebuild |   82 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+), 0 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 67289a1..dab4e97 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+* eigen-3.0.5 (10 Feb 2012)
+
+  10 Feb 2012; Andrea Arteaga <andyspiros@gmail.com> eigen-3.0.5.ebuild
+  Version bump.
+
 *eigen-3.0.4 (20 Dec 2011)
 
   20 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.1-r2.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.0.5.ebuild b/dev-cpp/eigen/eigen-3.0.5.ebuild
new file mode 100644
index 0000000..57a9557
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.0.5.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	sparse? ( dev-cpp/sparsehash
+			sci-libs/cholmod
+			sci-libs/superlu
+			sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_unpack() {
+	unpack ${A} && mv ${PN}* ${P}
+}
+
+src_configure() {
+	#TOFIX: static-libs for blas are always built with PIC
+	#TOFIX: BTL benchmarks
+	#TOFIX: is it worth fixing all the automagic given no library is built?
+	mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	pushd "${S}_build" > /dev/null
+	use doc && emake doc
+	use fortran && emake ${FORTRAN_LIBS}
+	use test && emake buildtests
+	popd > /dev/null
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		#TOFIX: lapack implementation needs a Requires: field in pc file.
+		cat <<-EOF > ${libname}.pc
+			prefix="${EPREFIX}"/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION}
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-03-25  1:36 Andrea Arteaga
  0 siblings, 0 replies; 36+ messages in thread
From: Andrea Arteaga @ 2012-03-25  1:36 UTC (permalink / raw
  To: gentoo-commits

commit:     8ad7de928590a948815fee83377ca33df3e32f53
Author:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
AuthorDate: Sun Mar 25 01:33:34 2012 +0000
Commit:     Andrea Arteaga <andyspiros <AT> gmail <DOT> com>
CommitDate: Sun Mar 25 01:33:34 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8ad7de92

[dev-cpp/eigen] Added 3.1.0_alpha2 version. Uncomplete lapack implementation.

---
 dev-cpp/eigen/ChangeLog                 |    7 ++-
 dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild |   91 +++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+), 1 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index dab4e97..564da53 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,12 +2,17 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+* eigen-3.1.0_alpha2 (25 Feb 2012)
+
+  25 Feb 2012; Andrea Arteaga <andyspiros@gmail.com> eigen-3.1.0_alpha2.ebuild
+  Version bump.
+
 * eigen-3.0.5 (10 Feb 2012)
 
   10 Feb 2012; Andrea Arteaga <andyspiros@gmail.com> eigen-3.0.5.ebuild
   Version bump.
 
-*eigen-3.0.4 (20 Dec 2011)
+* eigen-3.0.4 (20 Dec 2011)
 
   20 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.1-r2.ebuild,
   -eigen-3.0.2.ebuild, -eigen-3.0.3.ebuild, +eigen-3.0.4.ebuild:

diff --git a/dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild b/dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild
new file mode 100644
index 0000000..a8f69ba
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+
+MYPV=${PV/_/-}
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${MYPV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS=""
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	sparse? ( dev-cpp/sparsehash
+			sci-libs/cholmod
+			sci-libs/superlu
+			sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_unpack() {
+	unpack ${A} && mv ${PN}* ${P}
+}
+
+src_configure() {
+	#TOFIX: static-libs for blas are always built with PIC
+	#TOFIX: BTL benchmarks
+	#TOFIX: is it worth fixing all the automagic given no library is built?
+	mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	use fortran && FORTRAN_LIBS="blas lapack" # lapack not ready yet
+}
+
+src_compile() {
+	cmake-utils_src_compile
+	pushd "${S}_build" > /dev/null
+	use doc && emake doc
+	use fortran && emake ${FORTRAN_LIBS}
+	use test && emake buildtests
+	popd > /dev/null
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+
+		if [[ $x = "lapack" ]]; then
+			requires="Requires: blas"
+		else
+			requires=""
+		fi
+
+		cat <<-EOF > ${libname}.pc
+			prefix="${EPREFIX}"/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION}
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+			${requires}
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-06-29  0:27 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2012-06-29  0:27 UTC (permalink / raw
  To: gentoo-commits

commit:     6e42abef05166f8b5ff4b9c13acecfca56125da4
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Fri Jun 29 00:26:45 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jun 29 00:26:45 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6e42abef

dev-cpp/eigen: version bump

---
 dev-cpp/eigen/ChangeLog                            |    8 ++-
 dev-cpp/eigen/eigen-3.0.4.ebuild                   |   82 --------------------
 ...igen-3.1.0_alpha2.ebuild => eigen-3.1.0.ebuild} |   50 ++++++-------
 3 files changed, 30 insertions(+), 110 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 564da53..1b01212 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-cpp/eigen
-# 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/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.1.0 (29 Jun 2012)
+
+  29 Jun 2012; Sebastien Fabbro <fabbros@gentoo.org> -eigen-3.0.4.ebuild,
+  -eigen-3.1.0_alpha2.ebuild, +eigen-3.1.0.ebuild:
+  Version bump. Still work in progress, should be fine with -fortran
+
 * eigen-3.1.0_alpha2 (25 Feb 2012)
 
   25 Feb 2012; Andrea Arteaga <andyspiros@gmail.com> eigen-3.1.0_alpha2.ebuild

diff --git a/dev-cpp/eigen/eigen-3.0.4.ebuild b/dev-cpp/eigen/eigen-3.0.4.ebuild
deleted file mode 100644
index 57a9557..0000000
--- a/dev-cpp/eigen/eigen-3.0.4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit cmake-utils alternatives-2
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86"
-SLOT="3"
-IUSE="adolc fortran fftw doc gmp sparse static-libs test"
-
-CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( >=sci-libs/fftw-3 )
-	gmp? ( dev-libs/gmp dev-libs/mpfr )
-	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod
-			sci-libs/superlu
-			sci-libs/umfpack )"
-
-DEPEND="doc? ( app-doc/doxygen )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_unpack() {
-	unpack ${A} && mv ${PN}* ${P}
-}
-
-src_configure() {
-	#TOFIX: static-libs for blas are always built with PIC
-	#TOFIX: BTL benchmarks
-	#TOFIX: is it worth fixing all the automagic given no library is built?
-	mycmakeargs=(
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	pushd "${S}_build" > /dev/null
-	use doc && emake doc
-	use fortran && emake ${FORTRAN_LIBS}
-	use test && emake buildtests
-	popd > /dev/null
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		cd "${CMAKE_BUILD_DIR}"/${x}
-		dolib.so lib${libname}.so
-		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		#TOFIX: lapack implementation needs a Requires: field in pc file.
-		cat <<-EOF > ${libname}.pc
-			prefix="${EPREFIX}"/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION}
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}

diff --git a/dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild b/dev-cpp/eigen/eigen-3.1.0.ebuild
similarity index 62%
rename from dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild
rename to dev-cpp/eigen/eigen-3.1.0.ebuild
index a8f69ba..af3759a 100644
--- a/dev-cpp/eigen/eigen-3.1.0_alpha2.ebuild
+++ b/dev-cpp/eigen/eigen-3.1.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=4
 
-inherit cmake-utils alternatives-2
+inherit cmake-utils alternatives-2 fortran-2 multilib
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
@@ -13,46 +13,49 @@ MYPV=${PV/_/-}
 SRC_URI="http://bitbucket.org/eigen/eigen/get/${MYPV}.tar.bz2 -> ${P}.tar.bz2"
 
 LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 SLOT="3"
-IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
 
+# TODO: support for pastix
 CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
 	fftw? ( >=sci-libs/fftw-3 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	mkl? ( sci-libs/mkl )
 	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod
+			sci-libs/cholmod[metis]
 			sci-libs/superlu
 			sci-libs/umfpack )"
 
-DEPEND="doc? ( app-doc/doxygen )
+DEPEND="doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
 
 RDEPEND="!dev-cpp/eigen:0
 	${CDEPEND}"
 
+pkg_setup() {
+	use fortran && fortran-2_pkg_setup
+}
+
 src_unpack() {
 	unpack ${A} && mv ${PN}* ${P}
 }
 
 src_configure() {
-	#TOFIX: static-libs for blas are always built with PIC
-	#TOFIX: BTL benchmarks
-	#TOFIX: is it worth fixing all the automagic given no library is built?
+	# TOFIX: static-libs for blas are always built with PIC
+	# TOFIX: BTL benchmarks
+	# TOFIX: is it worth fixing all the automagic given no library is built?
 	mycmakeargs=(
 		-DEIGEN_BUILD_BTL=OFF
 	)
 	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas lapack" # lapack not ready yet
+	use fortran && FORTRAN_LIBS="blas lapack"
 }
 
 src_compile() {
-	cmake-utils_src_compile
-	pushd "${S}_build" > /dev/null
-	use doc && emake doc
-	use fortran && emake ${FORTRAN_LIBS}
-	use test && emake buildtests
-	popd > /dev/null
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	cmake-utils_src_compile ${targets}
 }
 
 src_install() {
@@ -64,24 +67,17 @@ src_install() {
 		cd "${CMAKE_BUILD_DIR}"/${x}
 		dolib.so lib${libname}.so
 		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-
-		if [[ $x = "lapack" ]]; then
-			requires="Requires: blas"
-		else
-			requires=""
-		fi
-
-		cat <<-EOF > ${libname}.pc
-			prefix="${EPREFIX}"/usr
+		cat > ${libname}.pc <<-EOF
+			prefix=${EPREFIX}/usr
 			libdir=\${prefix}/$(get_libdir)
 			includedir=\${prefix}/include
 			Name: ${PN}
-			Description: ${DESCRIPTION}
+			Description: ${DESCRIPTION} ${x^^} implementation
 			Version: ${PV}
 			URL: ${HOMEPAGE}
 			Libs: -L\${libdir} -l${libname}
 			Libs.private: -lm
-			${requires}
+			$([[ ${x} == lapack ]] && echo "Requires: blas")
 		EOF
 		alternatives_for ${x} eigen 0 \
 			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-07-09 20:57 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2012-07-09 20:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ee42e97672ffac9e93f5d7c3bccded16fe53c088
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Mon Jul  9 20:57:19 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jul  9 20:57:19 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee42e976

dev-cpp/eigen: version bump and more test fixes

---
 dev-cpp/eigen/ChangeLog                            |    9 +++
 .../{eigen-3.0.5.ebuild => eigen-3.0.6-r1.ebuild}  |   39 +++++++------
 dev-cpp/eigen/eigen-3.1.0-r1.ebuild                |    1 +
 dev-cpp/eigen/eigen-9999.ebuild                    |   58 +++++++++++++-------
 dev-cpp/eigen/metadata.xml                         |   17 ++++---
 5 files changed, 80 insertions(+), 44 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 1b01212..9f17a2e 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,15 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.1.0-r1 (09 Jul 2012)
+*eigen-3.0.6-r1 (09 Jul 2012)
+
+  09 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.5.ebuild,
+  +eigen-3.0.6-r1.ebuild, -eigen-3.1.0.ebuild, +eigen-3.1.0-r1.ebuild,
+  eigen-9999.ebuild, metadata.xml:
+  now can really build for tests, remove lapack (not yet complete). Revision
+  bump to avoid possible conflict with main tree. Merge 3.1 and live ebuild
+
 *eigen-3.1.0 (29 Jun 2012)
 
   29 Jun 2012; Sebastien Fabbro <fabbros@gentoo.org> -eigen-3.0.4.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.0.5.ebuild b/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
similarity index 65%
rename from dev-cpp/eigen/eigen-3.0.5.ebuild
rename to dev-cpp/eigen/eigen-3.0.6-r1.ebuild
index 57a9557..c98fb2e 100644
--- a/dev-cpp/eigen/eigen-3.0.5.ebuild
+++ b/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=4
 
-inherit cmake-utils alternatives-2
+inherit cmake-utils alternatives-2 fortran-2 multilib
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
 SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
 
 LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 SLOT="3"
 IUSE="adolc fortran fftw doc gmp sparse static-libs test"
 
@@ -19,38 +19,41 @@ CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
 	fftw? ( >=sci-libs/fftw-3 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
 	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod
+			sci-libs/cholmod[metis]
 			sci-libs/superlu
 			sci-libs/umfpack )"
 
-DEPEND="doc? ( app-doc/doxygen )
+DEPEND="doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
 
 RDEPEND="!dev-cpp/eigen:0
 	${CDEPEND}"
 
+pkg_setup() {
+	use fortran && fortran-2_pkg_setup
+}
+
 src_unpack() {
 	unpack ${A} && mv ${PN}* ${P}
 }
 
 src_configure() {
-	#TOFIX: static-libs for blas are always built with PIC
-	#TOFIX: BTL benchmarks
-	#TOFIX: is it worth fixing all the automagic given no library is built?
+	# TOFIX: static-libs for blas are always built with PIC
+	# TOFIX: is it worth fixing all the automagic given no library is built?
 	mycmakeargs=(
 		-DEIGEN_BUILD_BTL=OFF
+		$(cmake-utils_use test EIGEN_BUILD_TESTS)
+		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)
 	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
 	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
 }
 
 src_compile() {
-	cmake-utils_src_compile
-	pushd "${S}_build" > /dev/null
-	use doc && emake doc
-	use fortran && emake ${FORTRAN_LIBS}
-	use test && emake buildtests
-	popd > /dev/null
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" buildtests"
+	cmake-utils_src_compile ${targets}
 }
 
 src_install() {
@@ -62,17 +65,17 @@ src_install() {
 		cd "${CMAKE_BUILD_DIR}"/${x}
 		dolib.so lib${libname}.so
 		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		#TOFIX: lapack implementation needs a Requires: field in pc file.
-		cat <<-EOF > ${libname}.pc
-			prefix="${EPREFIX}"/usr
+		cat > ${libname}.pc <<-EOF
+			prefix=${EPREFIX}/usr
 			libdir=\${prefix}/$(get_libdir)
 			includedir=\${prefix}/include
 			Name: ${PN}
-			Description: ${DESCRIPTION}
+			Description: ${DESCRIPTION} ${x^^} implementation
 			Version: ${PV}
 			URL: ${HOMEPAGE}
 			Libs: -L\${libdir} -l${libname}
 			Libs.private: -lm
+			$([[ ${x} == lapack ]] && echo "Requires: blas")
 		EOF
 		alternatives_for ${x} eigen 0 \
 			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc

diff --git a/dev-cpp/eigen/eigen-3.1.0-r1.ebuild b/dev-cpp/eigen/eigen-3.1.0-r1.ebuild
new file mode 120000
index 0000000..eafd774
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.1.0-r1.ebuild
@@ -0,0 +1 @@
+eigen-9999.ebuild
\ No newline at end of file

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 61ea9cd..610c606 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -1,52 +1,71 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=4
 
-inherit cmake-utils alternatives-2 mercurial
+if [[ ${PV} == "9999" ]] ; then
+	_SCM=mercurial
+	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit cmake-utils alternatives-2 fortran-2 multilib ${_SCM}
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
-EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
 
 LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS=""
 SLOT="3"
-IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
 
+# TODO: support for pastix
 CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+	fortran? ( virtual/fortran )
 	fftw? ( >=sci-libs/fftw-3 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	mkl? ( sci-libs/mkl )
 	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod
+			sci-libs/cholmod[metis]
 			sci-libs/superlu
 			sci-libs/umfpack )"
 
-DEPEND="doc? ( app-doc/doxygen )
+DEPEND="doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
 
 RDEPEND="!dev-cpp/eigen:0
 	${CDEPEND}"
 
+pkg_setup() {
+	use fortran && fortran-2_pkg_setup
+}
+
+src_unpack() {
+	unpack ${A} && mv ${PN}* ${P}
+}
+
 src_configure() {
-	#TOFIX: static-libs for blas are always built with PIC
-	#TOFIX: BTL benchmarks
-	#TOFIX: is it worth fixing all the automagic given no library is built?
+	# TOFIX: static-libs for blas are always built with PIC
+	# TOFIX: is it worth fixing all the automagic given no library is built?
 	mycmakeargs=(
 		-DEIGEN_BUILD_BTL=OFF
+		$(cmake-utils_use test EIGEN_BUILD_TESTS)
+		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)
 	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas lapack" # lapack not ready yet
+	# lapack not ready yet?
+	use fortran && FORTRAN_LIBS="blas"
 }
 
 src_compile() {
-	cmake-utils_src_compile
-	pushd "${S}_build" > /dev/null
-	use doc && emake doc
-	use fortran && emake ${FORTRAN_LIBS}
-	use test && emake buildtests
-	popd > /dev/null
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" buildtests"
+	cmake-utils_src_compile ${targets}
 }
 
 src_install() {
@@ -58,16 +77,17 @@ src_install() {
 		cd "${CMAKE_BUILD_DIR}"/${x}
 		dolib.so lib${libname}.so
 		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		cat <<-EOF > ${libname}.pc
+		cat > ${libname}.pc <<-EOF
 			prefix=${EPREFIX}/usr
 			libdir=\${prefix}/$(get_libdir)
 			includedir=\${prefix}/include
 			Name: ${PN}
-			Description: ${DESCRIPTION}
+			Description: ${DESCRIPTION} ${x^^} implementation
 			Version: ${PV}
 			URL: ${HOMEPAGE}
 			Libs: -L\${libdir} -l${libname}
 			Libs.private: -lm
+			$([[ ${x} == lapack ]] && echo "Requires: blas")
 		EOF
 		alternatives_for ${x} eigen 0 \
 			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index a658022..6e9235c 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,17 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci</herd>
-	<herd>kde</herd>
-	<longdescription lang="en">
+<herd>sci</herd>
+<longdescription lang="en">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-	<use>
-		<flag name="adolc">Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg></flag>
-		<flag name="sparse">Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg></flag>
-	</use>
+<use>
+  <flag name="adolc">
+    Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
+  </flag>
+  <flag name="sparse">
+    Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
+  </flag>
+</use>
 </pkgmetadata>



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-07-09 23:48 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2012-07-09 23:48 UTC (permalink / raw
  To: gentoo-commits

commit:     b3bd188c36dfc11ac5ab500839025c62f83b0b45
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Mon Jul  9 23:48:28 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jul  9 23:48:28 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b3bd188c

remove old

---
 dev-cpp/eigen/eigen-3.1.0.ebuild |   87 --------------------------------------
 1 files changed, 0 insertions(+), 87 deletions(-)

diff --git a/dev-cpp/eigen/eigen-3.1.0.ebuild b/dev-cpp/eigen/eigen-3.1.0.ebuild
deleted file mode 100644
index af3759a..0000000
--- a/dev-cpp/eigen/eigen-3.1.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit cmake-utils alternatives-2 fortran-2 multilib
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-
-MYPV=${PV/_/-}
-SRC_URI="http://bitbucket.org/eigen/eigen/get/${MYPV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-SLOT="3"
-IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
-
-# TODO: support for pastix
-CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( >=sci-libs/fftw-3 )
-	gmp? ( dev-libs/gmp dev-libs/mpfr )
-	mkl? ( sci-libs/mkl )
-	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod[metis]
-			sci-libs/superlu
-			sci-libs/umfpack )"
-
-DEPEND="doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="!dev-cpp/eigen:0
-	${CDEPEND}"
-
-pkg_setup() {
-	use fortran && fortran-2_pkg_setup
-}
-
-src_unpack() {
-	unpack ${A} && mv ${PN}* ${P}
-}
-
-src_configure() {
-	# TOFIX: static-libs for blas are always built with PIC
-	# TOFIX: BTL benchmarks
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	mycmakeargs=(
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas lapack"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		cd "${CMAKE_BUILD_DIR}"/${x}
-		dolib.so lib${libname}.so
-		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		cat > ${libname}.pc <<-EOF
-			prefix=${EPREFIX}/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION} ${x^^} implementation
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-			$([[ ${x} == lapack ]] && echo "Requires: blas")
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}



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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-07-26 21:07 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2012-07-26 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     0326d807c445d1ab420bec121a8cec5ab88c3528
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Thu Jul 26 21:07:22 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Jul 26 21:07:22 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0326d807

dev-cpp/eigen: Version bump. Changed license to MPL-2

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

---
 dev-cpp/eigen/ChangeLog                            |    7 ++++++-
 ...eigen-3.1.0-r1.ebuild => eigen-3.1.1-r1.ebuild} |    0
 dev-cpp/eigen/eigen-9999.ebuild                    |    3 ++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 9f17a2e..595a02d 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.1.1-r1 (26 Jul 2012)
+
+  26 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.1-r1.ebuild,
+  -eigen-3.1.0-r1.ebuild, eigen-9999.ebuild:
+  dev-cpp/eigen: Version bump. Changed license to MPL-2
+
 *eigen-3.1.0-r1 (09 Jul 2012)
 *eigen-3.0.6-r1 (09 Jul 2012)
 
@@ -255,4 +261,3 @@
   15 May 2007; Marcus D. Hanwell <cryos@gentoo.org> +metadata.xml,
   +eigen-1.0.5.ebuild:
   Initial import.
-

diff --git a/dev-cpp/eigen/eigen-3.1.0-r1.ebuild b/dev-cpp/eigen/eigen-3.1.1-r1.ebuild
similarity index 100%
rename from dev-cpp/eigen/eigen-3.1.0-r1.ebuild
rename to dev-cpp/eigen/eigen-3.1.1-r1.ebuild

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 610c606..973ffbf 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -19,7 +19,7 @@ inherit cmake-utils alternatives-2 fortran-2 multilib ${_SCM}
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
 
-LICENSE="|| ( LGPL-3 GPL-2 )"
+LICENSE="MPL-2.0"
 SLOT="3"
 IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
 
@@ -53,6 +53,7 @@ src_configure() {
 	# TOFIX: is it worth fixing all the automagic given no library is built?
 	mycmakeargs=(
 		-DEIGEN_BUILD_BTL=OFF
+		-DEIGEN_TEST_NO_OPENGL=ON
 		$(cmake-utils_use test EIGEN_BUILD_TESTS)
 		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-10-25 15:54 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2012-10-25 15:54 UTC (permalink / raw
  To: gentoo-commits

commit:     523e75bce6f5acc7354ae8a4e09d270d6570137e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 25 15:54:01 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Oct 25 15:54:01 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=523e75bc

dev-cpp/eigen: Use vcs-snapshot.eclass, correct usage of fortran-2.eclass, some layout improvements

Package-Manager: portage-2.2.0_alpha141

---
 dev-cpp/eigen/ChangeLog             |    5 ++++
 dev-cpp/eigen/eigen-3.0.6-r1.ebuild |   37 +++++++++++++++++------------------
 dev-cpp/eigen/eigen-9999.ebuild     |   34 +++++++++++++++-----------------
 dev-cpp/eigen/metadata.xml          |   15 ++++++++-----
 4 files changed, 48 insertions(+), 43 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 595a02d..471649a 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  25 Oct 2012; Justin Lecher <jlec@gentoo.org> eigen-3.0.6-r1.ebuild,
+  eigen-9999.ebuild, metadata.xml:
+  Use vcs-snapshot.eclass, correct usage of fortran-2.eclass, some layout
+  improvements
+
 *eigen-3.1.1-r1 (26 Jul 2012)
 
   26 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.1-r1.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.0.6-r1.ebuild b/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
index c98fb2e..1ad9b15 100644
--- a/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
+++ b/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
@@ -4,39 +4,37 @@
 
 EAPI=4
 
-inherit cmake-utils alternatives-2 fortran-2 multilib
+FORTRAN_NEEDED=fortran
+
+inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
 SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
 
+SLOT="3"
 LICENSE="|| ( LGPL-3 GPL-2 )"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-SLOT="3"
 IUSE="adolc fortran fftw doc gmp sparse static-libs test"
 
-CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
 	fftw? ( >=sci-libs/fftw-3 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
-	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod[metis]
-			sci-libs/superlu
-			sci-libs/umfpack )"
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis]
+		sci-libs/superlu
+		sci-libs/umfpack
+		)"
 
-DEPEND="doc? ( app-doc/doxygen[dot,latex] )
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
-
-RDEPEND="!dev-cpp/eigen:0
+RDEPEND="
+	!dev-cpp/eigen:0
 	${CDEPEND}"
 
-pkg_setup() {
-	use fortran && fortran-2_pkg_setup
-}
-
-src_unpack() {
-	unpack ${A} && mv ${PN}* ${P}
-}
-
 src_configure() {
 	# TOFIX: static-libs for blas are always built with PIC
 	# TOFIX: is it worth fixing all the automagic given no library is built?
@@ -46,7 +44,8 @@ src_configure() {
 		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)
 	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	use fortran && FORTRAN_LIBS="blas" # lapack not ready yet
+	# lapack not ready yet?
+	use fortran && FORTRAN_LIBS="blas"
 }
 
 src_compile() {

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 973ffbf..9d52cff 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -4,6 +4,8 @@
 
 EAPI=4
 
+FORTRAN_NEEDED=fortran
+
 if [[ ${PV} == "9999" ]] ; then
 	_SCM=mercurial
 	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
@@ -14,40 +16,36 @@ else
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 
-inherit cmake-utils alternatives-2 fortran-2 multilib ${_SCM}
+inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot ${_SCM}
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
 
-LICENSE="MPL-2.0"
 SLOT="3"
+LICENSE="MPL-2.0"
 IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
 
 # TODO: support for pastix
-CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
-	fortran? ( virtual/fortran )
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
 	fftw? ( >=sci-libs/fftw-3 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
 	mkl? ( sci-libs/mkl )
-	sparse? ( dev-cpp/sparsehash
-			sci-libs/cholmod[metis]
-			sci-libs/superlu
-			sci-libs/umfpack )"
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis]
+		sci-libs/superlu
+		sci-libs/umfpack
+		)"
 
-DEPEND="doc? ( app-doc/doxygen[dot,latex] )
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
 
-RDEPEND="!dev-cpp/eigen:0
+RDEPEND="
+	!dev-cpp/eigen:0
 	${CDEPEND}"
 
-pkg_setup() {
-	use fortran && fortran-2_pkg_setup
-}
-
-src_unpack() {
-	unpack ${A} && mv ${PN}* ${P}
-}
-
 src_configure() {
 	# TOFIX: static-libs for blas are always built with PIC
 	# TOFIX: is it worth fixing all the automagic given no library is built?

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index 6e9235c..bb9ba2f 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,20 +1,23 @@
 <?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">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-<use>
-  <flag name="adolc">
+	<use>
+		<flag name="adolc">
     Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
   </flag>
-  <flag name="sparse">
+		<flag name="mkl">
+    Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
+  </flag>
+		<flag name="sparse">
     Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
   </flag>
-</use>
+	</use>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2012-11-19 19:11 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2012-11-19 19:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6545f738da612480072d2c01b153d930f92ff068
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 19:10:44 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 19:10:44 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6545f738

dev-cpp/eigen: Version bump

Package-Manager: portage-2.2.01.21313-prefix
RepoMan-Options: --force

---
 dev-cpp/eigen/ChangeLog             |    6 +++
 dev-cpp/eigen/eigen-3.0.6-r1.ebuild |   84 -----------------------------------
 dev-cpp/eigen/eigen-3.1.2.ebuild    |    1 +
 dev-cpp/eigen/metadata.xml          |   14 +++---
 4 files changed, 14 insertions(+), 91 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 471649a..d530d03 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.1.2 (19 Nov 2012)
+
+  19 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.2.ebuild,
+  -eigen-3.0.6-r1.ebuild, metadata.xml:
+  dev-cpp/eigen: Version bump
+
   25 Oct 2012; Justin Lecher <jlec@gentoo.org> eigen-3.0.6-r1.ebuild,
   eigen-9999.ebuild, metadata.xml:
   Use vcs-snapshot.eclass, correct usage of fortran-2.eclass, some layout

diff --git a/dev-cpp/eigen/eigen-3.0.6-r1.ebuild b/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
deleted file mode 100644
index 1ad9b15..0000000
--- a/dev-cpp/eigen/eigen-3.0.6-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-SLOT="3"
-LICENSE="|| ( LGPL-3 GPL-2 )"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="adolc fortran fftw doc gmp sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( >=sci-libs/fftw-3 )
-	gmp? ( dev-libs/gmp dev-libs/mpfr )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis]
-		sci-libs/superlu
-		sci-libs/umfpack
-		)"
-
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_configure() {
-	# TOFIX: static-libs for blas are always built with PIC
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	mycmakeargs=(
-		-DEIGEN_BUILD_BTL=OFF
-		$(cmake-utils_use test EIGEN_BUILD_TESTS)
-		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
-	)
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	# lapack not ready yet?
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" buildtests"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		cd "${CMAKE_BUILD_DIR}"/${x}
-		dolib.so lib${libname}.so
-		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
-		cat > ${libname}.pc <<-EOF
-			prefix=${EPREFIX}/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION} ${x^^} implementation
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-			$([[ ${x} == lapack ]] && echo "Requires: blas")
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}

diff --git a/dev-cpp/eigen/eigen-3.1.2.ebuild b/dev-cpp/eigen/eigen-3.1.2.ebuild
new file mode 120000
index 0000000..eafd774
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.1.2.ebuild
@@ -0,0 +1 @@
+eigen-9999.ebuild
\ No newline at end of file

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index bb9ba2f..a4a9327 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,23 +1,23 @@
 <?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">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-	<use>
-		<flag name="adolc">
+<use>
+  <flag name="adolc">
     Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
   </flag>
-		<flag name="mkl">
+  <flag name="mkl">
     Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
   </flag>
-		<flag name="sparse">
+  <flag name="sparse">
     Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
   </flag>
-	</use>
+</use>
 </pkgmetadata>


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

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

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

dev-cpp/eigen: Removed old

Package-Manager: portage-2.2.01.21418-prefix
RepoMan-Options: --force

---
 dev-cpp/eigen/ChangeLog             |    3 +++
 dev-cpp/eigen/eigen-3.1.1-r1.ebuild |    1 -
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index d530d03..ca03e51 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.1.1-r1.ebuild:
+  dev-cpp/eigen: Removed old
+
 *eigen-3.1.2 (19 Nov 2012)
 
   19 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.2.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.1.1-r1.ebuild b/dev-cpp/eigen/eigen-3.1.1-r1.ebuild
deleted file mode 120000
index eafd774..0000000
--- a/dev-cpp/eigen/eigen-3.1.1-r1.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-eigen-9999.ebuild
\ No newline at end of file


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2013-04-29 16:32 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2013-04-29 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     947ff9642ffe687e1cc430b39276fb354f87a0f1
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 29 16:06:44 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 16:06:44 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=947ff964

dev-cpp/eigen: Version bump

Package-Manager: portage-2.2.01.21890-prefix
RepoMan-Options: --force

---
 dev-cpp/eigen/ChangeLog                            |    8 +++++++-
 .../{eigen-3.1.2.ebuild => eigen-3.1.3-r1.ebuild}  |    0
 dev-cpp/eigen/eigen-9999.ebuild                    |   10 ++++------
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index ca03e51..0a1984d 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-cpp/eigen
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.1.3-r1 (29 Apr 2013)
+
+  29 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.3-r1.ebuild,
+  -eigen-3.1.2.ebuild, eigen-9999.ebuild:
+  dev-cpp/eigen: Version bump
+
   12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.1.1-r1.ebuild:
   dev-cpp/eigen: Removed old
 

diff --git a/dev-cpp/eigen/eigen-3.1.2.ebuild b/dev-cpp/eigen/eigen-3.1.3-r1.ebuild
similarity index 100%
rename from dev-cpp/eigen/eigen-3.1.2.ebuild
rename to dev-cpp/eigen/eigen-3.1.3-r1.ebuild

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 9d52cff..199918a 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 FORTRAN_NEEDED=fortran
 
@@ -35,9 +35,7 @@ CDEPEND="
 		dev-cpp/sparsehash
 		sci-libs/cholmod[metis]
 		sci-libs/superlu
-		sci-libs/umfpack
-		)"
-
+		sci-libs/umfpack )"
 DEPEND="
 	doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
@@ -49,7 +47,7 @@ RDEPEND="
 src_configure() {
 	# TOFIX: static-libs for blas are always built with PIC
 	# TOFIX: is it worth fixing all the automagic given no library is built?
-	mycmakeargs=(
+	local mycmakeargs=(
 		-DEIGEN_BUILD_BTL=OFF
 		-DEIGEN_TEST_NO_OPENGL=ON
 		$(cmake-utils_use test EIGEN_BUILD_TESTS)


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2013-08-07 21:34 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2013-08-07 21:34 UTC (permalink / raw
  To: gentoo-commits

commit:     4b0d84f39c0663e8eb885a498e319002aa354cd5
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  7 21:33:52 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Aug  7 21:33:52 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4b0d84f3

dev-cpp/eigen: Version bump

Package-Manager: portage-2.2.01.22124-prefix

---
 dev-cpp/eigen/ChangeLog                                     | 7 +++++++
 dev-cpp/eigen/{eigen-3.1.3-r1.ebuild => eigen-3.1.4.ebuild} | 0
 dev-cpp/eigen/{eigen-3.1.3-r1.ebuild => eigen-3.2.0.ebuild} | 0
 3 files changed, 7 insertions(+)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 0a1984d..743bd6d 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.1.4 (07 Aug 2013)
+*eigen-3.2.0 (07 Aug 2013)
+
+  07 Aug 2013; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.4.ebuild,
+  +eigen-3.2.0.ebuild, -eigen-3.1.3-r1.ebuild:
+  dev-cpp/eigen: Version bump
+
 *eigen-3.1.3-r1 (29 Apr 2013)
 
   29 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.1.3-r1.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.1.3-r1.ebuild b/dev-cpp/eigen/eigen-3.1.4.ebuild
similarity index 100%
copy from dev-cpp/eigen/eigen-3.1.3-r1.ebuild
copy to dev-cpp/eigen/eigen-3.1.4.ebuild

diff --git a/dev-cpp/eigen/eigen-3.1.3-r1.ebuild b/dev-cpp/eigen/eigen-3.2.0.ebuild
similarity index 100%
rename from dev-cpp/eigen/eigen-3.1.3-r1.ebuild
rename to dev-cpp/eigen/eigen-3.2.0.ebuild


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2013-10-20 10:35 Honza Macháček
  0 siblings, 0 replies; 36+ messages in thread
From: Honza Macháček @ 2013-10-20 10:35 UTC (permalink / raw
  To: gentoo-commits

commit:     2043e45c3e1f3eaae81f54d6a984f52c63bd4e44
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Sun Oct 20 10:35:05 2013 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Sun Oct 20 10:35:05 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2043e45c

In dev-cpp/eigen avoid creating TeX fonts out of the sandbox.

Package-Manager: portage-2.2.7

---
 dev-cpp/eigen/ChangeLog         | 3 +++
 dev-cpp/eigen/eigen-9999.ebuild | 1 +
 2 files changed, 4 insertions(+)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 743bd6d..521bc49 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  20 Oct 2013; Honza Macháček <Hloupy.Honza@centrum.cz> eigen-9999.ebuild:
+  Avoid creating TeX fonts out of the sandbox.
+
 *eigen-3.1.4 (07 Aug 2013)
 *eigen-3.2.0 (07 Aug 2013)
 

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 199918a..93e9bf3 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -53,6 +53,7 @@ src_configure() {
 		$(cmake-utils_use test EIGEN_BUILD_TESTS)
 		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)
+	export VARTEXFONTS="${T}/fonts"
 	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
 	# lapack not ready yet?
 	use fortran && FORTRAN_LIBS="blas"


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

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

commit:     c1bb2e08bbcadd345080790f1703591670288447
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 19:47:32 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 07:38:34 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c1bb2e08

dev-cpp/eigen: Backport cmake fix

Package-Manager: portage-2.2.8

---
 dev-cpp/eigen/ChangeLog             |   8 ++-
 dev-cpp/eigen/eigen-3.2.0-r1.ebuild | 102 ++++++++++++++++++++++++++++++++++++
 dev-cpp/eigen/metadata.xml          |  14 ++---
 3 files changed, 116 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 521bc49..fc51326 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-cpp/eigen
-# 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/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.2.0-r1 (16 Jan 2014)
+
+  16 Jan 2014; Justin Lecher <jlec@gentoo.org> +eigen-3.2.0-r1.ebuild,
+  metadata.xml:
+  Backport cmake fix
+
   20 Oct 2013; Honza Macháček <Hloupy.Honza@centrum.cz> eigen-9999.ebuild:
   Avoid creating TeX fonts out of the sandbox.
 

diff --git a/dev-cpp/eigen/eigen-3.2.0-r1.ebuild b/dev-cpp/eigen/eigen-3.2.0-r1.ebuild
new file mode 100644
index 0000000..13eb0f0
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.0-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+if [[ ${PV} == "9999" ]] ; then
+	_SCM=mercurial
+	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="
+		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+		"
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot ${_SCM}
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+
+SLOT="3"
+LICENSE="MPL-2.0"
+IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
+
+# TODO: support for pastix
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	mkl? ( sci-libs/mkl )
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis]
+		sci-libs/superlu
+		sci-libs/umfpack )"
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="
+	!dev-cpp/eigen:0
+	${CDEPEND}"
+
+PATCHES=(
+	"${DISTDIR}"/${P}-cmake.patch
+	)
+
+src_configure() {
+	# TOFIX: static-libs for blas are always built with PIC
+	# TOFIX: is it worth fixing all the automagic given no library is built?
+	local mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+		-DEIGEN_TEST_NO_OPENGL=ON
+		$(cmake-utils_use test EIGEN_BUILD_TESTS)
+		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
+	)
+	export VARTEXFONTS="${T}/fonts"
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	# lapack not ready yet?
+	use fortran && FORTRAN_LIBS="blas"
+}
+
+src_compile() {
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" buildtests"
+	cmake-utils_src_compile ${targets}
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		cat > ${libname}.pc <<-EOF
+			prefix=${EPREFIX}/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION} ${x^^} implementation
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+			$([[ ${x} == lapack ]] && echo "Requires: blas")
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index a4a9327..a7abef9 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,23 +1,23 @@
 <?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">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-<use>
-  <flag name="adolc">
+  <use>
+    <flag name="adolc">
     Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
   </flag>
-  <flag name="mkl">
+    <flag name="mkl">
     Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
   </flag>
-  <flag name="sparse">
+    <flag name="sparse">
     Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
   </flag>
-</use>
+  </use>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-01-18  7:39 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2014-01-18  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     07dc255d12d136afb211c004c983ba0aa922401a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 19:47:32 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 19:47:32 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=07dc255d

dev-cpp/eigen: Backport cmake fix

Package-Manager: portage-2.2.8

---
 dev-cpp/eigen/ChangeLog             |   8 ++-
 dev-cpp/eigen/eigen-3.2.0-r1.ebuild | 102 ++++++++++++++++++++++++++++++++++++
 dev-cpp/eigen/metadata.xml          |  14 ++---
 3 files changed, 116 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 521bc49..fc51326 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for dev-cpp/eigen
-# 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/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.2.0-r1 (16 Jan 2014)
+
+  16 Jan 2014; Justin Lecher <jlec@gentoo.org> +eigen-3.2.0-r1.ebuild,
+  metadata.xml:
+  Backport cmake fix
+
   20 Oct 2013; Honza Macháček <Hloupy.Honza@centrum.cz> eigen-9999.ebuild:
   Avoid creating TeX fonts out of the sandbox.
 

diff --git a/dev-cpp/eigen/eigen-3.2.0-r1.ebuild b/dev-cpp/eigen/eigen-3.2.0-r1.ebuild
new file mode 100644
index 0000000..13eb0f0
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.0-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+if [[ ${PV} == "9999" ]] ; then
+	_SCM=mercurial
+	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="
+		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+		"
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot ${_SCM}
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+
+SLOT="3"
+LICENSE="MPL-2.0"
+IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
+
+# TODO: support for pastix
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( >=sci-libs/fftw-3 )
+	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	mkl? ( sci-libs/mkl )
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis]
+		sci-libs/superlu
+		sci-libs/umfpack )"
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="
+	!dev-cpp/eigen:0
+	${CDEPEND}"
+
+PATCHES=(
+	"${DISTDIR}"/${P}-cmake.patch
+	)
+
+src_configure() {
+	# TOFIX: static-libs for blas are always built with PIC
+	# TOFIX: is it worth fixing all the automagic given no library is built?
+	local mycmakeargs=(
+		-DEIGEN_BUILD_BTL=OFF
+		-DEIGEN_TEST_NO_OPENGL=ON
+		$(cmake-utils_use test EIGEN_BUILD_TESTS)
+		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
+	)
+	export VARTEXFONTS="${T}/fonts"
+	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	# lapack not ready yet?
+	use fortran && FORTRAN_LIBS="blas"
+}
+
+src_compile() {
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" buildtests"
+	cmake-utils_src_compile ${targets}
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		cd "${CMAKE_BUILD_DIR}"/${x}
+		dolib.so lib${libname}.so
+		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		cat > ${libname}.pc <<-EOF
+			prefix=${EPREFIX}/usr
+			libdir=\${prefix}/$(get_libdir)
+			includedir=\${prefix}/include
+			Name: ${PN}
+			Description: ${DESCRIPTION} ${x^^} implementation
+			Version: ${PV}
+			URL: ${HOMEPAGE}
+			Libs: -L\${libdir} -l${libname}
+			Libs.private: -lm
+			$([[ ${x} == lapack ]] && echo "Requires: blas")
+		EOF
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+		insinto /usr/$(get_libdir)/pkgconfig
+		doins ${libname}.pc
+	done
+}

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index a4a9327..a7abef9 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,23 +1,23 @@
 <?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">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-<use>
-  <flag name="adolc">
+  <use>
+    <flag name="adolc">
     Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
   </flag>
-  <flag name="mkl">
+    <flag name="mkl">
     Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
   </flag>
-  <flag name="sparse">
+    <flag name="sparse">
     Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
   </flag>
-</use>
+  </use>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-04-22 20:47 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2014-04-22 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     2dc0d86a70b6adf390051c49ea4b7d211a1cb747
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 22 20:47:26 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 20:47:26 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2dc0d86a

dev-cpp/eigen: Version bump

Package-Manager: portage-2.2.8-prefix

---
 dev-cpp/eigen/ChangeLog                                  |  6 ++++++
 .../eigen/{eigen-3.2.0.ebuild => eigen-3.2.1-r1.ebuild}  |  0
 dev-cpp/eigen/eigen-9999.ebuild                          | 12 +++++++-----
 dev-cpp/eigen/metadata.xml                               | 16 +++++++++-------
 4 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index fc51326..b014311 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.2.1-r1 (22 Apr 2014)
+
+  22 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.2.1-r1.ebuild,
+  -eigen-3.2.0.ebuild, eigen-9999.ebuild, metadata.xml:
+  dev-cpp/eigen: Version bump
+
 *eigen-3.2.0-r1 (16 Jan 2014)
 
   16 Jan 2014; Justin Lecher <jlec@gentoo.org> +eigen-3.2.0-r1.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.2.0.ebuild b/dev-cpp/eigen/eigen-3.2.1-r1.ebuild
similarity index 100%
rename from dev-cpp/eigen/eigen-3.2.0.ebuild
rename to dev-cpp/eigen/eigen-3.2.1-r1.ebuild

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 1bc32cd..0256605 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -23,17 +23,19 @@ HOMEPAGE="http://eigen.tuxfamily.org/"
 
 SLOT="3"
 LICENSE="MPL-2.0"
-IUSE="adolc doc fortran fftw gmp mkl sparse static-libs test"
+IUSE="adolc doc fortran fftw gmp metis mkl sparse static-libs test"
 
 # TODO: support for pastix
 CDEPEND="
 	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( >=sci-libs/fftw-3 )
+	fftw? ( sci-libs/fftw:3.0 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
+	metis? ( sci-libs/metis )
 	mkl? ( sci-libs/mkl )
 	sparse? (
 		dev-cpp/sparsehash
-		sci-libs/cholmod[metis]
+		sci-libs/cholmod[metis?]
+		sci-libs/spqr
 		sci-libs/superlu
 		sci-libs/umfpack )"
 DEPEND="
@@ -50,7 +52,7 @@ src_configure() {
 	local mycmakeargs=(
 		-DEIGEN_BUILD_BTL=OFF
 		-DEIGEN_TEST_NO_OPENGL=ON
-		$(cmake-utils_use test EIGEN_BUILD_TESTS)
+		$(cmake-utils_use test BUILD_TESTING)
 		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)
 	export VARTEXFONTS="${T}/fonts"
@@ -62,7 +64,7 @@ src_configure() {
 src_compile() {
 	local targets="${FORTRAN_LIBS}"
 	use doc && targets+=" doc"
-	use test && targets+=" buildtests"
+	use test && targets+=" check"
 	cmake-utils_src_compile ${targets}
 }
 

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index a7abef9..19bd7ac 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,23 +1,25 @@
 <?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">
   Eigen is a lightweight C++ template library for vector and matrix math,
   a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
   focuses on the simple mathematical needs of applications: games and other
   OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
   providing optimal speed with GCC.
 </longdescription>
-  <use>
-    <flag name="adolc">
+<use>
+  <flag name="adolc">
     Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
   </flag>
-    <flag name="mkl">
+  <flag name="metis">
+    Enable matrix partitioning using <pkg>sci-libs/metis</pkg></flag>
+  <flag name="mkl">
     Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
   </flag>
-    <flag name="sparse">
+  <flag name="sparse">
     Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
   </flag>
-  </use>
+</use>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-04-24 23:09 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2014-04-24 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     542e07b5e51e5581d74d52856d9083eecf949768
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 23:09:36 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 23:09:36 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=542e07b5

dev-cpp/eigen: Bump and add pastix description

Package-Manager: portage-2.2.8-prefix

---
 dev-cpp/eigen/ChangeLog                                        | 6 ++++++
 dev-cpp/eigen/{eigen-3.2.1-r1.ebuild => eigen-3.2.1-r2.ebuild} | 0
 dev-cpp/eigen/metadata.xml                                     | 5 ++++-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 0ce6aee..27c0965 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.2.1-r2 (24 Apr 2014)
+
+  24 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.2.1-r2.ebuild,
+  -eigen-3.2.1-r1.ebuild, metadata.xml:
+  dev-cpp/eigen: Bump and add pastix description
+
   24 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> eigen-9999.ebuild:
   dev-cpp/eigen: Added pastix support, restrict static libs for blas, configure
   with test enabled

diff --git a/dev-cpp/eigen/eigen-3.2.1-r1.ebuild b/dev-cpp/eigen/eigen-3.2.1-r2.ebuild
similarity index 100%
rename from dev-cpp/eigen/eigen-3.2.1-r1.ebuild
rename to dev-cpp/eigen/eigen-3.2.1-r2.ebuild

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index 19bd7ac..5b528fe 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -11,13 +11,16 @@
 </longdescription>
 <use>
   <flag name="adolc">
-    Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg>
+    Enable automatic differentiation using <pkg>sci-libs/adolc</pkg>
   </flag>
   <flag name="metis">
     Enable matrix partitioning using <pkg>sci-libs/metis</pkg></flag>
   <flag name="mkl">
     Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
   </flag>
+  <flag name="pastix">
+    Enable large scale direct solver with using <pkg>sci-libs/pastix</pkg>
+  </flag>
   <flag name="sparse">
     Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
   </flag>


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-04-24 23:09 Sebastien Fabbro
  0 siblings, 0 replies; 36+ messages in thread
From: Sebastien Fabbro @ 2014-04-24 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     41ff08425d0a3fd515e2e2625bd341743b81d393
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 23:07:07 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 23:07:07 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=41ff0842

dev-cpp/eigen: Added pastix support, restrict static libs for blas, configure with test enabled

Package-Manager: portage-2.2.8-prefix

---
 dev-cpp/eigen/ChangeLog         |  4 ++++
 dev-cpp/eigen/eigen-9999.ebuild | 47 +++++++++++++++++++++++++++++------------
 2 files changed, 37 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index b014311..0ce6aee 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+  24 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> eigen-9999.ebuild:
+  dev-cpp/eigen: Added pastix support, restrict static libs for blas, configure
+  with test enabled
+
 *eigen-3.2.1-r1 (22 Apr 2014)
 
   22 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.2.1-r1.ebuild,

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 0256605..5d4d7e1 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -7,31 +7,35 @@ EAPI=5
 FORTRAN_NEEDED=fortran
 
 if [[ ${PV} == "9999" ]] ; then
-	_SCM=mercurial
+	inherit mercurial
 	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
 	SRC_URI=""
 	KEYWORDS=""
 else
-	SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+	SRC_URI="
+		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+		"
+	PATCHES=( "${DISTDIR}"/${P}-cmake.patch	)
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 
-inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot ${_SCM}
+inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
 
 SLOT="3"
 LICENSE="MPL-2.0"
-IUSE="adolc doc fortran fftw gmp metis mkl sparse static-libs test"
+IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
 
-# TODO: support for pastix
 CDEPEND="
 	adolc? ( sci-libs/adolc[sparse?] )
 	fftw? ( sci-libs/fftw:3.0 )
 	gmp? ( dev-libs/gmp dev-libs/mpfr )
 	metis? ( sci-libs/metis )
 	mkl? ( sci-libs/mkl )
+	pastix? ( sci-libs/pastix )
 	sparse? (
 		dev-cpp/sparsehash
 		sci-libs/cholmod[metis?]
@@ -46,18 +50,35 @@ RDEPEND="
 	!dev-cpp/eigen:0
 	${CDEPEND}"
 
-src_configure() {
+src_prepare() {
+	sed -i \
+		-e "s:/usr:${EPREFIX}/usr:g" \
+		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
+		cmake/*.cmake || die
+	sed -i \
+		-e "/DESTINATION/s:lib:$(get_libdir):g" \
+		{blas,lapack}/CMakeLists.txt || die
+
 	# TOFIX: static-libs for blas are always built with PIC
+	use static-libs || sed -i \
+		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+		-e "/add_library(eigen_[a-z]*_static/d" \
+		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+		{blas,lapack}/CMakeLists.txt || die
+	cmake-utils_src_prepare
+}
+
+src_configure() {
 	# TOFIX: is it worth fixing all the automagic given no library is built?
+	# cmake has buggy disable_testing feature, so leave it for now
 	local mycmakeargs=(
+		-DDART_TESTING_TIMEOUT=300
 		-DEIGEN_BUILD_BTL=OFF
-		-DEIGEN_TEST_NO_OPENGL=ON
-		$(cmake-utils_use test BUILD_TESTING)
-		$(cmake-utils_use !fortran EIGEN_TEST_NO_FORTRAN)
 	)
 	export VARTEXFONTS="${T}/fonts"
 	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	# lapack not ready yet?
+	# use fortran && FORTRAN_LIBS="blas lapack" not ready
 	use fortran && FORTRAN_LIBS="blas"
 }
 
@@ -70,13 +91,11 @@ src_compile() {
 
 src_install() {
 	cmake-utils_src_install
-	use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
 	local x
 	for x in ${FORTRAN_LIBS}; do
 		local libname="eigen_${x}"
-		cd "${CMAKE_BUILD_DIR}"/${x}
-		dolib.so lib${libname}.so
-		use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
 		cat > ${libname}.pc <<-EOF
 			prefix=${EPREFIX}/usr
 			libdir=\${prefix}/$(get_libdir)


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-09-12  9:03 Jauhien Piatlicki
  0 siblings, 0 replies; 36+ messages in thread
From: Jauhien Piatlicki @ 2014-09-12  9:03 UTC (permalink / raw
  To: gentoo-commits

commit:     96eec4c27726146b626acad6b91b395ba7135293
Author:     Dale Lukas Peterson <hazelnusse <AT> gmail <DOT> com>
AuthorDate: Fri Sep 12 00:08:53 2014 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Fri Sep 12 00:14:03 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=96eec4c2

Add src_unpack to ensure mercurial_src_unpack is called

The inheritance mechanism of ebuilds is such that functions not
overridden are taken from the last package inherited. In this case,
that is vcs-snapshot, which provides a src_unpack that does not clone
the mercurial repository. By explicitly providing src_unpack, we
guarantee that mercurial_src_unpack is called prior to
vcs-snapshot_src_unpack.

---
 dev-cpp/eigen/eigen-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 5d4d7e1..fa3eb94 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -50,6 +50,11 @@ RDEPEND="
 	!dev-cpp/eigen:0
 	${CDEPEND}"
 
+src_unpack() {
+	mercurial_src_unpack
+	vcs-snapshot_src_unpack
+}
+
 src_prepare() {
 	sed -i \
 		-e "s:/usr:${EPREFIX}/usr:g" \


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-09-16  0:27 Christoph Junghans
  0 siblings, 0 replies; 36+ messages in thread
From: Christoph Junghans @ 2014-09-16  0:27 UTC (permalink / raw
  To: gentoo-commits

commit:     5f9a85124afb7066b30fe10a74bd1cb24a6a7ec4
Author:     Dale Lukas Peterson <hazelnusse <AT> gmail <DOT> com>
AuthorDate: Mon Sep 15 21:34:08 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 21:38:27 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5f9a8512

Fix bug 522602 more properly

Instead of adding src_unpack(), move vcs-snapshot to else block, thereby
ensuring src_unpack() from inherit mercurial is used.

---
 dev-cpp/eigen/eigen-9999.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index fa3eb94..24a6c7d 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
 	SRC_URI=""
 	KEYWORDS=""
 else
+	inherit vcs-snapshot
 	SRC_URI="
 		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
 		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
@@ -20,7 +21,7 @@ else
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 
-inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot
+inherit alternatives-2 cmake-utils fortran-2 multilib
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
@@ -50,11 +51,6 @@ RDEPEND="
 	!dev-cpp/eigen:0
 	${CDEPEND}"
 
-src_unpack() {
-	mercurial_src_unpack
-	vcs-snapshot_src_unpack
-}
-
 src_prepare() {
 	sed -i \
 		-e "s:/usr:${EPREFIX}/usr:g" \


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2014-10-17 22:47 Jauhien Piatlicki
  0 siblings, 0 replies; 36+ messages in thread
From: Jauhien Piatlicki @ 2014-10-17 22:47 UTC (permalink / raw
  To: gentoo-commits

commit:     2b5d06585d27483988f25560411aaa60f588f005
Author:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 22:47:45 2014 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 22:47:45 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2b5d0658

dev-cpp/eigen: version bump

---
 dev-cpp/eigen/ChangeLog          | 5 +++++
 dev-cpp/eigen/eigen-3.2.2.ebuild | 1 +
 2 files changed, 6 insertions(+)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 27c0965..aeae464 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
 
+*eigen-3.2.2 (17 Oct 2014)
+
+  17 Oct 2014; Jauhien Piatlicki <jauhien@gentoo.org> +eigen-3.2.2.ebuild:
+  version bump, bug 491796
+
 *eigen-3.2.1-r2 (24 Apr 2014)
 
   24 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.2.1-r2.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.2.2.ebuild b/dev-cpp/eigen/eigen-3.2.2.ebuild
new file mode 120000
index 0000000..eafd774
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.2.ebuild
@@ -0,0 +1 @@
+eigen-9999.ebuild
\ No newline at end of file


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2015-11-30 10:58 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2015-11-30 10:58 UTC (permalink / raw
  To: gentoo-commits

commit:     6e651a74419dbb000081b0094934a57441aa27b2
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 10:58:04 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 10:58:04 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6e651a74

dev-cpp/eigen: Version Bump

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

 dev-cpp/eigen/eigen-3.2.6.ebuild | 116 +++++++++++++++++++++++++++++++++++++++
 dev-cpp/eigen/metadata.xml       |   2 +-
 2 files changed, 117 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/eigen/eigen-3.2.6.ebuild b/dev-cpp/eigen/eigen-3.2.6.ebuild
new file mode 100644
index 0000000..7733d64
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.6.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit mercurial
+	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	inherit vcs-snapshot
+	SRC_URI="
+		https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+		"
+	PATCHES=( "${DISTDIR}"/${P}-cmake.patch	)
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit alternatives-2 cmake-utils fortran-2 multilib numeric
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+
+SLOT="3"
+LICENSE="MPL-2.0"
+IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
+
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( sci-libs/fftw:3.0 )
+	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
+	metis? ( sci-libs/metis )
+	mkl? ( sci-libs/mkl )
+	pastix? ( sci-libs/pastix )
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis?]
+		sci-libs/spqr
+		sci-libs/superlu
+		sci-libs/umfpack )"
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="
+	!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_prepare() {
+	sed -i \
+		-e "s:/usr:${EPREFIX}/usr:g" \
+		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
+		cmake/*.cmake || die
+	sed -i \
+		-e "/DESTINATION/s:lib:$(get_libdir):g" \
+		{blas,lapack}/CMakeLists.txt || die
+
+	# TOFIX: static-libs for blas are always built with PIC
+	use static-libs || sed -i \
+		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+		-e "/add_library(eigen_[a-z]*_static/d" \
+		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+		{blas,lapack}/CMakeLists.txt || die
+
+	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	# TOFIX: is it worth fixing all the automagic given no library is built?
+	# cmake has buggy disable_testing feature, so leave it for now
+	local mycmakeargs=(
+		-DDART_TESTING_TIMEOUT=300
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	export VARTEXFONTS="${T}/fonts"
+	cmake-utils_src_configure
+	# use fortran && FORTRAN_LIBS="blas lapack" not ready
+	use fortran && FORTRAN_LIBS="blas"
+}
+
+src_compile() {
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" check"
+	cmake-utils_src_compile ${targets}
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
+		create_pkgconfig \
+			--description "${DESCRIPTION} ${x^^} implementation" \
+			--libs "-L\${libdir} -l${libname}" \
+			--libs-private "-lm" \
+			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
+			${libname}
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+	done
+
+	# Debian installs it and some projects started using it.
+	insinto /usr/share/cmake/Modules/
+	doins "${S}/cmake/FindEigen3.cmake"
+}

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index 187b1de..0adc362 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <herd>sci</herd>


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2015-12-04  7:01 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2015-12-04  7:01 UTC (permalink / raw
  To: gentoo-commits

commit:     04bf3cc14a5cf162b7f361e6fcbb4c9f01068ce8
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Thu Dec  3 21:28:23 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 21:28:23 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=04bf3cc1

dev-cpp/eigen: version bump to 3.2.7

Package-Manager: portage-2.2.26

 dev-cpp/eigen/ChangeLog          |   5 ++
 dev-cpp/eigen/eigen-3.2.7.ebuild | 116 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index bfb9224..cd01f65 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*eigen-3.2.7 (03 Dec 2015)
+
+  03 Dec 2015; Ted Tanberry <ted.tanberry@gmail.com> +eigen-3.2.7.ebuild:
+  dev-cpp/eigen: version bump to 3.2.7
+
 *eigen-3.2.4 (16 Apr 2015)
 
   16 Apr 2015; Justin Lecher <jlec@gentoo.org> +eigen-3.2.4.ebuild,

diff --git a/dev-cpp/eigen/eigen-3.2.7.ebuild b/dev-cpp/eigen/eigen-3.2.7.ebuild
new file mode 100644
index 0000000..cf14779
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.7.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit mercurial
+	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	inherit vcs-snapshot
+	SRC_URI="
+		https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+		"
+	PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit alternatives-2 cmake-utils fortran-2 multilib numeric
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+
+SLOT="3"
+LICENSE="MPL-2.0"
+IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
+
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( sci-libs/fftw:3.0 )
+	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
+	metis? ( sci-libs/metis )
+	mkl? ( sci-libs/mkl )
+	pastix? ( sci-libs/pastix )
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis?]
+		sci-libs/spqr
+		sci-libs/superlu
+		sci-libs/umfpack )"
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="
+	!dev-cpp/eigen:0
+	${CDEPEND}"
+
+src_prepare() {
+	sed -i \
+		-e "s:/usr:${EPREFIX}/usr:g" \
+		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
+		cmake/*.cmake || die
+	sed -i \
+		-e "/DESTINATION/s:lib:$(get_libdir):g" \
+		{blas,lapack}/CMakeLists.txt || die
+
+	# TOFIX: static-libs for blas are always built with PIC
+	use static-libs || sed -i \
+		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+		-e "/add_library(eigen_[a-z]*_static/d" \
+		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+		{blas,lapack}/CMakeLists.txt || die
+
+	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	# TOFIX: is it worth fixing all the automagic given no library is built?
+	# cmake has buggy disable_testing feature, so leave it for now
+	local mycmakeargs=(
+		-DDART_TESTING_TIMEOUT=300
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	export VARTEXFONTS="${T}/fonts"
+	cmake-utils_src_configure
+	# use fortran && FORTRAN_LIBS="blas lapack" not ready
+	use fortran && FORTRAN_LIBS="blas"
+}
+
+src_compile() {
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" check"
+	cmake-utils_src_compile ${targets}
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
+		create_pkgconfig \
+			--description "${DESCRIPTION} ${x^^} implementation" \
+			--libs "-L\${libdir} -l${libname}" \
+			--libs-private "-lm" \
+			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
+			${libname}
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+	done
+
+	# Debian installs it and some projects started using it.
+	insinto /usr/share/cmake/Modules/
+	doins "${S}/cmake/FindEigen3.cmake"
+}


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2015-12-04 17:33 Marius Brehler
  0 siblings, 0 replies; 36+ messages in thread
From: Marius Brehler @ 2015-12-04 17:33 UTC (permalink / raw
  To: gentoo-commits

commit:     c5b6763b0dfe5e1222d985b2866c95b908672a7a
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Fri Dec  4 08:08:11 2015 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Dec  4 08:08:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c5b6763b

dev-cpp/eigen: Remove old versions

Package-Manager: portage-2.2.26

 dev-cpp/eigen/ChangeLog          |   4 ++
 dev-cpp/eigen/eigen-3.2.2.ebuild | 117 ---------------------------------------
 dev-cpp/eigen/eigen-3.2.4.ebuild | 117 ---------------------------------------
 dev-cpp/eigen/eigen-3.2.6.ebuild | 116 --------------------------------------
 4 files changed, 4 insertions(+), 350 deletions(-)

diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index cd01f65..e630635 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  04 Dec 2015; Ted Tanberry <ted.tanberry@gmail.com> -eigen-3.2.2.ebuild,
+  -eigen-3.2.4.ebuild, -eigen-3.2.6.ebuild:
+  dev-cpp/eigen: Remove old versions
+
 *eigen-3.2.7 (03 Dec 2015)
 
   03 Dec 2015; Ted Tanberry <ted.tanberry@gmail.com> +eigen-3.2.7.ebuild:

diff --git a/dev-cpp/eigen/eigen-3.2.2.ebuild b/dev-cpp/eigen/eigen-3.2.2.ebuild
deleted file mode 100644
index 64caa71..0000000
--- a/dev-cpp/eigen/eigen-3.2.2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit mercurial
-	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-	SRC_URI=""
-	KEYWORDS=""
-else
-	inherit vcs-snapshot
-	SRC_URI="
-		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-		"
-	PATCHES=( "${DISTDIR}"/${P}-cmake.patch	)
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit alternatives-2 cmake-utils fortran-2 multilib
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( sci-libs/fftw:3.0 )
-	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
-	metis? ( sci-libs/metis )
-	mkl? ( sci-libs/mkl )
-	pastix? ( sci-libs/pastix )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis?]
-		sci-libs/spqr
-		sci-libs/superlu
-		sci-libs/umfpack )"
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_prepare() {
-	sed -i \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
-		cmake/*.cmake || die
-	sed -i \
-		-e "/DESTINATION/s:lib:$(get_libdir):g" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	# TOFIX: static-libs for blas are always built with PIC
-	use static-libs || sed -i \
-		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-		-e "/add_library(eigen_[a-z]*_static/d" \
-		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-		{blas,lapack}/CMakeLists.txt || die
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	# cmake has buggy disable_testing feature, so leave it for now
-	local mycmakeargs=(
-		-DDART_TESTING_TIMEOUT=300
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	export VARTEXFONTS="${T}/fonts"
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	# use fortran && FORTRAN_LIBS="blas lapack" not ready
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" check"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		cat > ${libname}.pc <<-EOF
-			prefix=${EPREFIX}/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION} ${x^^} implementation
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-			$([[ ${x} == lapack ]] && echo "Requires: blas")
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}

diff --git a/dev-cpp/eigen/eigen-3.2.4.ebuild b/dev-cpp/eigen/eigen-3.2.4.ebuild
deleted file mode 100644
index 64caa71..0000000
--- a/dev-cpp/eigen/eigen-3.2.4.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit mercurial
-	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-	SRC_URI=""
-	KEYWORDS=""
-else
-	inherit vcs-snapshot
-	SRC_URI="
-		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-		"
-	PATCHES=( "${DISTDIR}"/${P}-cmake.patch	)
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit alternatives-2 cmake-utils fortran-2 multilib
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( sci-libs/fftw:3.0 )
-	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
-	metis? ( sci-libs/metis )
-	mkl? ( sci-libs/mkl )
-	pastix? ( sci-libs/pastix )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis?]
-		sci-libs/spqr
-		sci-libs/superlu
-		sci-libs/umfpack )"
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_prepare() {
-	sed -i \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
-		cmake/*.cmake || die
-	sed -i \
-		-e "/DESTINATION/s:lib:$(get_libdir):g" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	# TOFIX: static-libs for blas are always built with PIC
-	use static-libs || sed -i \
-		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-		-e "/add_library(eigen_[a-z]*_static/d" \
-		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-		{blas,lapack}/CMakeLists.txt || die
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	# cmake has buggy disable_testing feature, so leave it for now
-	local mycmakeargs=(
-		-DDART_TESTING_TIMEOUT=300
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	export VARTEXFONTS="${T}/fonts"
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
-	# use fortran && FORTRAN_LIBS="blas lapack" not ready
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" check"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		cat > ${libname}.pc <<-EOF
-			prefix=${EPREFIX}/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION} ${x^^} implementation
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-			$([[ ${x} == lapack ]] && echo "Requires: blas")
-		EOF
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
-	done
-}

diff --git a/dev-cpp/eigen/eigen-3.2.6.ebuild b/dev-cpp/eigen/eigen-3.2.6.ebuild
deleted file mode 100644
index 7733d64..0000000
--- a/dev-cpp/eigen/eigen-3.2.6.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-
-if [[ ${PV} == "9999" ]] ; then
-	inherit mercurial
-	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-	SRC_URI=""
-	KEYWORDS=""
-else
-	inherit vcs-snapshot
-	SRC_URI="
-		https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-		"
-	PATCHES=( "${DISTDIR}"/${P}-cmake.patch	)
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( sci-libs/fftw:3.0 )
-	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
-	metis? ( sci-libs/metis )
-	mkl? ( sci-libs/mkl )
-	pastix? ( sci-libs/pastix )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis?]
-		sci-libs/spqr
-		sci-libs/superlu
-		sci-libs/umfpack )"
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_prepare() {
-	sed -i \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
-		cmake/*.cmake || die
-	sed -i \
-		-e "/DESTINATION/s:lib:$(get_libdir):g" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	# TOFIX: static-libs for blas are always built with PIC
-	use static-libs || sed -i \
-		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-		-e "/add_library(eigen_[a-z]*_static/d" \
-		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	# cmake has buggy disable_testing feature, so leave it for now
-	local mycmakeargs=(
-		-DDART_TESTING_TIMEOUT=300
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	export VARTEXFONTS="${T}/fonts"
-	cmake-utils_src_configure
-	# use fortran && FORTRAN_LIBS="blas lapack" not ready
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" check"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		create_pkgconfig \
-			--description "${DESCRIPTION} ${x^^} implementation" \
-			--libs "-L\${libdir} -l${libname}" \
-			--libs-private "-lm" \
-			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
-			${libname}
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-	done
-
-	# Debian installs it and some projects started using it.
-	insinto /usr/share/cmake/Modules/
-	doins "${S}/cmake/FindEigen3.cmake"
-}


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2015-12-24  8:55 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2015-12-24  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     7ed315ca75bf61bc1e4e511157cd0658454d3e3c
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 24 08:55:34 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Dec 24 08:55:34 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7ed315ca

dev-cpp/eigen: Fix pc file

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=569544

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

 dev-cpp/eigen/{eigen-3.2.7.ebuild => eigen-3.2.7-r1.ebuild} | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-cpp/eigen/eigen-3.2.7.ebuild b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
similarity index 95%
rename from dev-cpp/eigen/eigen-3.2.7.ebuild
rename to dev-cpp/eigen/eigen-3.2.7-r1.ebuild
index cf14779..ae40239 100644
--- a/dev-cpp/eigen/eigen-3.2.7.ebuild
+++ b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
@@ -70,6 +70,10 @@ src_prepare() {
 
 	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
 
+	sed \
+		-e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
+		-i eigen3.pc.in || die
+
 	cmake-utils_src_prepare
 }
 
@@ -81,6 +85,8 @@ src_configure() {
 		-DEIGEN_BUILD_BTL=OFF
 	)
 	export VARTEXFONTS="${T}/fonts"
+	export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
+
 	cmake-utils_src_configure
 	# use fortran && FORTRAN_LIBS="blas lapack" not ready
 	use fortran && FORTRAN_LIBS="blas"


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2016-02-20 15:40 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2016-02-20 15:40 UTC (permalink / raw
  To: gentoo-commits

commit:     09be48b3fe9d1bd1dc9c45547041e8e56db29bf3
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 20 15:39:08 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 15:39:08 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=09be48b3

dev-cpp/eigen: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=575218

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

 dev-cpp/eigen/eigen-3.2.8.ebuild | 114 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 114 insertions(+)

diff --git a/dev-cpp/eigen/eigen-3.2.8.ebuild b/dev-cpp/eigen/eigen-3.2.8.ebuild
new file mode 100644
index 0000000..12b0a5d
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.8.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+
+inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="
+	https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+	https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+		"
+
+SLOT="3"
+LICENSE="MPL-2.0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
+
+CDEPEND="
+	adolc? ( sci-libs/adolc[sparse?] )
+	fftw? ( sci-libs/fftw:3.0 )
+	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
+	metis? ( sci-libs/metis )
+	mkl? ( sci-libs/mkl )
+	pastix? ( sci-libs/pastix )
+	sparse? (
+		dev-cpp/sparsehash
+		sci-libs/cholmod[metis?]
+		sci-libs/spqr
+		sci-libs/superlu
+		sci-libs/umfpack )"
+DEPEND="
+	doc? ( app-doc/doxygen[dot,latex] )
+	test? ( ${CDEPEND} )"
+
+RDEPEND="
+	!dev-cpp/eigen:0
+	${CDEPEND}"
+
+PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
+
+src_prepare() {
+	sed -i \
+		-e "s:/usr:${EPREFIX}/usr:g" \
+		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
+		cmake/*.cmake || die
+	sed -i \
+		-e "/DESTINATION/s:lib:$(get_libdir):g" \
+		{blas,lapack}/CMakeLists.txt || die
+
+	# TOFIX: static-libs for blas are always built with PIC
+	use static-libs || sed -i \
+		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+		-e "/add_library(eigen_[a-z]*_static/d" \
+		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+		{blas,lapack}/CMakeLists.txt || die
+
+	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
+
+	sed \
+		-e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
+		-i eigen3.pc.in || die
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	# TOFIX: is it worth fixing all the automagic given no library is built?
+	# cmake has buggy disable_testing feature, so leave it for now
+	local mycmakeargs=(
+		-DDART_TESTING_TIMEOUT=300
+		-DEIGEN_BUILD_BTL=OFF
+	)
+	export VARTEXFONTS="${T}/fonts"
+	export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
+
+	cmake-utils_src_configure
+	# use fortran && FORTRAN_LIBS="blas lapack" not ready
+	use fortran && FORTRAN_LIBS="blas"
+}
+
+src_compile() {
+	local targets="${FORTRAN_LIBS}"
+	use doc && targets+=" doc"
+	use test && targets+=" check"
+	cmake-utils_src_compile ${targets}
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
+	local x
+	for x in ${FORTRAN_LIBS}; do
+		local libname="eigen_${x}"
+		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
+		create_pkgconfig \
+			--description "${DESCRIPTION} ${x^^} implementation" \
+			--libs "-L\${libdir} -l${libname}" \
+			--libs-private "-lm" \
+			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
+			${libname}
+		alternatives_for ${x} eigen 0 \
+			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+	done
+
+	# Debian installs it and some projects started using it.
+	insinto /usr/share/cmake/Modules/
+	doins "${S}/cmake/FindEigen3.cmake"
+}


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2016-02-22 13:25 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2016-02-22 13:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9533a3000f15dd70f312f36705ad78e744fdfc0d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 11:10:19 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 11:10:19 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9533a300

dev-cpp/eigen: Bump to EAPI=6

* Drop version dependend code from ebuilds
* Fix error handling logic
* Propargate cahnges to live ebuild

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

 dev-cpp/eigen/eigen-3.2.7-r1.ebuild | 45 ++++++++++------------
 dev-cpp/eigen/eigen-3.2.8.ebuild    | 19 ++++++----
 dev-cpp/eigen/eigen-9999.ebuild     | 76 ++++++++++++++++++-------------------
 3 files changed, 67 insertions(+), 73 deletions(-)

diff --git a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
index ae40239..0c6777e 100644
--- a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
+++ b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
@@ -1,33 +1,23 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 FORTRAN_NEEDED=fortran
 
-if [[ ${PV} == "9999" ]] ; then
-	inherit mercurial
-	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-	SRC_URI=""
-	KEYWORDS=""
-else
-	inherit vcs-snapshot
-	SRC_URI="
-		https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-		"
-	PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric
+inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="
+	https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
+	https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
+"
 
 SLOT="3"
 LICENSE="MPL-2.0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
 
 CDEPEND="
@@ -42,7 +32,8 @@ CDEPEND="
 		sci-libs/cholmod[metis?]
 		sci-libs/spqr
 		sci-libs/superlu
-		sci-libs/umfpack )"
+		sci-libs/umfpack
+	)"
 DEPEND="
 	doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
@@ -51,6 +42,8 @@ RDEPEND="
 	!dev-cpp/eigen:0
 	${CDEPEND}"
 
+PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
+
 src_prepare() {
 	sed -i \
 		-e "s:/usr:${EPREFIX}/usr:g" \
@@ -61,12 +54,14 @@ src_prepare() {
 		{blas,lapack}/CMakeLists.txt || die
 
 	# TOFIX: static-libs for blas are always built with PIC
-	use static-libs || sed -i \
-		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-		-e "/add_library(eigen_[a-z]*_static/d" \
-		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-		{blas,lapack}/CMakeLists.txt || die
+	if ! use static-libs; then
+		sed \
+			-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+			-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+			-e "/add_library(eigen_[a-z]*_static/d" \
+			-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+			-i {blas,lapack}/CMakeLists.txt || die
+	fi
 
 	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
 

diff --git a/dev-cpp/eigen/eigen-3.2.8.ebuild b/dev-cpp/eigen/eigen-3.2.8.ebuild
index 12b0a5d..1da50f4 100644
--- a/dev-cpp/eigen/eigen-3.2.8.ebuild
+++ b/dev-cpp/eigen/eigen-3.2.8.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 FORTRAN_NEEDED=fortran
 
@@ -32,7 +32,8 @@ CDEPEND="
 		sci-libs/cholmod[metis?]
 		sci-libs/spqr
 		sci-libs/superlu
-		sci-libs/umfpack )"
+		sci-libs/umfpack
+	)"
 DEPEND="
 	doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
@@ -53,12 +54,14 @@ src_prepare() {
 		{blas,lapack}/CMakeLists.txt || die
 
 	# TOFIX: static-libs for blas are always built with PIC
-	use static-libs || sed -i \
-		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-		-e "/add_library(eigen_[a-z]*_static/d" \
-		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-		{blas,lapack}/CMakeLists.txt || die
+	if ! use static-libs; then
+		sed \
+			-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+			-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+			-e "/add_library(eigen_[a-z]*_static/d" \
+			-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+			-i {blas,lapack}/CMakeLists.txt || die
+	fi
 
 	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
 

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 64caa71..5c7c661 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -1,33 +1,21 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 FORTRAN_NEEDED=fortran
 
-if [[ ${PV} == "9999" ]] ; then
-	inherit mercurial
-	EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-	SRC_URI=""
-	KEYWORDS=""
-else
-	inherit vcs-snapshot
-	SRC_URI="
-		http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-		https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-		"
-	PATCHES=( "${DISTDIR}"/${P}-cmake.patch	)
-	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit alternatives-2 cmake-utils fortran-2 multilib
+inherit alternatives-2 cmake-utils fortran-2 mercurial multilib
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI=""
+EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
 
 SLOT="3"
 LICENSE="MPL-2.0"
+KEYWORDS=""
 IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
 
 CDEPEND="
@@ -42,7 +30,8 @@ CDEPEND="
 		sci-libs/cholmod[metis?]
 		sci-libs/spqr
 		sci-libs/superlu
-		sci-libs/umfpack )"
+		sci-libs/umfpack
+	)"
 DEPEND="
 	doc? ( app-doc/doxygen[dot,latex] )
 	test? ( ${CDEPEND} )"
@@ -61,12 +50,21 @@ src_prepare() {
 		{blas,lapack}/CMakeLists.txt || die
 
 	# TOFIX: static-libs for blas are always built with PIC
-	use static-libs || sed -i \
-		-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-		-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-		-e "/add_library(eigen_[a-z]*_static/d" \
-		-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-		{blas,lapack}/CMakeLists.txt || die
+	if ! use static-libs; then
+		sed \
+			-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
+			-e "/TARGETS/s/eigen_[a-z]*_static//g" \
+			-e "/add_library(eigen_[a-z]*_static/d" \
+			-e "/target_link_libraries(eigen_[a-z]*_static/d" \
+			-i {blas,lapack}/CMakeLists.txt || die
+	fi
+
+	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
+
+	sed \
+		-e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
+		-i eigen3.pc.in || die
+
 	cmake-utils_src_prepare
 }
 
@@ -78,7 +76,9 @@ src_configure() {
 		-DEIGEN_BUILD_BTL=OFF
 	)
 	export VARTEXFONTS="${T}/fonts"
-	CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+	export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
+
+	cmake-utils_src_configure
 	# use fortran && FORTRAN_LIBS="blas lapack" not ready
 	use fortran && FORTRAN_LIBS="blas"
 }
@@ -97,21 +97,17 @@ src_install() {
 	for x in ${FORTRAN_LIBS}; do
 		local libname="eigen_${x}"
 		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		cat > ${libname}.pc <<-EOF
-			prefix=${EPREFIX}/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION} ${x^^} implementation
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${libname}
-			Libs.private: -lm
-			$([[ ${x} == lapack ]] && echo "Requires: blas")
-		EOF
+		create_pkgconfig \
+			--description "${DESCRIPTION} ${x^^} implementation" \
+			--libs "-L\${libdir} -l${libname}" \
+			--libs-private "-lm" \
+			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
+			${libname}
 		alternatives_for ${x} eigen 0 \
 			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${libname}.pc
 	done
+
+	# Debian installs it and some projects started using it.
+	insinto /usr/share/cmake/Modules/
+	doins "${S}/cmake/FindEigen3.cmake"
 }


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2016-02-24 18:31 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2016-02-24 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     6ada63af4b563b5fb279d588ad81724dd9ce22e2
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 18:30:40 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 18:30:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6ada63af

dev-cpp/eigen: Revbump to match tree

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

 dev-cpp/eigen/{eigen-3.2.8.ebuild => eigen-3.2.8-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/eigen/eigen-3.2.8.ebuild b/dev-cpp/eigen/eigen-3.2.8-r1.ebuild
similarity index 99%
rename from dev-cpp/eigen/eigen-3.2.8.ebuild
rename to dev-cpp/eigen/eigen-3.2.8-r1.ebuild
index 1da50f4..0c6777e 100644
--- a/dev-cpp/eigen/eigen-3.2.8.ebuild
+++ b/dev-cpp/eigen/eigen-3.2.8-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://eigen.tuxfamily.org/"
 SRC_URI="
 	https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
 	https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-		"
+"
 
 SLOT="3"
 LICENSE="MPL-2.0"


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2017-05-13 15:56 Justin Lecher
  0 siblings, 0 replies; 36+ messages in thread
From: Justin Lecher @ 2017-05-13 15:56 UTC (permalink / raw
  To: gentoo-commits

commit:     15aa3558a40ada4f52c6941dad7b044caf07f862
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 15:56:36 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat May 13 15:56:36 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=15aa3558

dev-cpp/eigen: Merge tree changes Fixes

Fixes gentoo/sci#707

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=601170
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-cpp/eigen/{eigen-3.2.8-r1.ebuild => eigen-3.2.8-r2.ebuild} | 6 +-----
 dev-cpp/eigen/eigen-9999.ebuild                                | 6 +-----
 dev-cpp/eigen/metadata.xml                                     | 2 +-
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/dev-cpp/eigen/eigen-3.2.8-r1.ebuild b/dev-cpp/eigen/eigen-3.2.8-r2.ebuild
similarity index 95%
rename from dev-cpp/eigen/eigen-3.2.8-r1.ebuild
rename to dev-cpp/eigen/eigen-3.2.8-r2.ebuild
index 4f5fa6ab8..e93a800aa 100644
--- a/dev-cpp/eigen/eigen-3.2.8-r1.ebuild
+++ b/dev-cpp/eigen/eigen-3.2.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -64,10 +64,6 @@ src_prepare() {
 
 	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
 
-	sed \
-		-e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
-		-i eigen3.pc.in || die
-
 	cmake-utils_src_prepare
 }
 

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 759d64683..266a9ed2b 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -60,10 +60,6 @@ src_prepare() {
 
 	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
 
-	sed \
-		-e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
-		-i eigen3.pc.in || die
-
 	cmake-utils_src_prepare
 }
 

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index cfb88d051..6d5cb6666 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="project">


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

* [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/
@ 2019-11-25  5:43 Benda XU
  0 siblings, 0 replies; 36+ messages in thread
From: Benda XU @ 2019-11-25  5:43 UTC (permalink / raw
  To: gentoo-commits

commit:     b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 05:40:08 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 05:43:12 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b2dbc48b

dev-cpp/eigen: merged into ::gentoo and remove.

Closes: https://github.com/gentoo/sci/issues/799
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-cpp/eigen/eigen-3.2.7-r1.ebuild | 116 ------------------------------------
 dev-cpp/eigen/eigen-3.2.8-r2.ebuild | 112 ----------------------------------
 dev-cpp/eigen/eigen-9999.ebuild     | 108 ---------------------------------
 dev-cpp/eigen/metadata.xml          |  34 -----------
 4 files changed, 370 deletions(-)

diff --git a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
deleted file mode 100644
index a00566654..000000000
--- a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="
-	https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-	https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( sci-libs/fftw:3.0 )
-	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
-	metis? ( sci-libs/metis )
-	mkl? ( sci-libs/mkl )
-	pastix? ( sci-libs/pastix )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis?]
-		sci-libs/spqr
-		sci-libs/superlu
-		sci-libs/umfpack
-	)"
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
-
-src_prepare() {
-	sed -i \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
-		cmake/*.cmake || die
-	sed -i \
-		-e "/DESTINATION/s:lib:$(get_libdir):g" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	# TOFIX: static-libs for blas are always built with PIC
-	if ! use static-libs; then
-		sed \
-			-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-			-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-			-e "/add_library(eigen_[a-z]*_static/d" \
-			-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-			-i {blas,lapack}/CMakeLists.txt || die
-	fi
-
-	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
-	sed \
-		-e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
-		-i eigen3.pc.in || die
-
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	# cmake has buggy disable_testing feature, so leave it for now
-	local mycmakeargs=(
-		-DDART_TESTING_TIMEOUT=300
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	export VARTEXFONTS="${T}/fonts"
-	export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
-
-	cmake-utils_src_configure
-	# use fortran && FORTRAN_LIBS="blas lapack" not ready
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" check"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		create_pkgconfig \
-			--description "${DESCRIPTION} ${x^^} implementation" \
-			--libs "-L\${libdir} -l${libname}" \
-			--libs-private "-lm" \
-			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
-			${libname}
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-	done
-
-	# Debian installs it and some projects started using it.
-	insinto /usr/share/cmake/Modules/
-	doins "${S}/cmake/FindEigen3.cmake"
-}

diff --git a/dev-cpp/eigen/eigen-3.2.8-r2.ebuild b/dev-cpp/eigen/eigen-3.2.8-r2.ebuild
deleted file mode 100644
index e93a800aa..000000000
--- a/dev-cpp/eigen/eigen-3.2.8-r2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="
-	https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
-	https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( sci-libs/fftw:3.0 )
-	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
-	metis? ( sci-libs/metis )
-	mkl? ( sci-libs/mkl )
-	pastix? ( sci-libs/pastix )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis?]
-		sci-libs/spqr
-		sci-libs/superlu
-		sci-libs/umfpack
-	)"
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
-
-src_prepare() {
-	sed -i \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
-		cmake/*.cmake || die
-	sed -i \
-		-e "/DESTINATION/s:lib:$(get_libdir):g" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	# TOFIX: static-libs for blas are always built with PIC
-	if ! use static-libs; then
-		sed \
-			-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-			-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-			-e "/add_library(eigen_[a-z]*_static/d" \
-			-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-			-i {blas,lapack}/CMakeLists.txt || die
-	fi
-
-	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	# cmake has buggy disable_testing feature, so leave it for now
-	local mycmakeargs=(
-		-DDART_TESTING_TIMEOUT=300
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	export VARTEXFONTS="${T}/fonts"
-	export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
-
-	cmake-utils_src_configure
-	# use fortran && FORTRAN_LIBS="blas lapack" not ready
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" check"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		create_pkgconfig \
-			--description "${DESCRIPTION} ${x^^} implementation" \
-			--libs "-L\${libdir} -l${libname}" \
-			--libs-private "-lm" \
-			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
-			${libname}
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-	done
-
-	# Debian installs it and some projects started using it.
-	insinto /usr/share/cmake/Modules/
-	doins "${S}/cmake/FindEigen3.cmake"
-}

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
deleted file mode 100644
index 266a9ed2b..000000000
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 mercurial multilib
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI=""
-EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-KEYWORDS=""
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
-	adolc? ( sci-libs/adolc[sparse?] )
-	fftw? ( sci-libs/fftw:3.0 )
-	gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
-	metis? ( sci-libs/metis )
-	mkl? ( sci-libs/mkl )
-	pastix? ( sci-libs/pastix )
-	sparse? (
-		dev-cpp/sparsehash
-		sci-libs/cholmod[metis?]
-		sci-libs/spqr
-		sci-libs/superlu
-		sci-libs/umfpack
-	)"
-DEPEND="
-	doc? ( app-doc/doxygen[dot,latex] )
-	test? ( ${CDEPEND} )"
-
-RDEPEND="
-	!dev-cpp/eigen:0
-	${CDEPEND}"
-
-src_prepare() {
-	sed -i \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
-		cmake/*.cmake || die
-	sed -i \
-		-e "/DESTINATION/s:lib:$(get_libdir):g" \
-		{blas,lapack}/CMakeLists.txt || die
-
-	# TOFIX: static-libs for blas are always built with PIC
-	if ! use static-libs; then
-		sed \
-			-e "/add_dependencies/s/eigen_[a-z]*_static//g" \
-			-e "/TARGETS/s/eigen_[a-z]*_static//g" \
-			-e "/add_library(eigen_[a-z]*_static/d" \
-			-e "/target_link_libraries(eigen_[a-z]*_static/d" \
-			-i {blas,lapack}/CMakeLists.txt || die
-	fi
-
-	sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
-	cmake-utils_src_prepare
-}
-
-src_configure() {
-	# TOFIX: is it worth fixing all the automagic given no library is built?
-	# cmake has buggy disable_testing feature, so leave it for now
-	local mycmakeargs=(
-		-DDART_TESTING_TIMEOUT=300
-		-DEIGEN_BUILD_BTL=OFF
-	)
-	export VARTEXFONTS="${T}/fonts"
-	export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
-
-	cmake-utils_src_configure
-	# use fortran && FORTRAN_LIBS="blas lapack" not ready
-	use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
-	local targets="${FORTRAN_LIBS}"
-	use doc && targets+=" doc"
-	use test && targets+=" check"
-	cmake-utils_src_compile ${targets}
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
-	local x
-	for x in ${FORTRAN_LIBS}; do
-		local libname="eigen_${x}"
-		emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
-		create_pkgconfig \
-			--description "${DESCRIPTION} ${x^^} implementation" \
-			--libs "-L\${libdir} -l${libname}" \
-			--libs-private "-lm" \
-			$([[ ${x} == lapack ]] && echo "--requires 'blas'") \
-			${libname}
-		alternatives_for ${x} eigen 0 \
-			/usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
-	done
-
-	# Debian installs it and some projects started using it.
-	insinto /usr/share/cmake/Modules/
-	doins "${S}/cmake/FindEigen3.cmake"
-}

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
deleted file mode 100644
index ed850b49c..000000000
--- a/dev-cpp/eigen/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>sci@gentoo.org</email>
-		<name>Gentoo Science Project</name>
-	</maintainer>
-	<longdescription lang="en">
-Eigen is a lightweight C++ template library for vector and matrix math,
-a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
-focuses on the simple mathematical needs of applications: games and other
-OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
-providing optimal speed with GCC.
-</longdescription>
-	<use>
-		<flag name="adolc">
-Enable automatic differentiation using <pkg>sci-libs/adolc</pkg>
-</flag>
-		<flag name="metis">
-Enable matrix partitioning using <pkg>sci-libs/metis</pkg></flag>
-		<flag name="mkl">
-Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
-</flag>
-		<flag name="pastix">
-Enable large scale direct solver with using <pkg>sci-libs/pastix</pkg>
-</flag>
-		<flag name="sparse">
-Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
-</flag>
-	</use>
-	<upstream>
-		<remote-id type="bitbucket">eigen/eigen</remote-id>
-	</upstream>
-</pkgmetadata>


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

end of thread, other threads:[~2019-11-25  5:43 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29 14:49 [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2019-11-25  5:43 Benda XU
2017-05-13 15:56 Justin Lecher
2016-02-24 18:31 Justin Lecher
2016-02-22 13:25 Justin Lecher
2016-02-20 15:40 Justin Lecher
2015-12-24  8:55 Justin Lecher
2015-12-04 17:33 Marius Brehler
2015-12-04  7:01 Justin Lecher
2015-11-30 10:58 Justin Lecher
2014-10-17 22:47 Jauhien Piatlicki
2014-09-16  0:27 Christoph Junghans
2014-09-12  9:03 Jauhien Piatlicki
2014-04-24 23:09 Sebastien Fabbro
2014-04-24 23:09 Sebastien Fabbro
2014-04-22 20:47 Sebastien Fabbro
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2013-10-20 10:35 Honza Macháček
2013-08-07 21:34 Sebastien Fabbro
2013-04-29 16:32 Sebastien Fabbro
2012-12-13  0:10 Sebastien Fabbro
2012-11-19 19:11 Sebastien Fabbro
2012-10-25 15:54 Justin Lecher
2012-07-26 21:07 Sebastien Fabbro
2012-07-09 23:48 Sebastien Fabbro
2012-07-09 20:57 Sebastien Fabbro
2012-06-29  0:27 Sebastien Fabbro
2012-03-25  1:36 Andrea Arteaga
2012-02-10 21:39 Andrea Arteaga
2011-12-20 18:00 Sebastien Fabbro
2011-10-07 10:53 Andrea Arteaga
2011-08-29 13:52 Andrea Arteaga
2011-08-19 15:29 Andrea Arteaga
2011-08-19  0:29 Andrea Arteaga
2011-08-19  0:25 Andrea Arteaga

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