Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/herwig++/
Date: Thu, 07 Nov 2013 20:05:38
Message-Id: 1383573116.9274678a22179e800439adf2252f35f3c523225b.alexxy@gentoo
1 commit: 9274678a22179e800439adf2252f35f3c523225b
2 Author: Jauhien Piatlicki <piatlicki <AT> gmail <DOT> com>
3 AuthorDate: Mon Nov 4 13:51:56 2013 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 4 13:51:56 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9274678a
7
8 sci-physics/herwig++: version bump (2.7.0), c++0x USE added
9
10 ---
11 sci-physics/herwig++/ChangeLog | 6 ++++
12 sci-physics/herwig++/herwig++-2.7.0.ebuild | 51 ++++++++++++++++++++++++++++++
13 sci-physics/herwig++/metadata.xml | 2 ++
14 3 files changed, 59 insertions(+)
15
16 diff --git a/sci-physics/herwig++/ChangeLog b/sci-physics/herwig++/ChangeLog
17 index d539d32..83bafb0 100644
18 --- a/sci-physics/herwig++/ChangeLog
19 +++ b/sci-physics/herwig++/ChangeLog
20 @@ -2,6 +2,12 @@
21 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
22 # $Header: $
23
24 +*herwig++-2.7.0 (04 Nov 2013)
25 +
26 + 04 Nov 2013; Jauhien Piatlicki <piatlicki@×××××.com> +herwig++-2.7.0.ebuild,
27 + metadata.xml:
28 + Version bump, c++0x USE added
29 +
30 *herwig++-2.6.3 (11 Mar 2013)
31
32 11 Mar 2013; Jauhien Piatlicki (jauhien) <piatlicki@×××××.com>
33
34 diff --git a/sci-physics/herwig++/herwig++-2.7.0.ebuild b/sci-physics/herwig++/herwig++-2.7.0.ebuild
35 new file mode 100644
36 index 0000000..3e9054b
37 --- /dev/null
38 +++ b/sci-physics/herwig++/herwig++-2.7.0.ebuild
39 @@ -0,0 +1,51 @@
40 +# Copyright 1999-2013 Gentoo Foundation
41 +# Distributed under the terms of the GNU General Public License v2
42 +# $Header: $
43 +
44 +EAPI=5
45 +
46 +inherit autotools eutils
47 +
48 +MYP=Herwig++-${PV}
49 +
50 +DESCRIPTION="High-Energy Physics event generator"
51 +HOMEPAGE="http://herwig.hepforge.org/"
52 +SRC_URI="http://www.hepforge.org/archive/herwig/${MYP}.tar.bz2"
53 +
54 +LICENSE="GPL-2"
55 +
56 +SLOT="0"
57 +KEYWORDS="~amd64 ~x86"
58 +IUSE="c++0x fastjet"
59 +
60 +DEPEND="dev-libs/boost
61 + virtual/fortran
62 + sci-libs/gsl
63 + sci-physics/LoopTools
64 + dev-lang/perl
65 + =sci-physics/thepeg-1.9.0
66 + fastjet? ( sci-physics/fastjet )"
67 +RDEPEND="${DEPEND}"
68 +
69 +S="${WORKDIR}/${MYP}"
70 +
71 +src_prepare() {
72 + epatch "${FILESDIR}/${PN}-2.6.3-looptools.patch"
73 + find -name 'Makefile.am' -exec sed -i '1ipkgdatadir=$(datadir)/herwig++' {} \; \
74 + || die "changing pkgdatadir name failed"
75 + eautoreconf
76 +}
77 +
78 +src_configure() {
79 + econf \
80 + --disable-silent-rules \
81 + --with-boost="${EPREFIX}"/usr \
82 + --with-thepeg="${EPREFIX}"/usr \
83 + $(use_enable c++0x stdcxx11)
84 + $(use_with fastjet fastjet "${EPREFIX}"/usr)
85 +}
86 +
87 +pkg_preinst () {
88 + sed -i "s%${ED}%%g" "${ED}"/usr/share/herwig++/defaults/PDF.in || die
89 + sed -i "s%${ED}%%g" "${ED}"/usr/share/herwig++/HerwigDefaults.rpo || die
90 +}
91
92 diff --git a/sci-physics/herwig++/metadata.xml b/sci-physics/herwig++/metadata.xml
93 index c41e386..e8ade11 100644
94 --- a/sci-physics/herwig++/metadata.xml
95 +++ b/sci-physics/herwig++/metadata.xml
96 @@ -13,6 +13,8 @@
97 ordered parton evolution and the cluster hadronization model).
98 </longdescription>
99 <use>
100 + <flag name='c++0x'>Build Herwig++ using the C++11 standard.
101 + Experimental feature, not for production use.</flag>
102 <flag name='fastjet'>Adds support for <pkg>sci-physics/fastjet</pkg></flag>
103 </use>
104 </pkgmetadata>