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