From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RC83X-0000lI-1z for garchives@archives.gentoo.org; Fri, 07 Oct 2011 10:53:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41F5021C21B; Fri, 7 Oct 2011 10:53:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F07A921C21B for ; Fri, 7 Oct 2011 10:53:23 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57F921B4031 for ; Fri, 7 Oct 2011 10:53:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 9489B80042 for ; Fri, 7 Oct 2011 10:53:22 +0000 (UTC) From: "Andrea Arteaga" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrea Arteaga" Message-ID: <628aafc273c194da64fa3eb4fba84efab23e9243.spiros@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/ X-VCS-Repository: proj/sci X-VCS-Files: dev-cpp/eigen/ChangeLog dev-cpp/eigen/eigen-3.0.3.ebuild X-VCS-Directories: dev-cpp/eigen/ X-VCS-Committer: spiros X-VCS-Committer-Name: Andrea Arteaga X-VCS-Revision: 628aafc273c194da64fa3eb4fba84efab23e9243 Date: Fri, 7 Oct 2011 10:53:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 32b059805fae2df94150be3528b08422 commit: 628aafc273c194da64fa3eb4fba84efab23e9243 Author: spiros spib (none)> AuthorDate: Fri Oct 7 10:52:52 2011 +0000 Commit: Andrea Arteaga gmail com> CommitDate: Fri Oct 7 10:52:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D628aafc2 [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/0= 3/25 16:01:28 jlec Exp $ =20 +* eigen-3.0.3 (7 Oct 2011) + + 7 Oct 2011; Andrea Arteaga eigen-3.0.3.ebuild + Version bump. + *eigen-3.0.2 (29 Aug 2011) =20 29 Aug 2011; Justin Lecher +eigen-3.0.2.ebuild: @@ -32,13 +37,13 @@ =20 *eigen-3.0.1-r1 (15 Jun 2011) =20 - 15 Jun 2011; S=C3=A9bastien Fabbro -eigen-3.0.0-= r1.ebuild, + 15 Jun 2011; S=C3=83=C2=A9bastien Fabbro -eigen-= 3.0.0-r1.ebuild, +eigen-3.0.1-r1.ebuild: Bump =20 *eigen-3.0.0-r1 (31 Mar 2011) =20 - 31 Mar 2011; S=C3=A9bastien Fabbro +eigen-3.0.0-= r1.ebuild, + 31 Mar 2011; S=C3=83=C2=A9bastien Fabbro +eigen-= 3.0.0-r1.ebuild, +metadata.xml: Added a few extras flags to pull dependencies for unsupported eigen fe= atures. 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 =20 - 13 Feb 2011; Tom=C3=A1=C5=A1 Chv=C3=A1tal -eige= n-2.0.5.ebuild, + 13 Feb 2011; Tom=C3=83=C2=A1=C3=85=C2=A1 Chv=C3=83=C2=A1tal -eigen-2.0.5.ebuild, -eigen-2.0.14.ebuild: old =20 @@ -62,7 +67,7 @@ eigen-2.0.14.ebuild, +eigen-2.0.15.ebuild: Version Bump, 339258 =20 - 27 Aug 2010; Ra=C3=BAl Porcel eigen-2.0.13.ebuild= : + 27 Aug 2010; Ra=C3=83=C2=BAl Porcel eigen-2.0.13.= ebuild: alpha/ia64/sparc stable wrt #327581 =20 23 Jul 2010; Markus Meier eigen-2.0.13.ebuild: @@ -95,15 +100,15 @@ 14 Jan 2010; Jeroen Roovers eigen-2.0.5.ebuild: Stable for HPPA (bug #295884). =20 - 28 Dec 2009; Tom=C3=A1=C5=A1 Chv=C3=A1tal eigen= -2.0.5.ebuild, + 28 Dec 2009; Tom=C3=83=C2=A1=C3=85=C2=A1 Chv=C3=83=C2=A1tal eigen-2.0.5.ebuild, eigen-2.0.10.ebuild: Reorder the deps to not rdepend on doxygen. =20 - 28 Dec 2009; Tom=C3=A1=C5=A1 Chv=C3=A1tal eigen= -2.0.5.ebuild, + 28 Dec 2009; Tom=C3=83=C2=A1=C3=85=C2=A1 Chv=C3=83=C2=A1tal eigen-2.0.5.ebuild, eigen-2.0.10.ebuild: Doc useflag require doxygen. Per bug #298074. =20 - 27 Dec 2009; Ra=C3=BAl Porcel eigen-2.0.5.ebuild: + 27 Dec 2009; Ra=C3=83=C2=BAl Porcel eigen-2.0.5.e= build: alpha/ia64/sparc stable =20 *eigen-2.0.10 (10 Dec 2009) @@ -124,7 +129,7 @@ 30 Nov 2009; Joseph Jezak Manifest: Marked ppc/ppc64 stable. =20 - 29 Nov 2009; Ra=C3=BAl Porcel eigen-2.0.9.ebuild: + 29 Nov 2009; Ra=C3=83=C2=BAl Porcel eigen-2.0.9.e= build: Add ~sparc =20 *eigen-2.0.9 (01 Nov 2009) @@ -171,7 +176,7 @@ =20 *eigen-2.0.3 (30 Jul 2009) =20 - 30 Jul 2009; Tom=C3=A1=C5=A1 Chv=C3=A1tal +eige= n-2.0.3.ebuild, + 30 Jul 2009; Tom=C3=83=C2=A1=C3=85=C2=A1 Chv=C3=83=C2=A1tal +eigen-2.0.3.ebuild, +files/eigen-ppc-define.patch: Version bump. =20 @@ -192,7 +197,7 @@ 14 Apr 2009; Tomas Chvatal +eigen-2.0.1.ebuild: Version bump. =20 - 11 Apr 2009; Ra=C3=BAl Porcel eigen-2.0.0.ebuild: + 11 Apr 2009; Ra=C3=83=C2=BAl Porcel eigen-2.0.0.e= build: Add ~alpha/~ia64 wrt #260777 =20 09 Mar 2009; Brent Baude 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=3D4 + +inherit cmake-utils alternatives-2 + +DESCRIPTION=3D"C++ template library for linear algebra" +HOMEPAGE=3D"http://eigen.tuxfamily.org/" +SRC_URI=3D"http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.ta= r.bz2" + +LICENSE=3D"|| ( LGPL-3 GPL-2 )" +KEYWORDS=3D"~amd64 ~x86" +SLOT=3D"3" +IUSE=3D"adolc fortran fftw doc gmp sparse static-libs test" + +CDEPEND=3D"adolc? ( sci-libs/adolc[sparse?] ) + fftw? ( >=3Dsci-libs/fftw-3 ) + gmp? ( dev-libs/gmp dev-libs/mpfr ) + sparse? ( dev-cpp/sparsehash + sci-libs/cholmod + sci-libs/superlu + sci-libs/umfpack )" + +DEPEND=3D"doc? ( app-doc/doxygen ) + test? ( ${CDEPEND} )" + +RDEPEND=3D"!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=3D( + -DEIGEN_BUILD_BTL=3DOFF + ) + CMAKE_BUILD_TYPE=3D"release" cmake-utils_src_configure + use fortran && FORTRAN_LIBS=3D"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=3D"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=3D"${EPREFIX}"/usr + libdir=3D\${prefix}/$(get_libdir) + includedir=3D\${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 +}