public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-cpp/eigen/
Date: Sun, 29 Jul 2012 15:50:05 +0000 (UTC)	[thread overview]
Message-ID: <1343576947.9402d6cc6c49cdeb2da803c69883b7a9170b0536.kensington@gentoo> (raw)

commit:     9402d6cc6c49cdeb2da803c69883b7a9170b0536
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 29 15:49:07 2012 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jul 29 15:49:07 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=9402d6cc

[dev-cpp/eigen] Sync with portage.

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

---
 dev-cpp/eigen/eigen-9999.ebuild |   59 ++++++++++++++++++++------------------
 dev-cpp/eigen/metadata.xml      |    5 +--
 2 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 2115633..db4735f 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -6,55 +6,58 @@ EAPI=4
 
 inherit cmake-utils mercurial
 
-DESCRIPTION="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra"
+DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms"
 HOMEPAGE="http://eigen.tuxfamily.org/"
-#SRC_URI="http://bitbucket.org/eigen/eigen2/get/${PV}.tar.bz2"
-EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+EHG_REPO_URI="https://bitbucket.org/${PN}/${PN}"
 
-LICENSE="GPL-3"
+LICENSE="LGPL-2 GPL-3"
 KEYWORDS=""
 SLOT="3"
-IUSE="debug doc examples test"
+IUSE="debug doc"
 
-RDEPEND="
-	examples? (
-		x11-libs/qt-gui:4
-		x11-libs/qt-opengl:4
-	)
-"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )
-"
-
-S="${WORKDIR}/eigen"
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="!dev-cpp/eigen:0"
 
-CMAKE_BUILD_TYPE="Release"
+src_prepare() {
+	sed -i CMakeLists.txt \
+		-e "/add_subdirectory(demos/d" \
+		-e "/add_subdirectory(blas/d" \
+		-e "/add_subdirectory(lapack/d" \
+		|| die "sed disable unused bundles failed"
+}
 
 src_configure() {
 	# benchmarks (BTL) brings up damn load of external deps including fortran
 	# compiler
-	# library hangs up complete compilation proccess, test later
+	CMAKE_BUILD_TYPE="release"
 	mycmakeargs=(
-		-DEIGEN_BUILD_LIB=OFF
 		-DEIGEN_BUILD_BTL=OFF
-		$(cmake-utils_use examples EIGEN_BUILD_DEMOS)
-		$(cmake-utils_use test EIGEN_BUILD_TESTS)
-		$(cmake-utils_use test EIGEN_TEST_NO_FORTRAN)
 	)
 	cmake-utils_src_configure
 }
 
 src_compile() {
 	cmake-utils_src_compile
-	use doc && cmake-utils_src_compile doc
+	if use doc; then
+		cmake-utils_src_compile doc
+	fi
+}
+
+src_test() {
+	mycmakeargs=(
+		-DEIGEN_BUILD_TESTS=ON
+		-DEIGEN_TEST_NO_FORTRAN=ON
+		-DEIGEN_TEST_NO_OPENGL=ON
+	)
+	cmake-utils_src_configure
+	cmake-utils_src_compile buildtests
+	cmake-utils_src_test
 }
 
 src_install() {
-	use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/doc/html/")
 	cmake-utils_src_install
-
-	if use examples; then
-		cd "${CMAKE_BUILD_DIR}"/demos
-		dobin mandelbrot/mandelbrot opengl/quaternion_demo
+	if use doc; then
+		cd "${CMAKE_BUILD_DIR}"/doc
+		dohtml -r html/*
 	fi
 }

diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
index 6ede838..82bab86 100644
--- a/dev-cpp/eigen/metadata.xml
+++ b/dev-cpp/eigen/metadata.xml
@@ -3,10 +3,7 @@
 <pkgmetadata>
 	<herd>sci</herd>
 	<herd>kde</herd>
-  <maintainer>
-    <email>cryos@gentoo.org</email>
-  </maintainer>
-  <longdescription>
+	<longdescription>
     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


             reply	other threads:[~2012-07-29 15:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-29 15:50 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-10 17:30 [gentoo-commits] proj/kde:master commit in: dev-cpp/eigen/ Michael Palimaka
2014-03-11 10:21 Johannes Huber
2013-10-17 19:26 Johannes Huber
2013-02-13 11:15 Michael Palimaka
2011-02-05 16:45 Tomas Chvatal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343576947.9402d6cc6c49cdeb2da803c69883b7a9170b0536.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox