summaryrefslogtreecommitdiff
path: root/sci-physics/herwig++
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-physics/herwig++
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-physics/herwig++')
-rw-r--r--sci-physics/herwig++/Manifest5
-rw-r--r--sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch64
-rw-r--r--sci-physics/herwig++/herwig++-2.7.1-r1.ebuild60
-rw-r--r--sci-physics/herwig++/metadata.xml20
4 files changed, 149 insertions, 0 deletions
diff --git a/sci-physics/herwig++/Manifest b/sci-physics/herwig++/Manifest
new file mode 100644
index 000000000000..173717796766
--- /dev/null
+++ b/sci-physics/herwig++/Manifest
@@ -0,0 +1,5 @@
+AUX herwig++-2.6.3-looptools.patch 3187 SHA256 349a59a11546027d2924d6bb28340d7d5b5c74823dc69507fa3a7fe3cff12444 SHA512 22a39b340a12fc7060bbd26700be836b1a9833a9b43f93ddfef6659ee0517fc6804e455dd39cd26b8d3ff41c125acca34ea0e72bfa45958885c347e38078aaab WHIRLPOOL 36fabf7d6291e7bc6efd62e88fd0a696c2811f41c3551bef562ab6c3d6e7de0813f451cf715f9caf52c413c2dc9374e10e239cb146a3bacd5cd33dc2772d2657
+DIST Herwig++-2.7.1.tar.bz2 3388956 SHA256 80a189376bb65f5ec4e64f42e76c00ea9102d8224010563a424fc11e619a6ad6 SHA512 643f389f13f22b30d0adb4ca601a11c2686f6db4746af51136601954af2ec20eb0af7b45981e764d8b71cb7206bfe310beea1fee069972868955b1f024b8d5e3 WHIRLPOOL 5336136e90c4f90e4e08a24a4d753ab61d1c4b033a23228ebb5bc039175987f4d70d7162a2319b635644a3fbaf24c9bbc1b901e92abb4bcaad27884e429d472a
+EBUILD herwig++-2.7.1-r1.ebuild 1607 SHA256 77418241aa0af048c65974efd841e25e6f9f4ad32378cf909b0fd027ee68aca1 SHA512 ba002990f6071e6d98ca4120d1db8e2ecee380dc2b181ce3a3eff14e06d6337ce2ed1e6451dc736c9e506896dbc22d7fc09945bfa149004190b5b647dfd9a0cd WHIRLPOOL 2b60e0787d9e0510ff879ec32fd6e4b9dcb2c4ef1d04bc5ab3bb4e1aa02151cbc6fbf18fb029972f3b9c8ee182eb62c91b45efb5e30460d784549d2168878352
+MISC ChangeLog 1537 SHA256 be6b78e296ec8cd319912000555a5f04ea7be569b92aff19db035efec3d7d61b SHA512 1db9ce36031b664cac1e6a7317ce74e760ef9598b6d283ac07a8375c98a3e62adfefa7256b4f193352cecb855e32fd7139d7e8549c5cd6db0f41fbaaf0c229f8 WHIRLPOOL bc72a5f33a3e565423f9986e1aeb78ab099bd77a236f4057100405479d62244a6419368df07c2ebba7e8d595362ed83dc824ee119c1bea135d2c9295e362bf58
+MISC metadata.xml 844 SHA256 a86f6a205fcf2bcb8f652dc47a348f7315fb69460353283f8d90e6906e4b11fd SHA512 72d27384af741c0508a9fa5df44c76c0bc34f0affbcbdd76e5b46b84ecb08db80bf6c8735d45df180728a13d68cef8cc97aa22e6b12b9bb946cec5036c30afc4 WHIRLPOOL 3845d4e3b126531d65b7c3f5ca90858877b24ce91b225d043524f8b0bf9287c77da5bccec2b48f1ba9028cfa0c99df2e6b7f34c88d922273c3ee72d9601ccfa1
diff --git a/sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch b/sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch
new file mode 100644
index 000000000000..0c802977db6a
--- /dev/null
+++ b/sci-physics/herwig++/files/herwig++-2.6.3-looptools.patch
@@ -0,0 +1,64 @@
+--- Looptools/Makefile.am
++++ Looptools/Makefile.am
+@@ -1,58 +1,12 @@
+-noinst_LTLIBRARIES = libHwLooptoolsXFC.la libHwLooptoolsCFC.la
+-noinst_LTLIBRARIES += libHwLooptools.la
+-
+-EXTRA_DIST = include/lt.h include/ftypes.h include/ff.h include/ffwarn.h \
+- include/fferr.h include/defs.h include/looptools.h include/ffperm5.h \
+- include/clooptools.h include/cexternals.h include/externals.h \
+- util/solve-LU.F util/solve-LU.h util/solve-Eigen.F
+-
+-theXFCSOURCES = \
+-A/A0.F A/A00.F A/ffxa0.F A/ffca0.F B/Bget.F \
+-B/Bcoeff.F B/BcoeffC.F B/Bcoeffa.F B/Bcoeffb.F B/ffxb0.F \
+-B/ffcb0.F B/ffxb1.F B/ffcb1.F B/ffxb2p.F B/ffcb2p.F \
+-B/ffxdb0.F B/ffcdb0.F B/ffxdb1.F B/ffdel2.F B/ffcel2.F \
+-C/C0.F C/C0C.F C/Cget.F C/ffxc0.F C/ffcc0.F \
+-C/ffxc0i.F C/ffxc0p.F C/ffxc0p0.F C/ffcc0p.F C/ffdxc0.F \
+-C/ffdel3.F C/ffcel3.F D/D0.F D/D0C.F D/Dget.F \
+-D/ffxd0.F D/ffxd0h.F D/ffxd0i.F D/ffxd0p.F D/ffxd0m0.F \
+-D/ffxd0tra.F D/ffxdbd.F D/ffdcc0.F D/ffdel4.F D/ffd0c.F \
+-D/ffTn.F D/ffT13.F D/ffS2.F D/ffS3n.F D/ffRn.F \
+-E/E0.F E/Eget.F E/Ecoeffa.F E/Ecoeffb.F E/ffxe0.F \
+-E/ffdel5.F util/ini.F util/auxCD.F util/solve.F util/Dump.F \
+-util/Li2.F util/ffinit.F util/ffxli2.F util/ffcli2.F util/ffxxyz.F \
+-util/ffcxyz.F util/ffcrr.F util/ffcxr.F util/fftran.F util/ffabcd.F \
+-util/ff2dl2.F util/ffcxs3.F util/ffcxs4.F util/ffdcxs.F util/ffbndc.F
+-
+-## the following need -DCOMPLEXPARA
+-theCFCSOURCES = \
+-A/A0.F A/A00.F B/Bget.F B/Bcoeffa.F C/Cget.F D/Dget.F E/E0.F \
+-E/Eget.F E/Ecoeffa.F E/Ecoeffb.F util/solve.F util/Dump.F util/Li2.F
++noinst_LTLIBRARIES = libHwLooptools.la
+
+ commonCPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include
+
+-libHwLooptoolsXFC_la_SOURCES = $(theXFCSOURCES)
+-libHwLooptoolsXFC_la_CPPFLAGS = $(commonCPPFLAGS)
+-libHwLooptoolsXFC_la_FCFLAGS = $(AM_FCFLAGS) -ffixed-line-length-none
+-libHwLooptoolsXFC_la_FFLAGS = $(AM_FFLAGS) -ffixed-line-length-none
+-
+-libHwLooptoolsCFC_la_SOURCES = $(theCFCSOURCES)
+-libHwLooptoolsCFC_la_CPPFLAGS = $(commonCPPFLAGS) -DCOMPLEXPARA
+-libHwLooptoolsCFC_la_FCFLAGS = $(AM_FCFLAGS) -ffixed-line-length-none
+-libHwLooptoolsCFC_la_FFLAGS = $(AM_FFLAGS) -ffixed-line-length-none
+-
+-## installed already from "include/Makefile.am"
+-## noinst_HEADERS = include/clooptools.h
+-
+-##if NEED_APPLE_FIXES
+-##libHwLooptoolsXFC_la_LDFLAGS = -Wl,-single_module
+-##libHwLooptoolsCFC_la_LDFLAGS = -Wl,-single_module
+-##endif
+-
+-libHwLooptools_la_SOURCES = util/cache.c clooptools.cc
++libHwLooptools_la_SOURCES = clooptools.cc
+ libHwLooptools_la_CXXFLAGS = $(AM_CXXFLAGS) -Wno-strict-aliasing
+ libHwLooptools_la_CPPFLAGS = $(commonCPPFLAGS)
+ libHwLooptools_la_CFLAGS = $(AM_CFLAGS) -std=c99
+-libHwLooptools_la_LIBADD = libHwLooptoolsXFC.la libHwLooptoolsCFC.la
++libHwLooptools_la_LIBADD = -looptools
+
+
+ ## libHwLooptoolsHelper2_la_SOURCES = clooptools.cc
diff --git a/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild b/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild
new file mode 100644
index 000000000000..cb49eebe72f9
--- /dev/null
+++ b/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils eutils flag-o-matic multilib
+
+MYP=Herwig++-${PV}
+
+DESCRIPTION="High-Energy Physics event generator"
+HOMEPAGE="http://herwig.hepforge.org/"
+SRC_URI="http://www.hepforge.org/archive/herwig/${MYP}.tar.bz2"
+
+SLOT="0/15"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="c++11 fastjet static-libs"
+
+# >sci-physics/looptools-2.8 leads to misoperation
+# and failing tests (it lacks some symbols)
+RDEPEND="
+ dev-libs/boost:0=
+ sci-libs/gsl:0=
+ <=sci-physics/looptools-2.8:0=
+ ~sci-physics/thepeg-1.9.2:0=
+ fastjet? ( sci-physics/fastjet:0= )"
+DEPEND="${RDEPEND}
+ >=sys-devel/boost-m4-0.4_p20160328"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.6.3-looptools.patch
+ # fixes bug 570458, which is due to an outdated bundled boost.m4
+ rm m4/boost.m4 || die
+ find -name 'Makefile.am' -exec \
+ sed -i -e '1ipkgdatadir=$(datadir)/herwig++' {} \; || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ use prefix && \
+ append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/ThePEG
+ local myeconfargs=(
+ --with-boost="${EPREFIX}"/usr
+ --with-thepeg="${EPREFIX}"/usr
+ $(use_enable c++11 stdcxx11)
+ $(use_with fastjet fastjet "${EPREFIX}"/usr)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/defaults/PDF.in || die
+ sed -i -e "s|${ED}||g" "${ED}"/usr/share/herwig++/HerwigDefaults.rpo || die
+}
diff --git a/sci-physics/herwig++/metadata.xml b/sci-physics/herwig++/metadata.xml
new file mode 100644
index 000000000000..23f7c30990f2
--- /dev/null
+++ b/sci-physics/herwig++/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription>
+ Herwig++ is a completely new event generator, written in C++.
+ It is built on the experience gained with the well-known
+ event generator HERWIG. The aim is to provide a multi purpose
+ event generator with similar or improved capabilities (like angular
+ ordered parton evolution and the cluster hadronization model).
+</longdescription>
+ <use>
+ <flag name="c++11">Build Herwig++ using the C++11 standard.
+ Experimental feature, not for production use.</flag>
+ <flag name="fastjet">Adds support for <pkg>sci-physics/fastjet</pkg></flag>
+ </use>
+</pkgmetadata>