summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/rivet/rivet-2.6.0-r1.ebuild (renamed from sci-physics/rivet/rivet-2.6.0.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-physics/rivet/rivet-2.6.0.ebuild b/sci-physics/rivet/rivet-2.6.0-r1.ebuild
index 91d10173c782..273705fb73d0 100644
--- a/sci-physics/rivet/rivet-2.6.0.ebuild
+++ b/sci-physics/rivet/rivet-2.6.0-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
sci-libs/gsl:=
sci-physics/fastjet[plugins]
sci-physics/hepmc
- >=sci-physics/yoda-1.5.0[python]
+ sci-physics/yoda:=[python]
python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen[latex,dot] )
@@ -50,6 +50,8 @@ src_prepare() {
# Install rivet-manual.pdf to docdir intead of pkgdatadir
sed -i '/pkgdata_DATA = $(DOCS)/s/pkgdata/doc/' doc/Makefile.am || die
+ # Adjust shebangs of Python scripts
+ sed -i "s@^#! /usr/bin/env python@#!${EPREFIX}/usr/bin/python2@" bin/* || die
eautoreconf
}