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.2.4.ebuild clhep-2.1.3.1.ebuild ChangeLog clhep-2.1.2.3.ebuild
Date: Fri, 30 Nov 2012 22:00:07
Message-Id: 20121130215952.3314920C63@flycatcher.gentoo.org
1 bicatali 12/11/30 21:59:52
2
3 Modified: clhep-2.1.2.4.ebuild ChangeLog
4 Added: clhep-2.1.3.1.ebuild
5 Removed: clhep-2.1.2.3.ebuild
6 Log:
7 Version bump. Fixed parallel doc building (bug #437482) and doc installation directory
8
9 (Portage version: 2.2.01.21313-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
10
11 Revision Changes Path
12 1.3 sci-physics/clhep/clhep-2.1.2.4.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.4.ebuild?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.4.ebuild?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.2.4.ebuild?r1=1.2&r2=1.3
17
18 Index: clhep-2.1.2.4.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.2.4.ebuild,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- clhep-2.1.2.4.ebuild 14 Aug 2012 20:17:28 -0000 1.2
25 +++ clhep-2.1.2.4.ebuild 30 Nov 2012 21:59:52 -0000 1.3
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2012 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.2.4.ebuild,v 1.2 2012/08/14 20:17:28 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.2.4.ebuild,v 1.3 2012/11/30 21:59:52 bicatali Exp $
31
32 EAPI=4
33
34 @@ -25,6 +25,14 @@
35 epatch "${FILESDIR}"/${P}-lsb-whitespace.patch
36 # respect flags
37 sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die
38 + # no batch mode to allow parallel building (bug #437482)
39 + sed -i \
40 + -e 's:-interaction=batchmode::g' \
41 + cmake/Modules/ClhepBuildTex.cmake || die
42 + # gentoo doc directory
43 + sed -i \
44 + -e "/DESTINATION/s:doc:share/doc/${PF}:" \
45 + cmake/Modules/ClhepBuildTex.cmake */doc/CMakeLists.txt || die
46 # dont build test if not asked
47 if ! use test; then
48 sed -i \
49
50
51
52 1.44 sci-physics/clhep/ChangeLog
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.44&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.44&content-type=text/plain
56 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?r1=1.43&r2=1.44
57
58 Index: ChangeLog
59 ===================================================================
60 RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v
61 retrieving revision 1.43
62 retrieving revision 1.44
63 diff -u -r1.43 -r1.44
64 --- ChangeLog 14 Aug 2012 20:17:28 -0000 1.43
65 +++ ChangeLog 30 Nov 2012 21:59:52 -0000 1.44
66 @@ -1,6 +1,13 @@
67 # ChangeLog for sci-physics/clhep
68 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
69 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.43 2012/08/14 20:17:28 bicatali Exp $
70 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.44 2012/11/30 21:59:52 bicatali Exp $
71 +
72 +*clhep-2.1.3.1 (30 Nov 2012)
73 +
74 + 30 Nov 2012; Sébastien Fabbro <bicatali@g.o> +clhep-2.1.3.1.ebuild,
75 + -clhep-2.1.2.3.ebuild, clhep-2.1.2.4.ebuild:
76 + Version bump. Fixed parallel doc building (bug #437482) and doc installation
77 + directory
78
79 14 Aug 2012; Sébastien Fabbro <bicatali@g.o>
80 +files/clhep-2.1.2.4-lsb-whitespace.patch, clhep-2.1.2.4.ebuild:
81
82
83
84 1.1 sci-physics/clhep/clhep-2.1.3.1.ebuild
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.3.1.ebuild?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.1.3.1.ebuild?rev=1.1&content-type=text/plain
88
89 Index: clhep-2.1.3.1.ebuild
90 ===================================================================
91 # Copyright 1999-2012 Gentoo Foundation
92 # Distributed under the terms of the GNU General Public License v2
93 # $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.1.3.1.ebuild,v 1.1 2012/11/30 21:59:52 bicatali Exp $
94
95 EAPI=4
96
97 inherit cmake-utils multilib
98
99 DESCRIPTION="High Energy Physics C++ library"
100 HOMEPAGE="http://www.cern.ch/clhep"
101 SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz"
102 LICENSE="GPL-3 LGPL-3"
103 SLOT="2"
104 KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
105
106 IUSE="doc static-libs test"
107 RDEPEND=""
108 DEPEND="${RDEPEND}
109 doc? ( virtual/latex-base )"
110
111 S="${WORKDIR}/${PV}/CLHEP"
112
113 src_prepare() {
114 # respect flags
115 sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die
116 # no batch mode to allow parallel building (bug #437482)
117 sed -i \
118 -e 's:-interaction=batchmode::g' \
119 cmake/Modules/ClhepBuildTex.cmake || die
120 # gentoo doc directory
121 sed -i \
122 -e "/DESTINATION/s:doc:share/doc/${PF}:" \
123 cmake/Modules/ClhepBuildTex.cmake */doc/CMakeLists.txt || die
124 # dont build test if not asked
125 if ! use test; then
126 sed -i \
127 -e '/add_subdirectory(test)/d' \
128 */CMakeLists.txt || die
129 fi
130 }
131
132 src_configure() {
133 local mycmakeargs=(
134 $(cmake-utils_use_enable test TESTING)
135 $(cmake-utils_use doc CLHEP_BUILD_DOCS)
136 )
137 DESTDIR="${ED}" cmake-utils_src_configure
138 use doc && MAKEOPTS+=" -j1"
139 }
140
141 src_install() {
142 cmake-utils_src_install
143 use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a
144 dodoc README ChangeLog
145 }