summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-19 23:28:40 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-19 23:28:40 +0000
commitb7103870ad23eec1a826ceb5e7257b9eef487cc6 (patch)
tree2e31d28bd1748e51138ec6e223906c2baf517c19 /sci-physics
parentkeyworded x86 (diff)
downloadhistorical-b7103870ad23eec1a826ceb5e7257b9eef487cc6.tar.gz
historical-b7103870ad23eec1a826ceb5e7257b9eef487cc6.tar.bz2
historical-b7103870ad23eec1a826ceb5e7257b9eef487cc6.zip
Version bump
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/hepmc/ChangeLog9
-rw-r--r--sci-physics/hepmc/Manifest10
-rw-r--r--sci-physics/hepmc/hepmc-2.06.07.ebuild87
3 files changed, 100 insertions, 6 deletions
diff --git a/sci-physics/hepmc/ChangeLog b/sci-physics/hepmc/ChangeLog
index e1dd69488105..f432a618aa92 100644
--- a/sci-physics/hepmc/ChangeLog
+++ b/sci-physics/hepmc/ChangeLog
@@ -1,6 +1,11 @@
# 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.29 2011/12/17 16:55:13 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.30 2012/01/19 23:28:40 bicatali Exp $
+
+*hepmc-2.06.07 (19 Jan 2012)
+
+ 19 Jan 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +hepmc-2.06.07.ebuild:
+ Version bump
*hepmc-2.06.06 (17 Dec 2011)
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest
index 8dab174fb2c1..e60cad2b07a4 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -5,15 +5,17 @@ AUX hepmc-2.06.04-gcc46.patch 622 RMD160 188f35922471a7379dd9a9d3b559c0b3007a35c
DIST HepMC-2.06.03.tar.gz 4587543 RMD160 3c63afa80d9c0bef8f63460936f357de3d2a5ae0 SHA1 ece85e95494750d64e34ef31807d42c7888f21ee SHA256 6dc6de2df9e3a30b98d47a1ca0442a9513fcc5df0d6b5590364270903e96a6f3
DIST HepMC-2.06.05.tar.gz 4594151 RMD160 9402d4185396905091e56cdf03b8a585e06aaef8 SHA1 bfec3809d70b3f53337c2d9a2c7b849abf7dbb51 SHA256 4c411077cc97522c03b74f973264b8d9fd2b6ccec0efc7ceced2645371c73618
DIST HepMC-2.06.06.tar.gz 4605572 RMD160 33f8d4351ab39d362d20a9e84263215dd49471e7 SHA1 fe03cd7df3a4c67efc16bcf49162939e4413aeec SHA256 8cdff26c10783ed4248220a84a43b7e1f9b59cc2c9a29bd634d024ca469db125
+DIST HepMC-2.06.07.tar.gz 3854279 RMD160 e4143d0ba4fc30753aaae260b0fea737f87d2533 SHA1 a8f813762fecbfa653eca299fa74e37bec55e0ae SHA256 a0bdd6f36a3cc4cb59d6eb15cef9d46ce9b3739cae3324e81ebb2df6943e4594
EBUILD hepmc-2.06.03.ebuild 1484 RMD160 13e4cb9e5418a5c0e1475b721cb4bb3b8f2af968 SHA1 0a629f1a24d06173317060af1396b4423bb066ab SHA256 e8e7debbe7f827ec6761c87cd7c1c352677a6239c47bc260b5ec1e50b90d5bc7
EBUILD hepmc-2.06.05.ebuild 1363 RMD160 e9f07e1f2e0118aa8152bfa946af6e9e2e35915b SHA1 aa07458a68a38ee313dd1a2bab760bcceb3ec8f3 SHA256 447774cc84ccfba79743318ede49abb5ae8d3d246466c2d59be797b4d037ffe6
EBUILD hepmc-2.06.06.ebuild 1468 RMD160 0a2a56770e549e712286a549d5993cdccbb25873 SHA1 36692418897fa9004d5b972d3324d976032c0393 SHA256 4620e599f0aef29b1061d9cc5bde8cbd285a1c37e7d4140a03fea7b228361478
-MISC ChangeLog 4160 RMD160 3e62b91fb080ad0956dc3ff5b03a8c29434ac20c SHA1 cd8bd437e6f029cc6134799384694a0eb29ead64 SHA256 dbab558a8540dc4e5f916a1159854a877958441cd61aab800c3eff09413ba082
+EBUILD hepmc-2.06.07.ebuild 2054 RMD160 d8d938343a23ac6370860cb83db5550f61120426 SHA1 8041949a0e424753f845937479d865e1daeb2ad1 SHA256 f05b116fa187fa6e04ea8af66afbe955b0e9ba080dbbd8c987224f6f3c695508
+MISC ChangeLog 4284 RMD160 41a31f70861ab0763aa77cd57cf35f00e8a04f0f SHA1 e663304ba225cc7d39ace44f3f0a244287b383ec SHA256 eee7d03f2d7230cdf5fa3b93b2d9e2e5899bae03d7ad7d0e0a876ce15d2a8ad8
MISC metadata.xml 1291 RMD160 6f907411d6c897e4f01c06f97c535ea7c3af7875 SHA1 cb5af85bd4c34210192209a4f2242123982c3baa SHA256 56362a0f765e7b4ba3c38648e1930e1c1a253008d8e28a533ac407ee7d1b69ef
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7syXkACgkQ1ycZbhPLE2Ch1gCfcU6hRf96l0GG1AGQ7zCwV+yM
-USEAn2bkW8tVLo/ei04y/FSsb3M1yQGu
-=953j
+iEUEARECAAYFAk8YpzIACgkQ1ycZbhPLE2C/3QCghkuAiQBD63arNSSRkC9jwTVu
+0ncAliq+3JZVLKluPXFIXe3Eb+5DTFg=
+=E/+c
-----END PGP SIGNATURE-----
diff --git a/sci-physics/hepmc/hepmc-2.06.07.ebuild b/sci-physics/hepmc/hepmc-2.06.07.ebuild
new file mode 100644
index 000000000000..988f29f30196
--- /dev/null
+++ b/sci-physics/hepmc/hepmc-2.06.07.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.07.ebuild,v 1.1 2012/01/19 23:28:40 bicatali Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+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="cm doc examples gev static-libs test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen dev-tex/floatflt )"
+
+S="${WORKDIR}/${MYP}"
+
+DOCS=( ChangeLog AUTHORS )
+
+src_prepare() {
+ sed -i -e '/add_subdirectory(doc)/d' CMakeLists.txt
+ # CMake doc building broken
+ # gentoo doc directory
+ #sed -i \
+ # -e "s:share/HepMC/doc:share/doc/${PF}:" \
+ # doc/CMakeLists.txt || die
+
+ # gentoo examples directory
+ sed -i \
+ -e "s:share/HepMC:share/doc/${PF}:" \
+ $(find examples -name CMakeLists.txt) || die
+
+ # respect user's flags
+ sed -i \
+ -e "s/-O -ansi -pedantic -Wall//g" \
+ cmake/Modules/HepMCVariables.cmake || die
+
+ # gentoo libdir love
+ sed -i \
+ -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
+ {src,fio}/CMakeLists.txt || die
+
+ # remove targets if use flags not set
+ use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt
+ use test || sed -i -e '/add_subdirectory(test)/d' CMakeLists.txt
+ if ! use static-libs; then
+ sed -i \
+ -e '/(HepMC\(fio\|\)S/d' \
+ -e '/TARGETS/s/HepMC\(fio\|\)S//' \
+ {src,fio}/CMakeLists.txt || die
+ fi
+}
+
+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"
+ mycmakeargs+=(
+ -Dlength=${length_conf}
+ -Dmomentum=${momentum_conf}
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc; then
+ cd doc
+ ./buildDoc.sh || die
+ ./buildDoxygen.sh || die
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dodoc doc/*.pdf && dohtml -r doc/html/*
+}