From: | "Guilherme Amadio (amadio)" <amadio@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-physics/clhep: ChangeLog clhep-2.2.0.5.ebuild |
Date: | Wed, 04 Mar 2015 04:32:24 |
Message-Id: | 20150304043217.15E1612FF1@oystercatcher.gentoo.org |
1 | amadio 15/03/04 04:32:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: clhep-2.2.0.5.ebuild |
5 | Log: |
6 | version bump. Fix bug #525272. |
7 | |
8 | (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xF0DE108F) |
9 | |
10 | Revision Changes Path |
11 | 1.48 sci-physics/clhep/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.48&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.48&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?r1=1.47&r2=1.48 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v |
20 | retrieving revision 1.47 |
21 | retrieving revision 1.48 |
22 | diff -u -r1.47 -r1.48 |
23 | --- ChangeLog 30 Jun 2014 18:50:48 -0000 1.47 |
24 | +++ ChangeLog 4 Mar 2015 04:32:17 -0000 1.48 |
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.47 2014/06/30 18:50:48 bicatali Exp $ |
29 | +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.48 2015/03/04 04:32:17 amadio Exp $ |
31 | + |
32 | +*clhep-2.2.0.5 (04 Mar 2015) |
33 | + |
34 | + 04 Mar 2015; <amadio@g.o> +clhep-2.2.0.5.ebuild: |
35 | + version bump |
36 | |
37 | *clhep-2.2.0.1 (30 Jun 2014) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 sci-physics/clhep/clhep-2.2.0.5.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.2.0.5.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.2.0.5.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: clhep-2.2.0.5.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 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.2.0.5.ebuild,v 1.1 2015/03/04 04:32:17 amadio 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 | } |