From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BAEB31382C5 for ; Fri, 9 Mar 2018 10:53:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDF9DE09C8; Fri, 9 Mar 2018 10:53:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9CE6E09C8 for ; Fri, 9 Mar 2018 10:53:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6FA15335C34 for ; Fri, 9 Mar 2018 10:53:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00C1A243 for ; Fri, 9 Mar 2018 10:53:23 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1520592796.8a8c12042b2ac5f8895bee28c3dabae62c112e3f.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/rivet/rivet-2.6.0-r1.ebuild sci-physics/rivet/rivet-2.6.0.ebuild X-VCS-Directories: sci-physics/rivet/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 8a8c12042b2ac5f8895bee28c3dabae62c112e3f X-VCS-Branch: master Date: Fri, 9 Mar 2018 10:53:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5d09703d-2564-4dd2-9c7c-97b3c0b0526d X-Archives-Hash: a4f1132224be0824cfc8650f7562c863 commit: 8a8c12042b2ac5f8895bee28c3dabae62c112e3f Author: Guilherme Amadio gentoo org> AuthorDate: Fri Mar 9 10:09:58 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Fri Mar 9 10:53:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a8c1204 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 sci-physics/rivet/{rivet-2.6.0.ebuild => rivet-2.6.0-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-physics/rivet/rivet-2.6.0.ebuild b/sci-physics/rivet/rivet-2.6.0-r1.ebuild similarity index 92% rename from sci-physics/rivet/rivet-2.6.0.ebuild rename to sci-physics/rivet/rivet-2.6.0-r1.ebuild index 91d10173c78..273705fb73d 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 }