diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-physics/fastjet |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-physics/fastjet')
-rw-r--r-- | sci-physics/fastjet/Manifest | 9 | ||||
-rw-r--r-- | sci-physics/fastjet/fastjet-3.0.3-r1.ebuild | 54 | ||||
-rw-r--r-- | sci-physics/fastjet/fastjet-3.0.6-r1.ebuild | 54 | ||||
-rw-r--r-- | sci-physics/fastjet/files/fastjet-3.0.3-system-siscone.patch | 83 | ||||
-rw-r--r-- | sci-physics/fastjet/files/fastjet-3.0.6-system-siscone.patch | 74 | ||||
-rw-r--r-- | sci-physics/fastjet/metadata.xml | 21 |
6 files changed, 295 insertions, 0 deletions
diff --git a/sci-physics/fastjet/Manifest b/sci-physics/fastjet/Manifest new file mode 100644 index 000000000000..b1c9bdfd04ff --- /dev/null +++ b/sci-physics/fastjet/Manifest @@ -0,0 +1,9 @@ +AUX fastjet-3.0.3-system-siscone.patch 4191 SHA256 57d1bc7d85d2dbc0fe4d8b38727562db8a8758c6b33bc3cc2d4363d263f63a5d SHA512 34ba5e61364f9fe090389edbeda4370b2707e89fab2a00e941cabe496f8e7cdd65fb1fccdb48f000247b0e6bb3abc79bb995931fd4a9709584eed8eaab42957c WHIRLPOOL 217436144a424196b96f5d123ea00c9be8a5a4c44011e6605208198e64430ecbd737e8dfe4ba327b58c234551fa9308220e7fac5d71b9d36bb58b727a0e34d21 +AUX fastjet-3.0.6-system-siscone.patch 3726 SHA256 10f150979e7f1f06c71d57b22d6161332ebddbef20e0ce1caa7787e512e72125 SHA512 7522e3fd0fe789bc5b3172c2c26566136004b828a46a81fb0ec39bb6bedbf358efc0b51acab8cb19a40dd5b4138190f87655ddd2679cc91c819f5c7c9e9f4c57 WHIRLPOOL 3a45e02c436eba0314ca5a6e6a589afd042f083ffbbeb13f3c2317b540333c33b1a8d021adaab7e68aee8f3c7d1f5bf1313bcc24aaa6f51c06e5ddec04f5d0f7 +DIST fastjet-3.0.3.tar.gz 2240610 SHA256 6a3e5869cf43b325c7222a925e195b2bd624db922958a926cb4211c00882a50d SHA512 1fcdd0998d222ae089f10676ae1048fdce3e90f6aef3cd51463719b7ab26f8bcdd599d9521c6f9ef18e3989dbffd7f06da717ce845ab7e486a99433129b56f41 WHIRLPOOL b43091b978bde5189ed009ad424934d45607717bfc81e4d0b49c1ce634650bbf9e51019c7bfb0f6ce6298a697e6c8be296feaae1ac31bd2184e44b53a538ba48 +DIST fastjet-3.0.6.tar.gz 2216501 SHA256 9718f1d014afe4433bc0612a67a050d720c486fcfa7ad9c9b96bf087b0f3da0b SHA512 1f01b7ed0e07bd94c88faa123f72c2e3bcd81ad32ab4d03dc0a18dd18635f3b18ba8d339176b0ef1d6e58cecd9f37aaea30b4ad909d2782ce5be7c11e205c3a5 WHIRLPOOL 8c1aeab2724940e41ca6eed093582d6d9a5424b7f2b86af00bd7e1fedd3df0157538c6d97ff08147a4e3a5300d035d683df31b4a7a9d36bc9c14eca9375ae1e1 +EBUILD fastjet-3.0.3-r1.ebuild 1236 SHA256 1625bdf20e2085ba255130295b61232770ac7bf9fc51d5113a98a42786ee748e SHA512 525a1a10764428f12d3fc6a0f89251f9d5396e5a1cd3252c15373d80466e605c59faedb8a20a0d280a4f2bc11e3d53cc58ebc11b7667089263efefd8e52c64b1 WHIRLPOOL bd7e8470f6cb521c9465225680100e37342f701ed0d5a5d41e8e179d4f79d3bc432a52e56b591d1528dd1e9a96116c16517ff28704e4574f7d04dafe8e7faadf +EBUILD fastjet-3.0.6-r1.ebuild 1240 SHA256 eafa5722af123c090884a980257ceeded52acb3f07ca287e01435358ecb7ffb8 SHA512 36b884732b7fcc2467cb383decdc285b8cc23802da1a000f6e7942a5faad5c32e36f9886847e4baabbc39c540042ebcdb7dbdc4fa916af9a68dd670974e7b33a WHIRLPOOL 9c2a72b98e98c487c07d9104e2db981bb3aeb5d01da6b0b09942672ddf5ca590ae596a7a4a33f4c414c59df8d30dccaaa7f91f4cf323c60dd8acc381e9c73c79 +MISC ChangeLog 2582 SHA256 c84541147fe75c8c6efaf3e918e01fddee3d4825057ba682ec71cee752f342f3 SHA512 42d49bd78b9562f66e8e036432414bfb651c94df7e4ca80edfbeb58e0398b00d60e3df5e11403a0c13b42d690ddf700e0d72f6d375906d069caa16622b63545b WHIRLPOOL bde93b60fdfef21595ff1d4fc2456c907b5ba0be9fda7eb801b9a5257329977eb5f920b7444af89800e2fd70533d09e25e414d92be3a36268db1dde58a576273 +MISC ChangeLog-2015 2175 SHA256 64bb1e7d93c42de38d896c41046a5d0be2caac69f26cd454288e044df5244c9e SHA512 106962af37f72ee1cdc092edb62a0873dbb7a454bd1dfe8b11f973e8a52d6b8e2d2ac7c3003e087d1cbc60fbe9737d7c2c717f2168e470258b8b19e79b1df9c1 WHIRLPOOL 47bd675e4f27cba65c815e2fd66631cdf80427fc98fdc35c40ab1f0f9693c0440e18ee44c3494c59a4b4df29d083c31c9c3421300009b636f7059e5005cd75af +MISC metadata.xml 846 SHA256 20a5d280b3f1fa7d3d9eadeed95a9abc19f2c513a0b4f7616e8ac24fef7acee2 SHA512 7a785ebae9232cef55c62ada47e4ec87507b6e4c7115f928fa3260474e67f56db336f7698833fe995d4f046b7013c88f62faf71758a881a86c982fe60a92c40a WHIRLPOOL 22a351a0976b9abc2fac3dced2c312021c0c6b65f3a2218e43c8e4c5ee8ca9c89e5b27016d80c5ad1a434079828b14d93f3bb26d61eebbdcf5fb7861ddc3a03c diff --git a/sci-physics/fastjet/fastjet-3.0.3-r1.ebuild b/sci-physics/fastjet/fastjet-3.0.3-r1.ebuild new file mode 100644 index 000000000000..a17324679e4d --- /dev/null +++ b/sci-physics/fastjet/fastjet-3.0.3-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +FORTRAN_NEEDED=plugins + +inherit autotools-utils fortran-2 flag-o-matic + +DESCRIPTION="Fast implementation of several recombination jet algorithms" +HOMEPAGE="http://www.fastjet.fr/" +SRC_URI="${HOMEPAGE}/repo/${P}.tar.gz" + +LICENSE="GPL-2 QPL" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cgal doc examples +plugins static-libs" + +RDEPEND="cgal? ( sci-mathematics/cgal )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) + plugins? ( sci-physics/siscone )" + +PATCHES=( "${FILESDIR}"/${P}-system-siscone.patch ) + +src_configure() { + use cgal && has_version sci-mathematics/cgal[gmp] && append-ldflags -lgmp + local myeconfargs=( + $(use_enable cgal) + $(use_enable plugins allplugins) + $(use_enable plugins allcxxplugins) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile + if use doc; then + doxygen Doxyfile || die + fi +} + +src_install() { + autotools-utils_src_install + use doc && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF} + find example \ + -name Makefile -or Makefile.in -or Makefile.am -delete + doins -r example/* + fi +} diff --git a/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild b/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild new file mode 100644 index 000000000000..43aa5d3d01d9 --- /dev/null +++ b/sci-physics/fastjet/fastjet-3.0.6-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +FORTRAN_NEEDED=plugins +AUTOTOOLS_AUTORECONF=1 + +inherit autotools-utils fortran-2 flag-o-matic + +DESCRIPTION="Fast implementation of several recombination jet algorithms" +HOMEPAGE="http://www.fastjet.fr/" +SRC_URI="${HOMEPAGE}/repo/${P}.tar.gz" + +LICENSE="GPL-2 QPL" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cgal doc examples +plugins static-libs" + +RDEPEND="cgal? ( sci-mathematics/cgal )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) + plugins? ( sci-physics/siscone:0= )" + +PATCHES=( "${FILESDIR}"/${P}-system-siscone.patch ) + +src_configure() { + use cgal && \ + has_version sci-mathematics/cgal[gmp] && append-ldflags -lgmp + local myeconfargs=( + $(use_enable cgal) + $(use_enable plugins allplugins) + $(use_enable plugins allcxxplugins) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile + if use doc; then + doxygen Doxyfile || die + fi +} + +src_install() { + autotools-utils_src_install + use doc && dohtml -r html/* + if use examples; then + insinto /usr/share/doc/${PF} + find example \ + -name Makefile -or Makefile.in -or Makefile.am -delete + doins -r example/* + fi +} diff --git a/sci-physics/fastjet/files/fastjet-3.0.3-system-siscone.patch b/sci-physics/fastjet/files/fastjet-3.0.3-system-siscone.patch new file mode 100644 index 000000000000..b74b8e4e9033 --- /dev/null +++ b/sci-physics/fastjet/files/fastjet-3.0.3-system-siscone.patch @@ -0,0 +1,83 @@ +diff -Nur fastjet-3.0.3.orig/configure.ac fastjet-3.0.3/configure.ac +--- fastjet-3.0.3.orig/configure.ac 2012-06-25 15:15:32.000000000 +0100 ++++ fastjet-3.0.3/configure.ac 2012-07-24 18:39:11.000000000 +0100 +@@ -14,7 +14,7 @@ + dnl - the first macro needs to place the files in the correct + dnl dir in order to have the correct -I options for the remote build + dnl - see Makefile.am for distcleaning AX_PREFIX_CONFIG_H leftovers +-AM_CONFIG_HEADER(include/fastjet/config_raw.h:config.h.in) ++AC_CONFIG_HEADERS(include/fastjet/config_raw.h:config.h.in) + AX_PREFIX_CONFIG_H(include/fastjet/config_auto.h,FASTJET,include/fastjet/config_raw.h) + + dnl check autoconf version +@@ -252,6 +252,12 @@ + fi + + dnl SISCone ++AC_ARG_WITH(bundle-siscone, ++ [ --with-bundle-siscone Build the bundled SISCone library [default=no]], ++ [bundle_siscone=$withval], ++ [bundle_siscone=no]) ++AM_CONDITIONAL(BUNDLE_SISCONE, test x$bundle_siscone != xno) ++ + ACX_CHECK_PLUGIN(SISCone, siscone, SISCONE, yes, + [CONFIG_LIBS_PLUGINS=${CONFIG_LIBS_PLUGINS}" -lsiscone_spherical -lsiscone" + CONFIG_LIBS_PLUGINS_STATIC=${CONFIG_LIBS_PLUGINS_STATIC}" \${installationdir}/lib/libsiscone.a \${installationdir}/lib/libsiscone_spherical.a"]) +diff -Nur fastjet-3.0.3.orig/example/Makefile.am fastjet-3.0.3/example/Makefile.am +--- fastjet-3.0.3.orig/example/Makefile.am 2012-06-13 15:14:58.000000000 +0100 ++++ fastjet-3.0.3/example/Makefile.am 2012-07-24 18:26:15.000000000 +0100 +@@ -43,7 +43,7 @@ + 03_plugin_CXXFLAGS = $(AM_CXXFLAGS) $(CGAL_CPPFLAGS) -I$(srcdir)/../include + 03_plugin_LDADD = ../src/libfastjet.la $(CGAL_LIBS) + 03_plugin_CXXFLAGS += -I$(srcdir)/../plugins/SISCone -I$(srcdir)/../plugins/SISCone/siscone +-03_plugin_LDADD += ../plugins/SISCone/libSISConePlugin.la ../plugins/SISCone/siscone/siscone/libsiscone.la ../plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++03_plugin_LDADD += ../plugins/SISCone/libSISConePlugin.la + else + EXTRA_DIST += 03-plugin.cc + endif +@@ -125,7 +125,7 @@ + fastjet_areas_LDADD = ../src/libfastjet.la $(CGAL_LIBS) + if BUILD_PLUGIN_SISCONE + fastjet_areas_CXXFLAGS += -I$(srcdir)/../plugins/SISCone -I$(srcdir)/../plugins/SISCone/siscone +-fastjet_areas_LDADD += ../plugins/SISCone/libSISConePlugin.la ../plugins/SISCone/siscone/siscone/libsiscone.la ../plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++fastjet_areas_LDADD += ../plugins/SISCone/libSISConePlugin.la + endif + + fastjet_timing_plugins_SOURCES = fastjet_timing_plugins.cc CmdLine.cc +@@ -135,7 +135,7 @@ + fastjet_timing_plugins_LDADD += ../tools/libfastjettools.la + if BUILD_PLUGIN_SISCONE + fastjet_timing_plugins_CXXFLAGS += -I$(srcdir)/../plugins/SISCone -I$(srcdir)/../plugins/SISCone/siscone +-fastjet_timing_plugins_LDADD += ../plugins/SISCone/libSISConePlugin.la ../plugins/SISCone/siscone/siscone/libsiscone.la ../plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++fastjet_timing_plugins_LDADD += ../plugins/SISCone/libSISConePlugin.la + endif + if BUILD_PLUGIN_CDFCONES + fastjet_timing_plugins_CXXFLAGS += -I$(srcdir)/../plugins/CDFCones +diff -Nur fastjet-3.0.3.orig/plugins/SISCone/Makefile.am fastjet-3.0.3/plugins/SISCone/Makefile.am +--- fastjet-3.0.3.orig/plugins/SISCone/Makefile.am 2012-06-13 15:14:51.000000000 +0100 ++++ fastjet-3.0.3/plugins/SISCone/Makefile.am 2012-07-24 18:36:56.000000000 +0100 +@@ -1,11 +1,22 @@ +-SUBDIRS = siscone fastjet . ++SUBDIRS = fastjet . + + if MONOLITHIC_PLUGINS + noinst_LTLIBRARIES = libSISConePlugin.la + else + lib_LTLIBRARIES = libSISConePlugin.la + endif +-libSISConePlugin_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(srcdir) -I$(srcdir)/siscone -I$(srcdir)/../../include ++libSISConePlugin_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(srcdir) -I$(srcdir)/../../include ++ ++if BUNDLE_SISCONE ++SUBDIRS += siscone ++libSISConePlugin_la_CXXFLAGS += -I$(srcdir)/siscone ++libSISConePlugin_la_LIBADD = \ ++ $(top_builddir)/plugins/SISCone/siscone/siscone/libsiscone.la \ ++ $(top_builddir)/plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++else ++libSISConePlugin_la_LIBADD = -lsiscone -lsiscone_spherical ++endif ++ + libSISConePlugin_la_SOURCES = SISConePlugin.cc SISConeSphericalPlugin.cc + + EXTRA_DIST = makefile.static diff --git a/sci-physics/fastjet/files/fastjet-3.0.6-system-siscone.patch b/sci-physics/fastjet/files/fastjet-3.0.6-system-siscone.patch new file mode 100644 index 000000000000..d3995473fe54 --- /dev/null +++ b/sci-physics/fastjet/files/fastjet-3.0.6-system-siscone.patch @@ -0,0 +1,74 @@ +diff -Nur fastjet-3.0.6.orig/configure.ac fastjet-3.0.6/configure.ac +--- fastjet-3.0.6.orig/configure.ac 2014-05-06 10:29:55.240632504 -0700 ++++ fastjet-3.0.6/configure.ac 2014-05-06 10:36:20.156246416 -0700 +@@ -261,6 +261,12 @@ + fi + + dnl SISCone ++AC_ARG_WITH(bundle-siscone, ++ [ --with-bundle-siscone Build the bundled SISCone library [default=no]], ++ [bundle_siscone=$withval], ++ [bundle_siscone=no]) ++AM_CONDITIONAL(BUNDLE_SISCONE, test x$bundle_siscone != xno) ++ + ACX_CHECK_PLUGIN(SISCone, siscone, SISCONE, yes, + [CONFIG_LIBS_PLUGINS=${CONFIG_LIBS_PLUGINS}" -lsiscone_spherical -lsiscone" + CONFIG_LIBS_PLUGINS_STATIC=${CONFIG_LIBS_PLUGINS_STATIC}" \${installationdir}/lib/libsiscone.a \${installationdir}/lib/libsiscone_spherical.a"]) +diff -Nur fastjet-3.0.6.orig/example/Makefile.am fastjet-3.0.6/example/Makefile.am +--- fastjet-3.0.6.orig/example/Makefile.am 2014-05-06 10:29:55.239632499 -0700 ++++ fastjet-3.0.6/example/Makefile.am 2014-05-06 10:36:20.156246416 -0700 +@@ -43,7 +43,7 @@ + 03_plugin_CXXFLAGS = $(AM_CXXFLAGS) $(CGAL_CPPFLAGS) -I$(srcdir)/../include + 03_plugin_LDADD = ../src/libfastjet.la $(CGAL_LIBS) + 03_plugin_CXXFLAGS += -I$(srcdir)/../plugins/SISCone -I$(srcdir)/../plugins/SISCone/siscone +-03_plugin_LDADD += ../plugins/SISCone/libSISConePlugin.la ../plugins/SISCone/siscone/siscone/libsiscone.la ../plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++03_plugin_LDADD += ../plugins/SISCone/libSISConePlugin.la + else + EXTRA_DIST += 03-plugin.cc + endif +@@ -125,7 +125,7 @@ + fastjet_areas_LDADD = ../src/libfastjet.la $(CGAL_LIBS) + if BUILD_PLUGIN_SISCONE + fastjet_areas_CXXFLAGS += -I$(srcdir)/../plugins/SISCone -I$(srcdir)/../plugins/SISCone/siscone +-fastjet_areas_LDADD += ../plugins/SISCone/libSISConePlugin.la ../plugins/SISCone/siscone/siscone/libsiscone.la ../plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++fastjet_areas_LDADD += ../plugins/SISCone/libSISConePlugin.la + endif + + fastjet_timing_plugins_SOURCES = fastjet_timing_plugins.cc CmdLine.cc +@@ -135,7 +135,7 @@ + fastjet_timing_plugins_LDADD += ../tools/libfastjettools.la + if BUILD_PLUGIN_SISCONE + fastjet_timing_plugins_CXXFLAGS += -I$(srcdir)/../plugins/SISCone -I$(srcdir)/../plugins/SISCone/siscone +-fastjet_timing_plugins_LDADD += ../plugins/SISCone/libSISConePlugin.la ../plugins/SISCone/siscone/siscone/libsiscone.la ../plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++fastjet_timing_plugins_LDADD += ../plugins/SISCone/libSISConePlugin.la + endif + if BUILD_PLUGIN_CDFCONES + fastjet_timing_plugins_CXXFLAGS += -I$(srcdir)/../plugins/CDFCones +diff -Nur fastjet-3.0.6.orig/plugins/SISCone/Makefile.am fastjet-3.0.6/plugins/SISCone/Makefile.am +--- fastjet-3.0.6.orig/plugins/SISCone/Makefile.am 2014-05-06 10:29:55.250632584 -0700 ++++ fastjet-3.0.6/plugins/SISCone/Makefile.am 2014-05-06 10:36:20.156246416 -0700 +@@ -1,11 +1,22 @@ +-SUBDIRS = siscone fastjet . ++SUBDIRS = fastjet . + + if MONOLITHIC_PLUGINS + noinst_LTLIBRARIES = libSISConePlugin.la + else + lib_LTLIBRARIES = libSISConePlugin.la + endif +-libSISConePlugin_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(srcdir) -I$(srcdir)/siscone -I$(srcdir)/../../include ++libSISConePlugin_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(srcdir) -I$(srcdir)/../../include ++ ++if BUNDLE_SISCONE ++SUBDIRS += siscone ++libSISConePlugin_la_CXXFLAGS += -I$(srcdir)/siscone ++libSISConePlugin_la_LIBADD = \ ++ $(top_builddir)/plugins/SISCone/siscone/siscone/libsiscone.la \ ++ $(top_builddir)/plugins/SISCone/siscone/siscone/spherical/libsiscone_spherical.la ++else ++libSISConePlugin_la_LIBADD = -lsiscone -lsiscone_spherical ++endif ++ + libSISConePlugin_la_SOURCES = SISConePlugin.cc SISConeSphericalPlugin.cc + + EXTRA_DIST = makefile.static diff --git a/sci-physics/fastjet/metadata.xml b/sci-physics/fastjet/metadata.xml new file mode 100644 index 000000000000..d4c5f71dd1d3 --- /dev/null +++ b/sci-physics/fastjet/metadata.xml @@ -0,0 +1,21 @@ +<?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 lang="en"> + The FastJet package provides a fast implementation of the + longitudinally invariant kt longitudinally invariant inclusive + Cambridge/Aachen and anti-kt jet finders and a uniform interface + to external jet finders (notably SISCone) via a plugin + mechanism. It also includes tools for calculating jet areas and + performing background (pileup/UE) subtraction. +</longdescription> +<use> + <flag name="plugins"> Build all standard and C++ plugins </flag> + <flag name="cgal"> Use <pkg>sci-mathematics/cgal</pkg> instead of + bundled algorithms</flag> +</use> +</pkgmetadata> |