Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/clhep: clhep-2.1.4.2.ebuild ChangeLog
Date: Wed, 28 May 2014 16:35:46
Message-Id: 20140528163542.ADB2E2004E@flycatcher.gentoo.org
1 bicatali 14/05/28 16:35:42
2
3 Modified: ChangeLog
4 Added: clhep-2.1.4.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.46 sci-physics/clhep/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.46&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.46&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?r1=1.45&r2=1.46
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v
20 retrieving revision 1.45
21 retrieving revision 1.46
22 diff -u -r1.45 -r1.46
23 --- ChangeLog 25 Nov 2013 21:59:14 -0000 1.45
24 +++ ChangeLog 28 May 2014 16:35:42 -0000 1.46
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-physics/clhep
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.45 2013/11/25 21:59:14 bicatali Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.46 2014/05/28 16:35:42 bicatali Exp $
31 +
32 +*clhep-2.1.4.2 (28 May 2014)
33 +
34 + 28 May 2014; Sébastien Fabbro <bicatali@g.o> +clhep-2.1.4.2.ebuild:
35 + Version bump
36
37 *clhep-2.1.4.1 (25 Nov 2013)
38
39
40
41
42 1.1 sci-physics/clhep/clhep-2.1.4.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.4.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.4.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: clhep-2.1.4.2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.4.2.ebuild,v 1.1 2014/05/28 16:35:42 bicatali Exp $
52
53 EAPI=5
54
55 inherit cmake-utils multilib
56
57 DESCRIPTION="High Energy Physics C++ library"
58 HOMEPAGE="http://www.cern.ch/clhep"
59 SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz"
60 LICENSE="GPL-3 LGPL-3"
61 SLOT="2/${PV}"
62 KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
63
64 IUSE="doc static-libs test"
65 RDEPEND=""
66 DEPEND="${RDEPEND}
67 doc? ( virtual/latex-base )"
68
69 S="${WORKDIR}/${PV}/CLHEP"
70
71 src_prepare() {
72 # respect flags
73 sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die
74 # no batch mode to allow parallel building (bug #437482)
75 sed -i \
76 -e 's:-interaction=batchmode::g' \
77 cmake/Modules/ClhepBuildTex.cmake || die
78 # gentoo doc directory
79 sed -i \
80 -e "/DESTINATION/s:doc:share/doc/${PF}:" \
81 cmake/Modules/ClhepBuildTex.cmake */doc/CMakeLists.txt || die
82 # dont build test if not asked
83 if ! use test; then
84 sed -i \
85 -e '/add_subdirectory(test)/d' \
86 */CMakeLists.txt || die
87 fi
88 }
89
90 src_configure() {
91 local mycmakeargs=(
92 $(cmake-utils_use_enable test TESTING)
93 $(cmake-utils_use doc CLHEP_BUILD_DOCS)
94 )
95 DESTDIR="${ED}" cmake-utils_src_configure
96 use doc && MAKEOPTS+=" -j1"
97 }
98
99 src_install() {
100 cmake-utils_src_install
101 use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a
102 }