diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-08-26 10:56:50 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-08-26 10:56:50 +0000 |
commit | 96a2e679c0431d230b7d8dc32c1a34582164fb89 (patch) | |
tree | 01c44ccf8d991abd6a23d40b2cf00dc34705a3e5 /sci-physics/hepmc | |
parent | dev-haskell/xml-types: add new version (diff) | |
download | historical-96a2e679c0431d230b7d8dc32c1a34582164fb89.tar.gz historical-96a2e679c0431d230b7d8dc32c1a34582164fb89.tar.bz2 historical-96a2e679c0431d230b7d8dc32c1a34582164fb89.zip |
Bump
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Diffstat (limited to 'sci-physics/hepmc')
-rw-r--r-- | sci-physics/hepmc/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/hepmc/Manifest | 14 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-2.06.09.ebuild | 87 |
3 files changed, 97 insertions, 13 deletions
diff --git a/sci-physics/hepmc/ChangeLog b/sci-physics/hepmc/ChangeLog index e98e2b2fa1d4..234a4106f499 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.33 2012/08/07 16:56:28 bicatali Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/ChangeLog,v 1.34 2013/08/26 10:56:43 patrick Exp $ + +*hepmc-2.06.09 (26 Aug 2013) + + 26 Aug 2013; Patrick Lauer <patrick@gentoo.org> +hepmc-2.06.09.ebuild: + Bump 07 Aug 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> hepmc-2.06.08.ebuild: keyword amd64-linux, x86-linux diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index b28faeaded2e..7b75c1b3f510 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX hepmc-2.06.04-gcc46.patch 622 SHA256 441ad1fa1ada849f76740e2874fa052f4b9fce5fee94ab79902f608a178436fd SHA512 b8ea772cc4ece4d79462c426c0a450665e9e7ce77c23308f377346ed79ce3c0329054ed85ec5327b01168e57c5adf50be7a6c81957dc04ce099683e12d49552d WHIRLPOOL 116a3447c5f8b469f5fe8c8329cec5b927041068c583ecb02ca864d65b486691f6bcf6fd4bdfde3bf02b1a5afa5c90aefca8aaa19746b21b9e2a75404a408749 DIST HepMC-2.06.03.tar.gz 4587543 SHA256 6dc6de2df9e3a30b98d47a1ca0442a9513fcc5df0d6b5590364270903e96a6f3 DIST HepMC-2.06.08.tar.gz 3863843 SHA256 8be6c1793e0a045f07ddb88bb64b46de7e66a52e75fb72b3f82f9a3e3ba8a8ce SHA512 a2365f67260a394b9e8d7cebdd399d74e78e39aef64e120dedd2fd2ebd10b85519cb87b00f106891ee1a6f01f4c68c829567e5aa1885324be668e5443ab113f6 WHIRLPOOL fc95858b58bbc2d37a2301cc5b62a6c67f25781d0796b04e6bc5ff976ee2d1456afac892dc554274422e62b1b07d727d2263a816579f73230bae64059d6b190d +DIST HepMC-2.06.09.tar.gz 4612637 SHA256 c60724ca9740230825e06c0c36fb2ffe17ff1b1465e8656268a61dffe1611a08 SHA512 1030f31ad9d19d8ae184145a693c4a3092131f485e2ed89598b7172992a825ad9aa46fb44a9199a00c4a6bd7e163daead9452e9bc4fe32cb3b97351cf22906c4 WHIRLPOOL 62b91da92ec30bbc1f5619a87e6172fd563751fe29453ed5bdf31ecae6c5964b59a601b4a52f5c3249cfc20664041ee27bb7114d006dabdf05c5926194890370 EBUILD hepmc-2.06.03.ebuild 1484 SHA256 e8e7debbe7f827ec6761c87cd7c1c352677a6239c47bc260b5ec1e50b90d5bc7 SHA512 70448c03dfe3e314094dc9abebd6d4ac3238330b35e4bac7dfa2e4b52a5457df65cffdc13325e12529d788cc844faf878856b2704039abda9dbfe06f49e9da4b WHIRLPOOL dda518d5422e4f8090a4360a13b7386f54221fa97777ac7a3f28b6573dfdc04359e85d56d185a8271b7ef179f8f2c56411e6416cf330dade67eadc3982a58a14 EBUILD hepmc-2.06.08.ebuild 2078 SHA256 4a64be0521bb510d56165e28b8c52289ff56bf630f82b6551ab7ae6aad77030f SHA512 07890020dd7954923b22e4bc85466b80482082a0b5dfae05763a25b5d1d3e31835f11e8ba8e83f8724fba3e043efc0312195cc10b5312b34431ff6d784e06440 WHIRLPOOL 6244c690c5c5c6dbefecf2218f76559e4864e7783809d31f8d89ca6ce94bccc4f74a26d0fc62259736b152f3e1b3326bf0847bc252b50a5a209ab07c23a5bfcc -MISC ChangeLog 4655 SHA256 68c6e75544ff5b5f2e18117131e40169d4442a5b46c7e1dca6018086bee72f8b SHA512 22fd5f56db02009a3199a4836dbeff4a5b194bb5122076a13023a516535e9bd2741f85a68d0927f8be12fcd3c143974087dbd1a37304115c48a4b7f457b721e6 WHIRLPOOL 92b37f0bfe3575c55b111666f0cd31d2e781b3357036b884d7e60a0194026d5450508e8404fddbcad3db805149599735964ae21776a350d15196b1fd8d69a9a6 +EBUILD hepmc-2.06.09.ebuild 2077 SHA256 750839e910dca1fbe4cf2364532c71d7d4b1b166097c5facdf49ee925a9fcda1 SHA512 a8f27308f6329cbbef0a39d3e74ffe7dae205c9d5b385b1e437c941a522ba7e7c58fbe5a4bbc39ade9f8f189a34db6b9a1ca40050dfc49ad45e5d34d513907b3 WHIRLPOOL 924e41247b8f6e15ae6e3539bdcddbe8d04f21d91920f9ddab5d8873a521f17016b1e89889b390dea2a3bf985b29f78ca9d235d46a781726196a3a51a70de422 +MISC ChangeLog 4765 SHA256 938c5153efb0b3126c5deaa939f12f39955c2ac0bcda087ea2e1ddf412cb7812 SHA512 7a0c48c3c79e1e0f4dc0a6f740b4fccf1b1f693215fa71bebf687fd7000b114c5bba7a54d24bc8a6aa63597a7648d99ed0f9f5af56bd640189b9a6600478a396 WHIRLPOOL 76c1405804b91e8007636c8e1b90edf721598ef61c0693f4cbc88ef68b94e20aba11e4754c61db58919654be34b0643da8c28a023af428ab2dbfd724e5a8c44a MISC metadata.xml 1291 SHA256 56362a0f765e7b4ba3c38648e1930e1c1a253008d8e28a533ac407ee7d1b69ef SHA512 c1536e8731d3ffcc6b2e8fe64ca21ab53fb9922aad4e9a76247e4c0ecc4521cfc72016a44fff263475d2543474540290970e25d63fe078486ca274e97dc664f3 WHIRLPOOL 851913ab55984eea11e29fc03ebc642b2a3dc9aba2f431020f671d589517a198b160708457d5f77496a1803e82ecf4e2cc67f9bea5d6003b44fb9716bca0263f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlAhSMIACgkQ1ycZbhPLE2A0bwCeJpjNg6BggBEeM41kTI6Q4ff+ -vdwAnjPAsNn9DFrqZyxx0sRDM34JpCjD -=nfHo ------END PGP SIGNATURE----- diff --git a/sci-physics/hepmc/hepmc-2.06.09.ebuild b/sci-physics/hepmc/hepmc-2.06.09.ebuild new file mode 100644 index 000000000000..b8eeb7b98223 --- /dev/null +++ b/sci-physics/hepmc/hepmc-2.06.09.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/hepmc/hepmc-2.06.09.ebuild,v 1.1 2013/08/26 10:56:43 patrick 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 ~amd64-linux ~x86-linux" +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/* +} |