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/hepmc: ChangeLog hepmc-2.05.00.ebuild
Date: Wed, 24 Jun 2009 04:18:00
Message-Id: E1MJJvq-0004OK-2I@stork.gentoo.org
1 bicatali 09/06/24 04:17:58
2
3 Modified: ChangeLog
4 Added: hepmc-2.05.00.ebuild
5 Log:
6 Version bump, thanks Ben Bannier for testing, closing bug #274975
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.7 sci-physics/hepmc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 5 May 2009 19:37:24 -0000 1.6
23 +++ ChangeLog 24 Jun 2009 04:17:57 -0000 1.7
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-physics/hepmc
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.6 2009/05/05 19:37:24 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.7 2009/06/24 04:17:57 bicatali Exp $
29 +
30 +*hepmc-2.05.00 (24 Jun 2009)
31 +
32 + 24 Jun 2009; Sébastien Fabbro <bicatali@g.o>
33 + +hepmc-2.05.00.ebuild:
34 + Version bump, thanks Ben Bannier for testing, closing bug #274975
35
36 05 May 2009; Christian Faulhammer <fauli@g.o> hepmc-2.04.00.ebuild:
37 stable x86, bug 245875
38
39
40
41 1.1 sci-physics/hepmc/hepmc-2.05.00.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/hepmc-2.05.00.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/hepmc-2.05.00.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hepmc-2.05.00.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.05.00.ebuild,v 1.1 2009/06/24 04:17:57 bicatali Exp $
51
52 EAPI=2
53
54 MYP=HepMC-${PV}
55
56 DESCRIPTION="Event Record for Monte Carlo Generators"
57 HOMEPAGE="https://savannah.cern.ch/projects/hepmc/"
58 SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~sparc ~x86"
63 IUSE="doc examples gev cm"
64
65 DEPEND=""
66
67 S="${WORKDIR}/${MYP}"
68
69 src_configure() {
70 # random default choice: use MeV over GeV and mm over cm
71 local length_conf="MM"
72 use cm && length_conf="CM"
73 local momentum_conf="MEV"
74 use gev && momentum_conf="GEV"
75 econf \
76 --with-length=${length_conf} \
77 --with-momentum=${momentum_conf}
78 }
79
80 src_install() {
81 emake \
82 DESTDIR="${D}" \
83 INSTALLDIR=/usr/share/doc/${PF}/examples \
84 doc_installdir=/usr/share/doc/${PF} \
85 install || die "emake install failed"
86
87 dodoc README AUTHORS ChangeLog
88 insinto /usr/share/doc/${PF}
89 if use doc; then
90 doins -r doc/html || die
91 else
92 rm -f "${D}"/usr/share/doc/${PF}/*pdf
93 fi
94 use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples
95 }