aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2012-11-19 11:10:44 -0800
committerSébastien Fabbro <bicatali@gentoo.org>2012-11-19 11:10:44 -0800
commit6545f738da612480072d2c01b153d930f92ff068 (patch)
treebd99d1786d4f49ab2fe0d32260a49a0c7e2ee9cd /dev-cpp/eigen
parentlive ebuild update (diff)
downloadsci-6545f738da612480072d2c01b153d930f92ff068.tar.gz
sci-6545f738da612480072d2c01b153d930f92ff068.tar.bz2
sci-6545f738da612480072d2c01b153d930f92ff068.zip
dev-cpp/eigen: Version bump
Package-Manager: portage-2.2.01.21313-prefix RepoMan-Options: --force
Diffstat (limited to 'dev-cpp/eigen')
-rw-r--r--dev-cpp/eigen/ChangeLog6
-rw-r--r--dev-cpp/eigen/Manifest2
-rw-r--r--dev-cpp/eigen/eigen-3.0.6-r1.ebuild84
l---------dev-cpp/eigen/eigen-3.1.2.ebuild1
-rw-r--r--dev-cpp/eigen/metadata.xml14
5 files changed, 15 insertions, 92 deletions
diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index 471649a8f..d530d036b 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/Manifest b/dev-cpp/eigen/Manifest
index fbd4652fb..0d71fe3fd 100644
--- a/dev-cpp/eigen/Manifest
+++ b/dev-cpp/eigen/Manifest
@@ -1,2 +1,2 @@
-DIST eigen-3.0.6.tar.bz2 961722 SHA256 32e1275a105339003ba34007dd07dc1c62077d75882f3eeddd40a7ec5a5bfd87 SHA512 97cf5126984848f31b3c45c44d7ee6b8d42eca459ff2cc5535413efc768254a1ab738d935c70f9a457a9eaee5faa3c1b08c1f17193b6fcecb5ae0f0b6b32d1fa WHIRLPOOL e17409a807228b63b866c282f767c9107e6c0b45ad84bb311a5ef70053dca3d48580c8839bb6b8fcf5c5bab1a0c102413a96c06007bfbd2218bf260c4a522586
DIST eigen-3.1.1.tar.bz2 1049447 SHA256 531a97c3d96d151c72951e6f295b5e5f3f68f668fd04c9b1a0d84187547121ab SHA512 099310095c2b0a0e5e6af389414ab35c73828699d489813d527345307bc4cdc7f40eca24cb798fb2b29f3048938ae82219b0e3a410e64f32724bd0d27a134d50 WHIRLPOOL a02818d046dc80cbcd7cdf601ab97917d22e8ec80c88107098b47833571da6282c5ea12bb0575eac9d20ef5c73630edd68485de546bfd9632d93eb733f8f62e3
+DIST eigen-3.1.2.tar.bz2 1052120 SHA256 5efddc5b11f651bc531b46e4a00b805b16f8bb356db361a533c92145ecdadcc3 SHA512 7f7cbada67fc4c63fd60ebfefaa2492432546e91e014a32103f958cd1f9644dff424a2e1046d8de51982dc9072873a96dfbe75e95a1529fd47880069989ae837 WHIRLPOOL f1809ae4157f7ef86737fa5283bff17fc8e902fbf31bbc8be02c67143e9ab7cb43e72a3a51e444d753b4bc2054ca6d1bdc16aa68998f9fc6962978ca1c29f0d8
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 1ad9b1556..000000000
--- 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 000000000..eafd77401
--- /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 bb9ba2f9e..a4a932705 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>