diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2018-03-09 11:09:58 +0100 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2018-03-09 11:53:16 +0100 |
commit | 8a8c12042b2ac5f8895bee28c3dabae62c112e3f (patch) | |
tree | 0aacdcdbc597db6cf7fa31daf53b18b3af8f8f2c /sci-physics | |
parent | sci-physics/yoda: drop old 1.4.0 (diff) | |
download | gentoo-8a8c12042b2ac5f8895bee28c3dabae62c112e3f.tar.gz gentoo-8a8c12042b2ac5f8895bee28c3dabae62c112e3f.tar.bz2 gentoo-8a8c12042b2ac5f8895bee28c3dabae62c112e3f.zip |
sci-physics/rivet: revision bump
- Python scripts need to be adjusted to use Python 2
- Needs to be rebuilt if version of sci-physics/yoda changes
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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 } |