summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-12-17 16:55:13 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-12-17 16:55:13 +0000
commit6f1a6a3741486584efa70b698e879c2c14c727ab (patch)
treeec5f9c0d4bad08442faddbeca313bfd932159a8c /sci-physics/hepmc
parentStable for AMD64, wrt bug #393957 (diff)
downloadgentoo-2-6f1a6a3741486584efa70b698e879c2c14c727ab.tar.gz
gentoo-2-6f1a6a3741486584efa70b698e879c2c14c727ab.tar.bz2
gentoo-2-6f1a6a3741486584efa70b698e879c2c14c727ab.zip
Version bump
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/hepmc')
-rw-r--r--sci-physics/hepmc/ChangeLog8
-rw-r--r--sci-physics/hepmc/hepmc-2.05.01.ebuild57
-rw-r--r--sci-physics/hepmc/hepmc-2.06.06.ebuild (renamed from sci-physics/hepmc/hepmc-2.06.04.ebuild)8
3 files changed, 12 insertions, 61 deletions
diff --git a/sci-physics/hepmc/ChangeLog b/sci-physics/hepmc/ChangeLog
index ad5dea5f3194..e1dd69488105 100644
--- a/sci-physics/hepmc/ChangeLog
+++ b/sci-physics/hepmc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-physics/hepmc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.28 2011/06/08 15:15:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.29 2011/12/17 16:55:13 bicatali Exp $
+
+*hepmc-2.06.06 (17 Dec 2011)
+
+ 17 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> -hepmc-2.05.01.ebuild,
+ -hepmc-2.06.04.ebuild, +hepmc-2.06.06.ebuild:
+ Version bump
08 Jun 2011; Jeroen Roovers <jer@gentoo.org> hepmc-2.05.01.ebuild,
hepmc-2.06.03.ebuild, hepmc-2.06.04.ebuild, hepmc-2.06.05.ebuild:
diff --git a/sci-physics/hepmc/hepmc-2.05.01.ebuild b/sci-physics/hepmc/hepmc-2.05.01.ebuild
deleted file mode 100644
index db305ed54dd8..000000000000
--- a/sci-physics/hepmc/hepmc-2.05.01.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.05.01.ebuild,v 1.7 2011/06/08 15:15:24 jer Exp $
-
-EAPI=2
-
-MYP=HepMC-${PV}
-
-DESCRIPTION="Event Record for Monte Carlo Generators"
-HOMEPAGE="https://savannah.cern.ch/projects/hepmc/"
-SRC_URI="http://lcgapp.cern.ch/project/simu/HepMC/download/${MYP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples gev cm"
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MYP}"
-
-src_configure() {
- # use MeV over GeV and mm over cm
- local length_conf="MM"
- use cm && length_conf="CM"
- local momentum_conf="MEV"
- use gev && momentum_conf="GEV"
- econf \
- --with-length=${length_conf} \
- --with-momentum=${momentum_conf}
-}
-
-src_test() {
- # hack to skip buggy tests with MeV:
- # https://savannah.cern.ch/support/index.php?108390
- if use gev && ! use cm; then
- emake check || die "emake check failed"
- fi
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- INSTALLDIR=/usr/share/doc/${PF}/examples \
- doc_installdir=/usr/share/doc/${PF} \
- install || die "emake install failed"
-
- dodoc README AUTHORS ChangeLog
- insinto /usr/share/doc/${PF}
- if use doc; then
- doins -r doc/html || die
- else
- rm -f "${D}"/usr/share/doc/${PF}/*pdf
- fi
- use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples
-}
diff --git a/sci-physics/hepmc/hepmc-2.06.04.ebuild b/sci-physics/hepmc/hepmc-2.06.06.ebuild
index ecfcdc46e5cd..4efc5233618a 100644
--- a/sci-physics/hepmc/hepmc-2.06.04.ebuild
+++ b/sci-physics/hepmc/hepmc-2.06.06.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.04.ebuild,v 1.4 2011/06/08 15:15:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.06.ebuild,v 1.1 2011/12/17 16:55:13 bicatali Exp $
EAPI=4
@@ -24,7 +24,9 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MYP}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc46.patch
+ sed -i \
+ -e 's/2\.06\.05/2\.06\.06/g' \
+ test/test*.dat test/test*.output || die
}
src_configure() {
@@ -56,7 +58,7 @@ src_install() {
insinto /usr/share/doc/${PF}
if use doc; then
- doins -r doc/html doc/*.pdf || die
+ doins -r doc/html doc/*.pdf
else
rm -f "${ED}"/usr/share/doc/${PF}/*pdf
fi