commit:     c5e59df91d2d1b309c1683c249734867b01eb84f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 10:37:44 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 11:12:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e59df9

sci-physics/thepeg: depend on hepmc:2

Closes: https://bugs.gentoo.org/851537
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../thepeg/{thepeg-2.2.2.ebuild => thepeg-2.2.2-r1.ebuild}       | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-physics/thepeg/thepeg-2.2.2.ebuild 
b/sci-physics/thepeg/thepeg-2.2.2-r1.ebuild
similarity index 93%
rename from sci-physics/thepeg/thepeg-2.2.2.ebuild
rename to sci-physics/thepeg/thepeg-2.2.2-r1.ebuild
index 750ea66b2e33..dac77266dd4f 100644
--- a/sci-physics/thepeg/thepeg-2.2.2.ebuild
+++ b/sci-physics/thepeg/thepeg-2.2.2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools elisp-common java-pkg-opt-2
 
@@ -28,7 +28,7 @@ CDEPEND="
        sci-libs/gsl:0=
        emacs? ( >=app-editors/emacs-23.1:* )
        fastjet? ( sci-physics/fastjet:0= )
-       hepmc? ( sci-physics/hepmc:0= )
+       hepmc? ( sci-physics/hepmc:2= )
        lhapdf? ( >=sci-physics/lhapdf-6.0:0= )
        zlib? ( sys-libs/zlib:0= )"
 DEPEND="${CDEPEND}
@@ -62,6 +62,7 @@ src_configure() {
                $(use_enable static-libs static) \
                $(use_with fastjet fastjet "${EPREFIX}"/usr) \
                $(use_with hepmc hepmc "${EPREFIX}"/usr) \
+               $(use_with hepmc hepmcversion 2) \
                $(use_with java javagui) \
                $(use_with lhapdf lhapdf "${EPREFIX}"/usr) \
                --without-rivet \
@@ -86,6 +87,8 @@ src_install() {
        LDPATH="${EPREFIX}/usr/$(get_libdir)/ThePEG"
        EOF
        doenvd "${T}"/50${PN}
+
+       find "${ED}" -name '*.la' -delete || die
 }
 
 pkg_postinst() {

Reply via email to