From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2E24B13800E for ; Sun, 29 Jul 2012 15:50:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54CE0E04F2; Sun, 29 Jul 2012 15:50:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 15CE0E04F2 for ; Sun, 29 Jul 2012 15:50:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0351A1B400D for ; Sun, 29 Jul 2012 15:50:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B3A07E5437 for ; Sun, 29 Jul 2012 15:50:05 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1343576947.9402d6cc6c49cdeb2da803c69883b7a9170b0536.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-cpp/eigen/ X-VCS-Repository: proj/kde X-VCS-Files: dev-cpp/eigen/eigen-9999.ebuild dev-cpp/eigen/metadata.xml X-VCS-Directories: dev-cpp/eigen/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 9402d6cc6c49cdeb2da803c69883b7a9170b0536 X-VCS-Branch: master Date: Sun, 29 Jul 2012 15:50:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 403f1c52-dc5b-4d56-a026-8b3490a155e0 X-Archives-Hash: bc3476e804eeafbd77114404c14c07a1 commit: 9402d6cc6c49cdeb2da803c69883b7a9170b0536 Author: Michael Palimaka gentoo org> AuthorDate: Sun Jul 29 15:49:07 2012 +0000 Commit: Michael Palimaka gentoo 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 @@ sci kde - - cryos@gentoo.org - - + 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