public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-physics/hepmc: ChangeLog hepmc-2.05.01.ebuild hepmc-2.04.00.ebuild hepmc-2.04.01.ebuild
@ 2010-01-08  3:38 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2010-01-08  3:38 UTC (permalink / raw
  To: gentoo-commits

bicatali    10/01/08 03:38:33

  Modified:             ChangeLog
  Added:                hepmc-2.05.01.ebuild
  Removed:              hepmc-2.04.00.ebuild hepmc-2.04.01.ebuild
  Log:
  Version bump and skip the buggy tests in the case when MeV and cm are chosen units
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.12                 sci-physics/hepmc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	28 Dec 2009 18:54:23 -0000	1.11
+++ ChangeLog	8 Jan 2010 03:38:33 -0000	1.12
@@ -1,6 +1,17 @@
 # ChangeLog for sci-physics/hepmc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.11 2009/12/28 18:54:23 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.12 2010/01/08 03:38:33 bicatali Exp $
+
+  08 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  -hepmc-2.04.00.ebuild, -hepmc-2.04.01.ebuild, +hepmc-2.05.01.ebuild:
+  Version bump and skip the buggy tests in the case when MeV and cm are
+  chosen units
+
+*hepmc-2.05.01 (08 Jan 2010)
+
+  08 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  -hepmc-2.04.00.ebuild, -hepmc-2.04.01.ebuild, +hepmc-2.05.01.ebuild:
+  Version bump
 
   28 Dec 2009; Raúl Porcel <armin76@gentoo.org> hepmc-2.05.00.ebuild:
   sparc stable wrt #294444



1.1                  sci-physics/hepmc/hepmc-2.05.01.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/hepmc-2.05.01.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/hepmc/hepmc-2.05.01.ebuild?rev=1.1&content-type=text/plain

Index: hepmc-2.05.01.ebuild
===================================================================
# Copyright 1999-2010 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.1 2010/01/08 03:38:33 bicatali 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 ~hppa ~sparc ~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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-08  3:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08  3:38 [gentoo-commits] gentoo-x86 commit in sci-physics/hepmc: ChangeLog hepmc-2.05.01.ebuild hepmc-2.04.00.ebuild hepmc-2.04.01.ebuild Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox