Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/thepeg/
Date: Fri, 26 Aug 2022 11:13:17
Message-Id: 1661512377.c5e59df91d2d1b309c1683c249734867b01eb84f.andrewammerlaan@gentoo
1 commit: c5e59df91d2d1b309c1683c249734867b01eb84f
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 26 10:37:44 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 26 11:12:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e59df9
7
8 sci-physics/thepeg: depend on hepmc:2
9
10 Closes: https://bugs.gentoo.org/851537
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 .../thepeg/{thepeg-2.2.2.ebuild => thepeg-2.2.2-r1.ebuild} | 9 ++++++---
14 1 file changed, 6 insertions(+), 3 deletions(-)
15
16 diff --git a/sci-physics/thepeg/thepeg-2.2.2.ebuild b/sci-physics/thepeg/thepeg-2.2.2-r1.ebuild
17 similarity index 93%
18 rename from sci-physics/thepeg/thepeg-2.2.2.ebuild
19 rename to sci-physics/thepeg/thepeg-2.2.2-r1.ebuild
20 index 750ea66b2e33..dac77266dd4f 100644
21 --- a/sci-physics/thepeg/thepeg-2.2.2.ebuild
22 +++ b/sci-physics/thepeg/thepeg-2.2.2-r1.ebuild
23 @@ -1,7 +1,7 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 +# Copyright 1999-2022 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=7
29 +EAPI=8
30
31 inherit autotools elisp-common java-pkg-opt-2
32
33 @@ -28,7 +28,7 @@ CDEPEND="
34 sci-libs/gsl:0=
35 emacs? ( >=app-editors/emacs-23.1:* )
36 fastjet? ( sci-physics/fastjet:0= )
37 - hepmc? ( sci-physics/hepmc:0= )
38 + hepmc? ( sci-physics/hepmc:2= )
39 lhapdf? ( >=sci-physics/lhapdf-6.0:0= )
40 zlib? ( sys-libs/zlib:0= )"
41 DEPEND="${CDEPEND}
42 @@ -62,6 +62,7 @@ src_configure() {
43 $(use_enable static-libs static) \
44 $(use_with fastjet fastjet "${EPREFIX}"/usr) \
45 $(use_with hepmc hepmc "${EPREFIX}"/usr) \
46 + $(use_with hepmc hepmcversion 2) \
47 $(use_with java javagui) \
48 $(use_with lhapdf lhapdf "${EPREFIX}"/usr) \
49 --without-rivet \
50 @@ -86,6 +87,8 @@ src_install() {
51 LDPATH="${EPREFIX}/usr/$(get_libdir)/ThePEG"
52 EOF
53 doenvd "${T}"/50${PN}
54 +
55 + find "${ED}" -name '*.la' -delete || die
56 }
57
58 pkg_postinst() {