Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/eigen: eigen-3.2.5.ebuild ChangeLog
Date: Mon, 29 Jun 2015 08:52:04
Message-Id: 20150629085143.549D073D@oystercatcher.gentoo.org
1 aballier 15/06/29 08:51:43
2
3 Modified: ChangeLog
4 Added: eigen-3.2.5.ebuild
5 Log:
6 Version bump. Install FindEigen3.cmake as some packages started to use it since debian ships it.
7
8 Signed-off-by: Alexis Ballier <aballier@g.o>
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.89 dev-cpp/eigen/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/eigen/ChangeLog?rev=1.89&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/eigen/ChangeLog?rev=1.89&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/eigen/ChangeLog?r1=1.88&r2=1.89
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v
21 retrieving revision 1.88
22 retrieving revision 1.89
23 diff -u -r1.88 -r1.89
24 --- ChangeLog 6 Feb 2015 18:19:16 -0000 1.88
25 +++ ChangeLog 29 Jun 2015 08:51:43 -0000 1.89
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-cpp/eigen
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.88 2015/02/06 18:19:16 kensington Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.89 2015/06/29 08:51:43 aballier Exp $
31 +
32 +*eigen-3.2.5 (29 Jun 2015)
33 +
34 + 29 Jun 2015; Alexis Ballier <aballier@g.o> +eigen-3.2.5.ebuild:
35 + Version bump. Install FindEigen3.cmake as some packages started to use it
36 + since debian ships it.
37
38 *eigen-3.2.4 (06 Feb 2015)
39
40
41
42
43 1.1 dev-cpp/eigen/eigen-3.2.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/eigen/eigen-3.2.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/eigen/eigen-3.2.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: eigen-3.2.5.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-3.2.5.ebuild,v 1.1 2015/06/29 08:51:43 aballier Exp $
53
54 EAPI=5
55
56 inherit cmake-utils
57
58 DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms"
59 HOMEPAGE="http://eigen.tuxfamily.org/"
60 SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
61
62 LICENSE="LGPL-2 GPL-3"
63 SLOT="3"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
65 IUSE="debug doc"
66
67 DEPEND="doc? ( app-doc/doxygen[dot,latex] )"
68 RDEPEND="!dev-cpp/eigen:0"
69
70 src_unpack() {
71 default
72 mv ${PN}* ${P} || die
73 }
74
75 src_prepare() {
76 sed -i CMakeLists.txt \
77 -e "/add_subdirectory(demos/d" \
78 -e "/add_subdirectory(blas/d" \
79 -e "/add_subdirectory(lapack/d" \
80 || die "sed disable unused bundles failed"
81
82 cmake-utils_src_prepare
83 }
84
85 src_configure() {
86 CMAKE_BUILD_TYPE="release"
87 cmake-utils_src_configure
88 }
89
90 src_compile() {
91 cmake-utils_src_compile
92 if use doc; then
93 cmake-utils_src_compile doc
94 fi
95 }
96
97 src_test() {
98 local mycmakeargs=(
99 -DEIGEN_BUILD_TESTS=ON
100 -DEIGEN_TEST_NO_FORTRAN=ON
101 -DEIGEN_TEST_NO_OPENGL=ON
102 )
103 cmake-utils_src_configure
104 cmake-utils_src_compile buildtests
105 cmake-utils_src_test
106 }
107
108 src_install() {
109 cmake-utils_src_install
110 if use doc; then
111 cd "${BUILD_DIR}"/doc
112 dohtml -r html/*
113 fi
114
115 # Debian installs it and some projects started using it.
116 insinto /usr/share/cmake/Modules/
117 doins "${S}/cmake/FindEigen3.cmake"
118 }