diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2015-06-05 11:42:24 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2015-06-05 11:42:24 +0300 |
commit | eb74b23720554f6306b522ae916a3b219bb936e6 (patch) | |
tree | 047c478b774ed3cbcbd2baa1fdfa1601a9ce9bfa /sci-physics/pythia | |
parent | Merge branch 'master' of git+ssh://git.gentoo.org/proj/sci (diff) | |
download | sci-eb74b23720554f6306b522ae916a3b219bb936e6.tar.gz sci-eb74b23720554f6306b522ae916a3b219bb936e6.tar.bz2 sci-eb74b23720554f6306b522ae916a3b219bb936e6.zip |
sci-physics/pythia-8.2.09-r1: moved to the portage tree after testing
Diffstat (limited to 'sci-physics/pythia')
-rw-r--r-- | sci-physics/pythia/ChangeLog | 300 | ||||
-rw-r--r-- | sci-physics/pythia/Manifest | 8 | ||||
-rw-r--r-- | sci-physics/pythia/files/pythia8209-root-noninteractive.patch | 17 | ||||
-rw-r--r-- | sci-physics/pythia/files/pythia8209-run-tests.patch | 20 | ||||
-rw-r--r-- | sci-physics/pythia/metadata.xml | 22 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-8.2.09-r1.ebuild | 184 |
6 files changed, 0 insertions, 551 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog deleted file mode 100644 index ff984f43e..000000000 --- a/sci-physics/pythia/ChangeLog +++ /dev/null @@ -1,300 +0,0 @@ -# ChangeLog for sci-physics/pythia -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.62 2015/05/27 14:06:39 bircoph Exp $ - -*pythia-8.2.09-r1 (05 Jun 2015) - - 05 Jun 2015; Andrew Savchenko <bircoph@gentoo.org> -pythia-8.2.09.ebuild, - +pythia-8.2.09-r1.ebuild: - Fix LDFLAGS support, re-enable static-libs. - - 05 Jun 2015; Andrew Savchenko <bircoph@gentoo.org> pythia-8.2.09.ebuild, - +files/pythia8209-root-noninteractive.patch, - +files/pythia8209-run-tests.patch: - Fix all enabled tests. Allow parallel tests run. Fix pythia8-config. - - 04 Jun 2015; Andrew Savchenko <bircoph@gentoo.org> pythia-8.2.09.ebuild: - Fix some tests. - -*pythia-8.2.09 (03 Jun 2015) - - 03 Jun 2015; Andrew Savchenko <bircoph@gentoo.org> +pythia-8.2.09.ebuild, - +metadata.xml: - Version bump. WIP. - TODO: - - some tests are failing - - LDFLAGS are ignored - - re-add static-libs support - - 27 May 2015; Andrew Savchenko <bircoph@gentoo.org> -pythia-8.1.45.ebuild: - Remove old, fixes bug 478636. - - 27 May 2015; Agostino Sarubbo <ago@gentoo.org> pythia-8.1.86.ebuild: - Stable for x86, wrt bug #546256 - - 27 May 2015; Agostino Sarubbo <ago@gentoo.org> pythia-8.1.86.ebuild: - Stable for amd64, wrt bug #546256 - - 20 Apr 2015; Justin Lecher <jlec@gentoo.org> -pythia-6.4.24.ebuild, - -pythia-8.1.80.ebuild, -pythia-8.1.83.ebuild, -pythia-8.1.85.ebuild, - metadata.xml: - Drop old - - 19 Apr 2015; Agostino Sarubbo <ago@gentoo.org> pythia-6.4.28.ebuild: - Stable for x86, wrt bug #546254 - - 13 Apr 2015; Agostino Sarubbo <ago@gentoo.org> pythia-6.4.28.ebuild: - Stable for amd64, wrt bug #546254 - -*pythia-8.1.86 (02 Sep 2014) - - 02 Sep 2014; Jauhien Piatlicki <jauhien@gentoo.org> +pythia-8.1.86.ebuild: - version bump - -*pythia-8.1.85 (03 Apr 2014) - - 03 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +pythia-8.1.85.ebuild: - Version bump - -*pythia-8.1.83 (23 Feb 2014) - - 23 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> +pythia-8.1.83.ebuild, - -pythia-6.4.27.ebuild, -pythia-8.1.76.ebuild: - Version bump - -*pythia-8.1.80 (29 Oct 2013) - - 29 Oct 2013; Sébastien Fabbro <bicatali@gentoo.org> +pythia-8.1.80.ebuild, - -pythia-8.1.70.ebuild, metadata.xml: - Version bump for pythiia8, reworked ebuild - -*pythia-6.4.28 (29 Oct 2013) - - 29 Oct 2013; Sébastien Fabbro <bicatali@gentoo.org> +pythia-6.4.28.ebuild: - Version bump - ebuild submitted by Andrew Savchenko, bug #487210 - -*pythia-8.1.76 (07 Jun 2013) - - 07 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +pythia-8.1.76.ebuild, - -pythia-6.4.26.ebuild: - Version bump - -*pythia-6.4.27 (17 Jan 2013) - - 17 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> +pythia-6.4.27.ebuild: - Version bump - - 30 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org> -pythia-8.1.65.ebuild, - pythia-6.4.24.ebuild, pythia-6.4.26.ebuild, pythia-8.1.45.ebuild, - pythia-8.1.70.ebuild: - Changed home page, thanks Andrew Savchenko bug #438762 - -*pythia-8.1.70 (15 Nov 2012) - - 15 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org> +pythia-8.1.70.ebuild: - Version bump - - 16 Oct 2012; Justin Lecher <jlec@gentoo.org> pythia-6.4.24.ebuild, - pythia-6.4.26.ebuild, pythia-8.1.45.ebuild, pythia-8.1.65.ebuild, - metadata.xml: - Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the - updated fortran-2.eclass - - 08 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> -pythia-8.1.62.ebuild, - pythia-6.4.26.ebuild, pythia-8.1.65.ebuild: - Keyword amd64-linux, x86-linux - -*pythia-8.1.65 (22 May 2012) - - 22 May 2012; Sébastien Fabbro <bicatali@gentoo.org> -pythia-8.1.57.ebuild, - +pythia-8.1.65.ebuild: - Version bump - -*pythia-8.1.62 (13 Mar 2012) - - 13 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> -pythia-6.4.25.ebuild, - -pythia-8.1.50.ebuild, +pythia-8.1.62.ebuild: - Version bump - -*pythia-8.1.57 (25 Nov 2011) -*pythia-6.4.26 (25 Nov 2011) - - 25 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org> +pythia-6.4.26.ebuild, - +pythia-8.1.57.ebuild: - Version bumps - - 21 Jun 2011; Justin Lecher <jlec@gentoo.org> pythia-8.1.45.ebuild, - pythia-8.1.50.ebuild: - Add dependency on virtual/fortran - - 21 Jun 2011; Justin Lecher <jlec@gentoo.org> pythia-6.4.24.ebuild, - pythia-6.4.25.ebuild, pythia-8.1.45.ebuild, pythia-8.1.50.ebuild: - Added fortran-2.eclass support - -*pythia-8.1.50 (13 Jun 2011) -*pythia-6.4.25 (13 Jun 2011) - - 13 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org> +pythia-6.4.25.ebuild, - +pythia-8.1.50.ebuild: - Version bumps - - 07 Jun 2011; Jeroen Roovers <jer@gentoo.org> pythia-6.4.24.ebuild, - pythia-8.1.45.ebuild: - Drop HPPA keywording - - 18 Feb 2011; Jeroen Roovers <jer@gentoo.org> pythia-6.4.24.ebuild, - pythia-8.1.45.ebuild: - Stable for HPPA (bug #354015). - - 13 Feb 2011; Raúl Porcel <armin76@gentoo.org> pythia-6.4.22.ebuild, - pythia-6.4.24.ebuild, pythia-8.1.35.ebuild, pythia-8.1.45.ebuild: - Drop sparc keywords - - 10 Feb 2011; Markos Chandras <hwoarang@gentoo.org> pythia-6.4.24.ebuild, - pythia-8.1.45.ebuild: - Stable on amd64 wrt bug 354013 and bug 354015 - - 09 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> pythia-6.4.24.ebuild, - pythia-8.1.45.ebuild: - x86 stable, bug #354013, bug #354015 - - 08 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> pythia-8.1.45.ebuild: - Added LD_LIBRARY_PATH for the tests to make sure it loads the correct library - - 18 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> -pythia-6.4.23.ebuild, - -pythia-8.1.08-r1.ebuild, -pythia-8.1.42.ebuild: - Drop old. - -*pythia-8.1.45 (20 Nov 2010) -*pythia-6.4.24 (20 Nov 2010) - - 20 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +pythia-6.4.24.ebuild, - +pythia-8.1.45.ebuild: - Version bumps - -*pythia-8.1.42 (26 Aug 2010) - - 26 Aug 2010; Sébastien Fabbro <bicatali@gentoo.org> - +pythia-8.1.42.ebuild: - Version bump - - 18 Jul 2010; Raúl Porcel <armin76@gentoo.org> pythia-8.1.35.ebuild: - sparc stable wrt #318467 - -*pythia-6.4.23 (13 Jul 2010) - - 13 Jul 2010; Sébastien Fabbro <bicatali@gentoo.org> - -pythia-6.4.19.ebuild, -pythia-6.4.21.ebuild, +pythia-6.4.23.ebuild: - Bump - - 10 Jul 2010; Raúl Porcel <armin76@gentoo.org> pythia-6.4.22.ebuild: - sparc stable wrt #318465 - - 07 Jul 2010; Christian Faulhammer <fauli@gentoo.org> pythia-8.1.35.ebuild: - stable x86, bug 318467 - - 03 Jun 2010; Markos Chandras <hwoarang@gentoo.org> pythia-8.1.35.ebuild: - Stable on amd64 wrt bug #318467 - - 25 May 2010; Pacho Ramos <pacho@gentoo.org> pythia-6.4.22.ebuild: - stable amd64, bug 318465 - - 17 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> pythia-6.4.22.ebuild: - x86 stable wrt bug #318465 - - 13 May 2010; Sébastien Fabbro <bicatali@gentoo.org> - pythia-8.1.08-r1.ebuild, -pythia-8.1.25.ebuild, -pythia-8.1.30.ebuild: - Removed tests for hepmc on 8.1.08, not compatible with recent hepmc, and - removed older unstable versions - - 13 May 2010; Jeroen Roovers <jer@gentoo.org> pythia-8.1.35.ebuild: - Stable for HPPA (bug #318467). - - 13 May 2010; Jeroen Roovers <jer@gentoo.org> pythia-6.4.22.ebuild: - Stable for HPPA (bug #318465). - -*pythia-8.1.35 (23 Mar 2010) - - 23 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> - +pythia-8.1.35.ebuild: - Version bump - - 08 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> pythia-8.1.30.ebuild: - Reduce the number of tests, closing bug #297512 - -*pythia-8.1.30 (23 Nov 2009) -*pythia-6.4.22 (23 Nov 2009) - - 23 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> - -pythia-6.4.20.ebuild, +pythia-6.4.22.ebuild, +pythia-8.1.30.ebuild: - Version bumps - - 21 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> - +pythia-6.4.19.ebuild: - re-add pythia-6.4.19.ebuild inadvertently removed - - 19 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> - -pythia-6.4.19.ebuild, pythia-6.4.21.ebuild: - Removed old and fortran eclass from newer - -*pythia-6.4.21 (09 Sep 2009) - - 09 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> - -pythia-6.4.18.ebuild, +pythia-6.4.21.ebuild, -pythia-8.1.20.ebuild: - Version bump - -*pythia-8.1.25 (24 Jun 2009) - - 24 Jun 2009; Sébastien Fabbro <bicatali@gentoo.org> - +pythia-8.1.25.ebuild: - Version bump, thanks Ben Bannier for testing, closing bug #274969 - - 05 May 2009; Christian Faulhammer <fauli@gentoo.org> - pythia-8.1.08-r1.ebuild: - stable x86, bug 245875 - - 05 May 2009; Christian Faulhammer <fauli@gentoo.org> pythia-6.4.19.ebuild: - stable x86, bug 245875 - - 22 Mar 2009; Jeremy Olexa <darkside@gentoo.org> pythia-6.4.19.ebuild: - amd64 stable, bug 245875 - - 22 Mar 2009; Jeremy Olexa <darkside@gentoo.org> pythia-8.1.08-r1.ebuild: - amd64 stable, bug 245875 - -*pythia-8.1.20 (18 Mar 2009) -*pythia-6.4.20 (18 Mar 2009) - - 18 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> - +pythia-6.4.20.ebuild, +pythia-8.1.20.ebuild: - Version bumps - - 03 Mar 2009; Ferris McCormick <fmccor@gentoo.org> pythia-6.4.19.ebuild, - pythia-8.1.08-r1.ebuild: - Sparc stable, part of Bug #245875. - -*pythia-6.4.19 (13 Dec 2008) - - 13 Dec 2008; Sébastien Fabbro <bicatali@gentoo.org> - +pythia-6.4.19.ebuild: - Version bump. Now build our own tar ball to allow faster parallel build - - 16 Sep 2008; Jeroen Roovers <jer@gentoo.org> pythia-6.4.18.ebuild: - Marked ~hppa (bug #231484). - - 16 Sep 2008; Jeroen Roovers <jer@gentoo.org> pythia-8.1.08-r1.ebuild: - Marked ~hppa (bug #231484). - -*pythia-8.1.08-r1 (07 Sep 2008) - - 07 Sep 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, - pythia-6.4.18.ebuild, +pythia-8.1.08-r1.ebuild: - pythia:6, added more examples, some cleaning. pythia:8, added HepMC - support, respect flags, better testing, cleaning. - -*pythia-8.1.08 (02 Sep 2008) -*pythia-6.4.18 (02 Sep 2008) - - 02 Sep 2008; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, - +pythia-6.4.18.ebuild, +pythia-8.1.08.ebuild: - Initial import. Thanks Benjamin Bannier for his good work on bug #231484 diff --git a/sci-physics/pythia/Manifest b/sci-physics/pythia/Manifest deleted file mode 100644 index c549d37bb..000000000 --- a/sci-physics/pythia/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -DIST CT10.tar.gz 10246366 SHA256 bcef4600c5af42d6b151b60e29297609e3604f02f5e80f8ec7767a22b185f49d SHA512 90406bd102ab54b683fa3e6f3fc759febea2454a0b96c6a8d373cdec297f5d652097057a015c7d87241792ed9b5d9ac658a33155cdd7362f59110f8f06ecce73 WHIRLPOOL a433983f9938d848a0b23f94195c41a3caf2a4a131f225f8ec27b43d7ca88761e302ed7968c66492b1fee7288e921aa7a40644833d90eeb66a139a8524553003 -DIST MRST2004qed.tar.gz 185079 SHA256 f043f5385d828523169458c01e2d82767468002789ad792d3543efacc4fcb9cd SHA512 404aacf0e241f572cc42ad4cf963deef1acd3d365fa68cfa3518878f921858046377ea39caf663fdced2cdde07af2f6ce695737f7fea229489df3d3f38283c95 WHIRLPOOL 1eb5a8c5a63005b1087ad5b39faf5ba928071ca1edb3aa9e957b43b0a32a3ddb252b75c5fd30f2e364f628583834febc6ff14984b832f2916ad06a2fcdf0d77d -DIST MRST2007lomod.tar.gz 56685 SHA256 26533c463c17c96c467d40a0aa5603bbe657f986e05154e90782aac43f34598d SHA512 8e55627a01c85d90a62e4fb11b115c2faac2220479b6d558d3d6f1b801fc5c3e88abc377cd5437ccaeedd34b2ca42d6e833014566b796e5e1eebcf4d620e5dc0 WHIRLPOOL 16dfc110168fb3d865f3e743b4a8ce5e5995496fee53a286e82c647eff5afb7072e9d1ef8c940408c4a8184e5a9f7a190f9deea26e1b7bf227c1e5d6eaa3ff77 -DIST NNPDF23_nlo_as_0119_qed_mc.tar.gz 25223180 SHA256 61e36f3aec29e7b38d161a4ebc4978032e5e1f7af70764f6726cabdbac6283b1 SHA512 fc6998d50a61bbe65eef827021c0f453164795c079daef6a4932f825f8db4ae318bbf0e8781b61f1d3ffa9a495b5c4813af3aa31c77694657a44356d93fa970f WHIRLPOOL 31fe0ba55fac9d032441dc955a2117d42d2ab1cc697567e4b9350c4c1866982036178378a9ddeb5416ef1c2712e54cbba32dac4260fff0de07d7fc8c3a2b339d -DIST NNPDF23_nnlo_as_0119_qed_mc.tar.gz 28940412 SHA256 4f9598322452856e165ea419ef878bb9b5d8284933cef896b7bc339d1f8ae728 SHA512 5088c30acbd1da4e412ba9f6a997ceaa34f426f41c7ebacaf4d2e8aa49b8b45052913e8d873b293d9f140c01e82c05735b66dd527a9aa124b86f73bf5e4d8c53 WHIRLPOOL 1845bb1dbd7b23389fa45af43517e36abc941d6beb2fc650462e1ef875781d0ab40186ae4f4ddfc0ed6d819be056dd11fd63e2bdf02ae1d9365892476415235c -DIST cteq66.tar.gz 8647237 SHA256 1e1987c3b844d06bac8c205544ea1613515de2965e7e5565892acf37984a2626 SHA512 25d0fa01dcdb59d71c7092367af8258471a2bc6dfd146766cc79f90ffb0feafa0f2011d0a37a7d75315c10ba7c7a6e3fa583d9c0a28119b072228ac800294e48 WHIRLPOOL a8c34f0242fd6a2986484bf60793604a07ad0356b1fabb6350289afd4655f2eeb1953d0e558440b94ed30a7af4cd5d58d9fc07f3f06a72c3f3381094b8036321 -DIST cteq6l1.tar.gz 317834 SHA256 57c9c99d7b83c8ed1ca70480a0ec7bf2183bfa1bd9276a0e146772c5cf3bb5ac SHA512 7177608e97077eaf45a292db4ea74eb9a28b4b500ab8be02098b4837a5583cd397828abc3bf43ead448926eaa75ae3968bd059ecde333d90ed6e4295cbe1873c WHIRLPOOL cb0fff30e96dbcda1ac76550968bda22872d249d6fe14f31060aef5d1913b314365b933fb2bc57676ac5578f39ed3824cce2cd657086b4a92aa4d6e4ce037239 -DIST pythia8209.tgz 14299640 SHA256 f5a98859d17c3f8dd327bb6a1d53b91155dcd42e9cdba0a28e61ec324e4d9796 SHA512 4c9a7e80ce53308c59df2a84d0e65b31199c6c6741758f129f76d1b54e39d660373bb0a94047e53d0c15c6d0f84683972f30ac17ab5abacef5918e4b8d8765db WHIRLPOOL 20722dc0b4e96c80391ee6d1372862cfb06efb388aee7b754728b7f394c304395018fe8eb26441ba5ad1a68e01a9c7efa7b3b76b2d2beaf85be70ba48b277d3c diff --git a/sci-physics/pythia/files/pythia8209-root-noninteractive.patch b/sci-physics/pythia/files/pythia8209-root-noninteractive.patch deleted file mode 100644 index 4581eaea3..000000000 --- a/sci-physics/pythia/files/pythia8209-root-noninteractive.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- pythia8209/examples/main91.cc.orig 2015-06-05 07:44:27.000000000 +0300 -+++ pythia8209/examples/main91.cc 2015-06-05 08:17:22.477228166 +0300 -@@ -62,13 +62,9 @@ - // Statistics on event generation. - pythia.stat(); - -- // Show histogram. Possibility to close it. -- mult->Draw(); -- std::cout << "\nDouble click on the histogram window to quit.\n"; -- gPad->WaitPrimitive(); -- - // Save histogram on file and close file. - mult->Write(); -+ outFile->Close(); - delete outFile; - - // Done. diff --git a/sci-physics/pythia/files/pythia8209-run-tests.patch b/sci-physics/pythia/files/pythia8209-run-tests.patch deleted file mode 100644 index d1edc8393..000000000 --- a/sci-physics/pythia/files/pythia8209-run-tests.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- pythia8209/examples/Makefile.orig 2015-06-04 22:21:53.000000000 +0300 -+++ pythia8209/examples/Makefile 2015-06-05 05:35:25.324262331 +0300 -@@ -139,3 +139,17 @@ - rm -f test[0-9][0-9][0-9]; rm -f out[0-9][0-9][0-9];\ - rm -f weakbosons.lhe; rm -f Pythia8.promc; rm -f hist.root;\ - rm -f *~; rm -f \#*; rm -f core*; rm -f *Dct.* -+ rm -f main*out *.dat -+ -+# Run tests, inject test-specific arguments when needed -+main%.out: main% -+ ./$< \ -+ $(if $(findstring $*,16 42 43 $(shell seq 81 89)), main$*.cmnd) \ -+ $(if $(findstring $*, $(shell seq 81 83)), w+_production_lhc_0.lhe) \ -+ $(if $(findstring $*, 84), hepmcout84.dat 2 w+_production_lhc) \ -+ $(if $(findstring $*, $(shell seq 85 88)), w_production) \ -+ $(if $(findstring $*, 42 43 $(shell seq 81 89)), histout$*.dat) \ -+ > $@ -+ -+main89.out: main89 -+ $(foreach cmd, $(wildcard main89*.cmnd), ./$< $(cmd) histout-$(cmd).dat >> $@ || exit;) diff --git a/sci-physics/pythia/metadata.xml b/sci-physics/pythia/metadata.xml deleted file mode 100644 index a0a2a6ec9..000000000 --- a/sci-physics/pythia/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>sci-physics</herd> - <longdescription lang="en"> - PYTHIA is a program for the generation of high-energy physics - events, i.e. for the description of collisions at high energies - between elementary particles such as e+, e-, p and pbar in various - combinations. It contains theory and models for a number of physics - aspects, including hard and soft interactions, parton distributions, - initial- and final-state parton showers, multiple interactions, - fragmentation and decay. It is largely based on original research, - but also borrows many formulae and other knowledge from the - literature. -</longdescription> - <use> - <flag name="fastjet">Build jets using the <pkg>sci-physics/fastjet</pkg> package</flag> - <flag name="hepmc">Adds support for High Energy Physics Monte Carlo Generators <pkg>sci-physics/hepmc</pkg></flag> - <flag name="lhapdf">Support the use of external PDF sets via <pkg>sci-physics/lhapdf</pkg></flag> - <flag name="root">Use <pkg>sci-physics/root</pkg> trees and histograms (in examples only)</flag> - </use> -</pkgmetadata> diff --git a/sci-physics/pythia/pythia-8.2.09-r1.ebuild b/sci-physics/pythia/pythia-8.2.09-r1.ebuild deleted file mode 100644 index ded0fe57b..000000000 --- a/sci-physics/pythia/pythia-8.2.09-r1.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-8.1.86.ebuild,v 1.3 2015/05/27 11:19:04 ago Exp $ - -EAPI=5 - -inherit eutils multilib toolchain-funcs versionator - -MV=$(get_major_version) -MY_P=${PN}$(replace_all_version_separators "" ${PV}) -LHA_VER="6.1" - -DESCRIPTION="Lund Monte Carlo high-energy physics event generator" -HOMEPAGE="http://pythia8.hepforge.org/" -SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz - test? ( lhapdf? ( - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/CT10.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/MRST2007lomod.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/NNPDF23_nlo_as_0119_qed_mc.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/NNPDF23_nnlo_as_0119_qed_mc.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/cteq66.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/cteq6l1.tar.gz - https://www.hepforge.org/archive/lhapdf/pdfsets/${LHA_VER}/unvalidated/MRST2004qed.tar.gz - ) )" - -SLOT="8" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples gzip +hepmc fastjet lhapdf root static-libs test" - -RDEPEND=" - fastjet? ( >=sci-physics/fastjet-3 ) - gzip? ( sys-libs/zlib ) - hepmc? ( sci-physics/hepmc:0= ) - lhapdf? ( >=sci-physics/lhapdf-6:= ) -" -# ROOT is used only when building related tests -DEPEND="${RDEPEND} - test? ( root? ( sci-physics/root:= ) ) -" - -S="${WORKDIR}/${MY_P}" - -pkg_pretend() { - if use root && ! use test; then - ewarn "ROOT support will only affect examples code build during test stage." - ewarn "Since you have tests disabled, this is a no-op." - fi -} - -src_prepare() { - PYTHIADIR="/usr/share/pythia8" - EPYTHIADIR="${EPREFIX}${PYTHIADIR}" - # set datadir for xmldor in include file - sed -i \ - -e "s:../share/Pythia8/xmldoc:${EPYTHIADIR}/xmldoc:" \ - include/Pythia8/Pythia.h || die - # respect libdir, prefix, flags - sed -i \ - -e "s:/lib:/$(get_libdir):g" \ - -e "s:/usr:${EPREFIX}/usr:g" \ - -e "s:-O2:${CXXFLAGS}:g" \ - -e "s:Cint:Core:g" \ - configure || die - sed -i 's:$(CXX) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED):$(CXX) $(LDFLAGS) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED):g' \ - Makefile || die - sed -i 's:$(CXX):$(CXX) $(LDFLAGS):' examples/Makefile || die - # we use lhapdf6 instead of lhapdf5 - # some PDFs changed, use something similar - sed -i \ - -e "s:LHAPDF5:LHAPDF6:g" \ - -e "s:\.LHgrid::g" \ - -e "s:\.LHpdf::g" \ - -e "s:MRST2001lo:MRST2007lomod:g" \ - -e "s:cteq6ll:cteq6l1:g" \ - -e "s:cteq6m:cteq66:g" \ - examples/*.{cc,cmnd} || die - # After lhapdf5->6 migration PDFs are identical within ~1/1000 - # https://www.hepforge.org/archive/lhapdf/pdfsets/6.1/README - sed -i \ - -e "s:1e-8:3e-1:g" \ - -e "s:nlo_as_0119_qed:nlo_as_0119_qed_mc:g" \ - -e "s:xmldoc:share/Pythia8/xmldoc:g" \ - examples/main54.cc || die - # ask cflags from root - sed -i "s:root-config:root-config --cflags:g" examples/Makefile || die - if ! use static-libs; then - sed -i \ - -e '/TARGETS=$(LOCAL_LIB)\/libpythia8\.a/d' \ - -e 's:libpythia8\.a$:libpythia8\.so$:g' \ - Makefile || die - sed -i 's:libpythia8\.a:libpythia8\.so:g' \ - examples/Makefile || die - fi - - epatch "${FILESDIR}/${PN}8209-run-tests.patch" - epatch "${FILESDIR}/${PN}8209-root-noninteractive.patch" -} - -# TODO: the following optional packages are out of Gentoo tree: -# - EvtGen http://atlas-computing.web.cern.ch/atlas-computing/links/externalDirectory/EvtGen/ -# - PowHEG http://powhegbox.mib.infn.it/ -# - ProMC https://github.com/Argonne-National-Laboratory/ProMC/ -src_configure() { - # homemade configure script - ./configure \ - --arch=Linux \ - --cxx=$(tc-getCXX) \ - --enable-shared \ - --prefix="${EPREFIX}/usr" \ - --prefix-lib="$(get_libdir)" \ - --prefix-share="${EPYTHIADIR}" \ - $(usex fastjet "--with-fastjet3" "") \ - $(usex gzip "--with-gzip" "") \ - $(usex hepmc "--with-hepmc2" "") \ - $(usex lhapdf "--with-lhapdf6 - --with-lhapdf6-plugin=LHAPDF6.h - --with-lhapdf6-lib=${EPREFIX}/usr/$(get_libdir)" "") \ - $(usex root "--with-root - --with-root-include=${EPREFIX}/usr/include/root - --with-root-lib=${EPREFIX}/usr/$(get_libdir)/root" "") \ - || die - - # fix pythia config script - sed -i \ - -e 's:pythia8/examples/Makefile.inc:pythia8/Makefile.inc:' \ - -e 's:LINE%=:LINE%%=:' \ - bin/pythia8-config || die -} - -src_test() { - cd examples || die - - local tests="$(echo main{{01..32},37,38,61,62,73,80}.out)" - use hepmc && tests+=" $(echo main{41,42,85,86}.out)" - use hepmc && use lhapdf && tests+=" $(echo main{43,{87..89}}.out)" - use lhapdf && tests+=" $(echo main{51..54}.out)" - use fastjet && tests+=" $(echo main{71,72}.out)" - use fastjet && use hepmc && use lhapdf && tests+=" $(echo main{81..84}).out" - use root && tests+=" main91.out" - # Disabled tests: - # 33 needs PowHEG - # 46 needs ProMC - # 48 needs EvtGen - # 92 generated ROOT dictionary is badly broken - - # use emake for parallel instead of long runmains - LD_LIBRARY_PATH="${S}/$(get_libdir):${LD_LIBRARY_PATH}" \ - PYTHIA8DATA="../share/Pythia8/xmldoc/" \ - LHAPDF_DATA_PATH="${WORKDIR}" \ - emake ${tests} - emake clean -} - -src_install() { - # make install is too broken, much easier to install manually - dobin bin/pythia8-config - doheader -r include/* - dolib lib/* - insinto "${PYTHIADIR}" - doins -r share/Pythia8/xmldoc examples/Makefile.inc - - echo "PYTHIA8DATA=${EPYTHIADIR}/xmldoc" >> 99pythia8 - doenvd 99pythia8 - - dodoc AUTHORS GUIDELINES README - if use doc; then - dodoc share/Pythia8/pdfdoc/* - dohtml -r share/Pythia8/htmldoc/* - fi - if use examples; then - # reuse system Makefile.inc - rm examples/Makefile.inc || die - sed -i "s:include Makefile.inc:include ${EPYTHIADIR}:" \ - examples/Makefile || die - - insinto /usr/share/doc/${PF} - doins -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - # cleanup - unset PYTHIADIR EPYTHIADIR -} |