summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-08-26 12:37:44 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-08-26 13:12:57 +0200
commitc5e59df91d2d1b309c1683c249734867b01eb84f (patch)
tree616e009e878a61e3f4ecc7902de3d982bd0ec3fd /sci-physics/thepeg
parentsci-physics/thepeg: add 2.2.3 (diff)
downloadgentoo-c5e59df91d2d1b309c1683c249734867b01eb84f.tar.gz
gentoo-c5e59df91d2d1b309c1683c249734867b01eb84f.tar.bz2
gentoo-c5e59df91d2d1b309c1683c249734867b01eb84f.zip
sci-physics/thepeg: depend on hepmc:2
Closes: https://bugs.gentoo.org/851537 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-physics/thepeg')
-rw-r--r--sci-physics/thepeg/thepeg-2.2.2-r1.ebuild (renamed from sci-physics/thepeg/thepeg-2.2.2.ebuild)9
1 files 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
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() {