Gentoo Archives: gentoo-commits

From: "Andrew Savchenko (bircoph)" <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-physics/hepmc: hepmc-2.06.09-r1.ebuild ChangeLog hepmc-2.06.03.ebuild hepmc-2.06.08.ebuild hepmc-2.06.09.ebuild
Date: Wed, 27 May 2015 21:37:56
Message-Id: 20150527213748.9F735A06@oystercatcher.gentoo.org
1 bircoph 15/05/27 21:37:48
2
3 Modified: ChangeLog hepmc-2.06.03.ebuild hepmc-2.06.08.ebuild
4 Added: hepmc-2.06.09-r1.ebuild
5 Removed: hepmc-2.06.09.ebuild
6 Log:
7 update homepage, floatflt dep, bump to EAPI=5
8
9 Signed-off-by: Andrew Savchenko <bircoph@g.o>
10 (Portage version: 2.2.20/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
11
12 Revision Changes Path
13 1.35 sci-physics/hepmc/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.35&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.35&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/ChangeLog?r1=1.34&r2=1.35
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v
22 retrieving revision 1.34
23 retrieving revision 1.35
24 diff -u -r1.34 -r1.35
25 --- ChangeLog 26 Aug 2013 10:56:43 -0000 1.34
26 +++ ChangeLog 27 May 2015 21:37:48 -0000 1.35
27 @@ -1,6 +1,13 @@
28 # ChangeLog for sci-physics/hepmc
29 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.34 2013/08/26 10:56:43 patrick Exp $
31 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.35 2015/05/27 21:37:48 bircoph Exp $
33 +
34 +*hepmc-2.06.09-r1 (27 May 2015)
35 +
36 + 27 May 2015; Andrew Savchenko <bircoph@g.o> hepmc-2.06.03.ebuild,
37 + hepmc-2.06.08.ebuild, -hepmc-2.06.09.ebuild, +hepmc-2.06.09-r1.ebuild:
38 + Prefer floatflt.sty from dev-texlive/texlive-latexextra.
39 + Bump to EAPI=5, remove old. Update homepage.
40
41 *hepmc-2.06.09 (26 Aug 2013)
42
43
44
45
46 1.9 sci-physics/hepmc/hepmc-2.06.03.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild?rev=1.9&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild?rev=1.9&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild?r1=1.8&r2=1.9
51
52 Index: hepmc-2.06.03.ebuild
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v
55 retrieving revision 1.8
56 retrieving revision 1.9
57 diff -u -r1.8 -r1.9
58 --- hepmc-2.06.03.ebuild 8 Jun 2011 15:15:24 -0000 1.8
59 +++ hepmc-2.06.03.ebuild 27 May 2015 21:37:48 -0000 1.9
60 @@ -1,6 +1,6 @@
61 -# Copyright 1999-2011 Gentoo Foundation
62 +# Copyright 1999-2015 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v 1.8 2011/06/08 15:15:24 jer Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.03.ebuild,v 1.9 2015/05/27 21:37:48 bircoph Exp $
66
67 EAPI=2
68
69 @@ -9,7 +9,7 @@
70 MYP=HepMC-${PV}
71
72 DESCRIPTION="Event Record for Monte Carlo Generators"
73 -HOMEPAGE="https://savannah.cern.ch/projects/hepmc/"
74 +HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/"
75 SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz"
76
77 LICENSE="GPL-2"
78
79
80
81 1.3 sci-physics/hepmc/hepmc-2.06.08.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild?rev=1.3&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild?rev=1.3&content-type=text/plain
85 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild?r1=1.2&r2=1.3
86
87 Index: hepmc-2.06.08.ebuild
88 ===================================================================
89 RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild,v
90 retrieving revision 1.2
91 retrieving revision 1.3
92 diff -u -r1.2 -r1.3
93 --- hepmc-2.06.08.ebuild 7 Aug 2012 16:56:28 -0000 1.2
94 +++ hepmc-2.06.08.ebuild 27 May 2015 21:37:48 -0000 1.3
95 @@ -1,6 +1,6 @@
96 -# Copyright 1999-2012 Gentoo Foundation
97 +# Copyright 1999-2015 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild,v 1.2 2012/08/07 16:56:28 bicatali Exp $
100 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.08.ebuild,v 1.3 2015/05/27 21:37:48 bircoph Exp $
101
102 EAPI=4
103
104 @@ -9,7 +9,7 @@
105 MYP=HepMC-${PV}
106
107 DESCRIPTION="Event Record for Monte Carlo Generators"
108 -HOMEPAGE="https://savannah.cern.ch/projects/hepmc/"
109 +HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/"
110 SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz"
111
112 LICENSE="GPL-2"
113
114
115
116 1.1 sci-physics/hepmc/hepmc-2.06.09-r1.ebuild
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild?rev=1.1&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild?rev=1.1&content-type=text/plain
120
121 Index: hepmc-2.06.09-r1.ebuild
122 ===================================================================
123 # Copyright 1999-2015 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09-r1.ebuild,v 1.1 2015/05/27 21:37:48 bircoph Exp $
126
127 EAPI=5
128
129 inherit cmake-utils
130
131 MYP=HepMC-${PV}
132
133 DESCRIPTION="Event Record for Monte Carlo Generators"
134 HOMEPAGE="http://lcgapp.cern.ch/project/simu/HepMC/"
135 SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz"
136
137 LICENSE="GPL-2"
138 SLOT="0"
139 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
140 IUSE="cm doc examples gev static-libs test"
141
142 RDEPEND=""
143 DEPEND="${RDEPEND}
144 doc? (
145 app-doc/doxygen
146 || (
147 dev-texlive/texlive-latex
148 dev-tex/floatflt
149 )
150 )"
151
152 S="${WORKDIR}/${MYP}"
153
154 DOCS=( ChangeLog AUTHORS )
155
156 src_prepare() {
157 sed -i -e '/add_subdirectory(doc)/d' CMakeLists.txt
158 # CMake doc building broken
159 # gentoo doc directory
160 #sed -i \
161 # -e "s:share/HepMC/doc:share/doc/${PF}:" \
162 # doc/CMakeLists.txt || die
163
164 # gentoo examples directory
165 sed -i \
166 -e "s:share/HepMC:share/doc/${PF}:" \
167 $(find examples -name CMakeLists.txt) || die
168
169 # respect user's flags
170 sed -i \
171 -e "s/-O -ansi -pedantic -Wall//g" \
172 cmake/Modules/HepMCVariables.cmake || die
173
174 # gentoo libdir love
175 sed -i \
176 -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
177 {src,fio}/CMakeLists.txt || die
178
179 # remove targets if use flags not set
180 use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt
181 use test || sed -i -e '/add_subdirectory(test)/d' CMakeLists.txt
182 if ! use static-libs; then
183 sed -i \
184 -e '/(HepMC\(fio\|\)S/d' \
185 -e '/TARGETS/s/HepMC\(fio\|\)S//' \
186 {src,fio}/CMakeLists.txt || die
187 fi
188 }
189
190 src_configure() {
191 # use MeV over GeV and mm over cm
192 local length_conf="MM"
193 use cm && length_conf="CM"
194 local momentum_conf="MEV"
195 use gev && momentum_conf="GEV"
196 mycmakeargs+=(
197 -Dlength=${length_conf}
198 -Dmomentum=${momentum_conf}
199 )
200 cmake-utils_src_configure
201 }
202
203 src_compile() {
204 cmake-utils_src_compile
205 if use doc; then
206 cd doc
207 ./buildDoc.sh || die
208 ./buildDoxygen.sh || die
209 fi
210 }
211
212 src_install() {
213 cmake-utils_src_install
214 use doc && dodoc doc/*.pdf && dohtml -r doc/html/*
215 }