Gentoo Archives: gentoo-commits

From: Jauhien Piatlicki <jauhien@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/herwig++/
Date: Sun, 30 Aug 2015 18:11:19
Message-Id: 1440958168.137e3bf282b79e4d4122a71c13b4fc0d53293a80.jauhien@gentoo
1 commit: 137e3bf282b79e4d4122a71c13b4fc0d53293a80
2 Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 18:07:08 2015 +0000
4 Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 18:09:28 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=137e3bf2
7
8 sci-physics/herwig++: remove version imported to the tree
9
10 Also rename c++0x USE to c++11 for consistency
11
12 Package-Manager: portage-2.2.20.1
13
14 sci-physics/herwig++/ChangeLog | 7 ++-
15 ...++-2.7.0-r1.ebuild => herwig++-2.7.0-r2.ebuild} | 6 +--
16 sci-physics/herwig++/herwig++-2.7.1.ebuild | 57 ----------------------
17 sci-physics/herwig++/metadata.xml | 2 +-
18 4 files changed, 10 insertions(+), 62 deletions(-)
19
20 diff --git a/sci-physics/herwig++/ChangeLog b/sci-physics/herwig++/ChangeLog
21 index 4cce494..f3c6759 100644
22 --- a/sci-physics/herwig++/ChangeLog
23 +++ b/sci-physics/herwig++/ChangeLog
24 @@ -1,7 +1,12 @@
25 # ChangeLog for sci-physics/herwig++
26 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 # $Id$
29
30 + 30 Aug 2015; Jauhien Piatlicki <jauhien@g.o> herwig++-2.7.0-r1.ebuild,
31 + -herwig++-2.7.1.ebuild, metadata.xml:
32 + remove version imported to the tree, rename c++0x USE to c++11 for
33 + consistency
34 +
35 *herwig++-2.7.1 (31 Aug 2014)
36
37 31 Aug 2014; Jauhien Piatlicki <jauhien@g.o> +herwig++-2.7.1.ebuild:
38
39 diff --git a/sci-physics/herwig++/herwig++-2.7.0-r1.ebuild b/sci-physics/herwig++/herwig++-2.7.0-r2.ebuild
40 similarity index 92%
41 rename from sci-physics/herwig++/herwig++-2.7.0-r1.ebuild
42 rename to sci-physics/herwig++/herwig++-2.7.0-r2.ebuild
43 index f60e257..05ab0f2 100644
44 --- a/sci-physics/herwig++/herwig++-2.7.0-r1.ebuild
45 +++ b/sci-physics/herwig++/herwig++-2.7.0-r2.ebuild
46 @@ -1,4 +1,4 @@
47 -# Copyright 1999-2014 Gentoo Foundation
48 +# Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Id$
51
52 @@ -19,7 +19,7 @@ LICENSE="GPL-2"
53
54 SLOT="0/14"
55 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
56 -IUSE="c++0x fastjet static-libs"
57 +IUSE="c++11 fastjet static-libs"
58
59 RDEPEND="
60 dev-libs/boost:0=
61 @@ -45,7 +45,7 @@ src_configure() {
62 local myeconfargs=(
63 --with-boost="${EPREFIX}"/usr
64 --with-thepeg="${EPREFIX}"/usr
65 - $(use_enable c++0x stdcxx11)
66 + $(use_enable c++11 stdcxx11)
67 $(use_with fastjet fastjet "${EPREFIX}"/usr)
68 )
69 autotools-utils_src_configure
70
71 diff --git a/sci-physics/herwig++/herwig++-2.7.1.ebuild b/sci-physics/herwig++/herwig++-2.7.1.ebuild
72 deleted file mode 100644
73 index 67e358e..0000000
74 --- a/sci-physics/herwig++/herwig++-2.7.1.ebuild
75 +++ /dev/null
76 @@ -1,57 +0,0 @@
77 -# Copyright 1999-2014 Gentoo Foundation
78 -# Distributed under the terms of the GNU General Public License v2
79 -# $Id$
80 -
81 -EAPI=5
82 -
83 -AUTOTOOLS_AUTORECONF=1
84 -AUTOTOOLS_IN_SOURCE_BUILD=1
85 -
86 -inherit autotools-utils eutils flag-o-matic multilib
87 -
88 -MYP=Herwig++-${PV}
89 -
90 -DESCRIPTION="High-Energy Physics event generator"
91 -HOMEPAGE="http://herwig.hepforge.org/"
92 -SRC_URI="http://www.hepforge.org/archive/herwig/${MYP}.tar.bz2"
93 -
94 -LICENSE="GPL-2"
95 -
96 -SLOT="0/15"
97 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
98 -IUSE="c++0x fastjet static-libs"
99 -
100 -RDEPEND="
101 - dev-libs/boost:0=
102 - sci-libs/gsl:0=
103 - <=sci-physics/looptools-2.8:0=
104 - >=sci-physics/thepeg-1.9.2:0=
105 - fastjet? ( sci-physics/fastjet:0= )"
106 -DEPEND="${RDEPEND}
107 - virtual/fortran"
108 -
109 -S="${WORKDIR}/${MYP}"
110 -
111 -src_prepare() {
112 - epatch "${FILESDIR}"/${PN}-2.6.3-looptools.patch
113 - find -name 'Makefile.am' -exec \
114 - sed -i -e '1ipkgdatadir=$(datadir)/herwig++' {} \; || die
115 - autotools-utils_src_prepare
116 -}
117 -
118 -src_configure() {
119 - use prefix && \
120 - append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/ThePEG
121 - local myeconfargs=(
122 - --with-boost="${EPREFIX}"/usr
123 - --with-thepeg="${EPREFIX}"/usr
124 - $(use_enable c++0x stdcxx11)
125 - $(use_with fastjet fastjet "${EPREFIX}"/usr)
126 - )
127 - autotools-utils_src_configure
128 -}
129 -
130 -pkg_preinst () {
131 - sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/defaults/PDF.in || die
132 - sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/HerwigDefaults.rpo || die
133 -}
134
135 diff --git a/sci-physics/herwig++/metadata.xml b/sci-physics/herwig++/metadata.xml
136 index ce1ef84..73787df 100644
137 --- a/sci-physics/herwig++/metadata.xml
138 +++ b/sci-physics/herwig++/metadata.xml
139 @@ -13,7 +13,7 @@
140 ordered parton evolution and the cluster hadronization model).
141 </longdescription>
142 <use>
143 - <flag name='c++0x'>Build Herwig++ using the C++11 standard.
144 + <flag name='c++11'>Build Herwig++ using the C++11 standard.
145 Experimental feature, not for production use.</flag>
146 <flag name='fastjet'>Adds support for <pkg>sci-physics/fastjet</pkg></flag>
147 </use>