summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-03-02 05:26:02 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-03-02 05:26:02 +0000
commit10f1bae989a19eae63070999cff85091ec0672ac (patch)
treecf98af6853763a5d354f73b1fa2d96852e4f31dd /sci-physics
parentCorrect version scheme. (diff)
downloadhistorical-10f1bae989a19eae63070999cff85091ec0672ac.tar.gz
historical-10f1bae989a19eae63070999cff85091ec0672ac.tar.bz2
historical-10f1bae989a19eae63070999cff85091ec0672ac.zip
Version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/hepmc/ChangeLog7
-rw-r--r--sci-physics/hepmc/Manifest10
-rw-r--r--sci-physics/hepmc/hepmc-2.06.08.ebuild87
3 files changed, 99 insertions, 5 deletions
diff --git a/sci-physics/hepmc/ChangeLog b/sci-physics/hepmc/ChangeLog
index f432a618aa92..3331e255d544 100644
--- a/sci-physics/hepmc/ChangeLog
+++ b/sci-physics/hepmc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-physics/hepmc
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.31 2012/03/02 05:26:02 bicatali Exp $
+
+*hepmc-2.06.08 (02 Mar 2012)
+
+ 02 Mar 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +hepmc-2.06.08.ebuild:
+ Version bump
*hepmc-2.06.07 (19 Jan 2012)
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest
index e60cad2b07a4..b613d9666391 100644
--- a/sci-physics/hepmc/Manifest
+++ b/sci-physics/hepmc/Manifest
@@ -6,16 +6,18 @@ DIST HepMC-2.06.03.tar.gz 4587543 RMD160 3c63afa80d9c0bef8f63460936f357de3d2a5ae
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
+DIST HepMC-2.06.08.tar.gz 3863843 RMD160 ab648d841ec91a4f76debe57c4402bc3ae7bf042 SHA1 6d516aa3c37766a4c32963c9dbcd4dd6614cd9f4 SHA256 8be6c1793e0a045f07ddb88bb64b46de7e66a52e75fb72b3f82f9a3e3ba8a8ce
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
EBUILD hepmc-2.06.07.ebuild 2054 RMD160 d8d938343a23ac6370860cb83db5550f61120426 SHA1 8041949a0e424753f845937479d865e1daeb2ad1 SHA256 f05b116fa187fa6e04ea8af66afbe955b0e9ba080dbbd8c987224f6f3c695508
-MISC ChangeLog 4284 RMD160 41a31f70861ab0763aa77cd57cf35f00e8a04f0f SHA1 e663304ba225cc7d39ace44f3f0a244287b383ec SHA256 eee7d03f2d7230cdf5fa3b93b2d9e2e5899bae03d7ad7d0e0a876ce15d2a8ad8
+EBUILD hepmc-2.06.08.ebuild 2054 RMD160 0f8386f57a96d3b2826c81cf94b81479dbc4a94d SHA1 54cfc30e0d7b15213be35a0c82c301da08648ad2 SHA256 efd30a31b00f25d6c7e01147b4dbebb7c87e7b4119b20dc1470bc70ed8380560
+MISC ChangeLog 4408 RMD160 a935cfdaa83ae68c5a216dd863fe8d63db63e3e8 SHA1 162a43ba384c3de3b5452340d9feac6a1d8b77ef SHA256 91fee776ee474706af6c1eef64ca77512c7b074c12b7c6e36dbcb7debe332169
MISC metadata.xml 1291 RMD160 6f907411d6c897e4f01c06f97c535ea7c3af7875 SHA1 cb5af85bd4c34210192209a4f2242123982c3baa SHA256 56362a0f765e7b4ba3c38648e1930e1c1a253008d8e28a533ac407ee7d1b69ef
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEUEARECAAYFAk8YpzIACgkQ1ycZbhPLE2C/3QCghkuAiQBD63arNSSRkC9jwTVu
-0ncAliq+3JZVLKluPXFIXe3Eb+5DTFg=
-=E/+c
+iEYEARECAAYFAk9QWf0ACgkQ1ycZbhPLE2BIgQCfdmGb7aiXFi3dkX++tr2wQvGG
+TpYAnjfY4XC8NM01Ub0t6iYdfkHGFHz+
+=p++q
-----END PGP SIGNATURE-----
diff --git a/sci-physics/hepmc/hepmc-2.06.08.ebuild b/sci-physics/hepmc/hepmc-2.06.08.ebuild
new file mode 100644
index 000000000000..67d18135c5c9
--- /dev/null
+++ b/sci-physics/hepmc/hepmc-2.06.08.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.08.ebuild,v 1.1 2012/03/02 05:26:02 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/*
+}