Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/genfit/
Date: Sun, 23 Mar 2014 13:58:24
Message-Id: 1395526005.24fc9540413bff817fa3c7c7d675c182782f9e6a.ottxor@gentoo
1 commit: 24fc9540413bff817fa3c7c7d675c182782f9e6a
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Sat Mar 22 22:06:45 2014 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 22 22:06:45 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=24fc9540
7
8 Initial commit of genfit-ebuild.
9
10 ---
11 sci-physics/genfit/ChangeLog | 9 ++++++
12 sci-physics/genfit/genfit-02.00.00.ebuild | 54 +++++++++++++++++++++++++++++++
13 sci-physics/genfit/metadata.xml | 20 ++++++++++++
14 3 files changed, 83 insertions(+)
15
16 diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog
17 new file mode 100644
18 index 0000000..bf38d56
19 --- /dev/null
20 +++ b/sci-physics/genfit/ChangeLog
21 @@ -0,0 +1,9 @@
22 +# ChangeLog for sci-physics/genfit
23 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
24 +# $Header: $
25 +
26 +*genfit-02.00.00 (22 Mar 2014)
27 +
28 + 22 Mar 2014; <o.freyermuth@××××××××××.com> +genfit-02.00.00.ebuild, +metadata.xml:
29 + Initial ebuild.
30 +
31
32 diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild
33 new file mode 100644
34 index 0000000..1955aa9
35 --- /dev/null
36 +++ b/sci-physics/genfit/genfit-02.00.00.ebuild
37 @@ -0,0 +1,54 @@
38 +# Copyright 1999-2014 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +# $Header: $
41 +
42 +EAPI=5
43 +
44 +inherit cmake-utils versionator subversion
45 +
46 +ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')"
47 +ESVN_PROJECT="${PN}.${PV}"
48 +
49 +DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics"
50 +HOMEPAGE="http://genfit.sourceforge.net/Main.html"
51 +SRC_URI=""
52 +
53 +LICENSE="LGPL-3"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
56 +IUSE="doc examples"
57 +
58 +RDEPEND="
59 + sci-physics/root
60 + dev-libs/boost"
61 +DEPEND="${RDEPEND}
62 + doc? ( app-doc/doxygen[dot] )"
63 +
64 +src_compile() {
65 + cmake-utils_src_compile
66 + if use doc; then
67 + cmake-utils_src_compile doc || die
68 + fi
69 + if use examples; then
70 + cmake-utils_src_compile tests || die
71 + fi
72 +}
73 +
74 +src_install() {
75 + cmake-utils_src_install
76 + if use examples; then
77 + insinto /usr/share/doc/${PF}
78 + doins -r "${BUILD_DIR}/bin"
79 + doins "${S}/test/makeGeom.C"
80 + doins "${S}/test/README"
81 + fi
82 + cd doc
83 + use doc && dohtml -r "${S}/doc/html/"*
84 + echo
85 + elog "Note that there is no support in this ebuild for RAVE yet,"
86 + elog "which is also not in portage."
87 + elog "It should be possible to use a local installation of RAVE"
88 + elog "and set:"
89 + elog " export RAVEPATH=<yourRaveDirectory>"
90 + echo
91 +}
92
93 diff --git a/sci-physics/genfit/metadata.xml b/sci-physics/genfit/metadata.xml
94 new file mode 100644
95 index 0000000..e2510af
96 --- /dev/null
97 +++ b/sci-physics/genfit/metadata.xml
98 @@ -0,0 +1,20 @@
99 +<?xml version="1.0" encoding="UTF-8"?>
100 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
101 +<pkgmetadata>
102 + <herd>sci-physics</herd>
103 + <longdescription lang="en">
104 +GENFIT is an experiment-independent framework for track reconstruction for particle and nuclear physics. It consists of three modular components:
105 +- Track fitting algorithms
106 + Currently, GENFIT contains a Kalman Filter and a Deterministic Annealing Filter.
107 + Other algorithm modules can be added easily.
108 +- Track representations
109 + These modules hold the data of track track parameters and can perform extrapolations of these parameters.
110 + GENFIT is distributed with two well-tested track representations.
111 + Existing track extrapolation codes can be interfaced in a very straightforward way in this framework, using their native geometry and magnetic field interfaces.
112 +- Reconstruction hits
113 + The hit dimensionality and the orientation of planar tracking detectors can be chosen freely.
114 + GENFIT is especially useful for tracking systems which include detectors which do not measure the passage of particles on predefined planes, like TPCs or wire-based drift chambers. The concept of so-called virtual detector planes provides a simple mechanism to use these detector hits in a transparent way without any geometrical simplifications.
115 +GENFIT has been developed in the framework of the PANDA experiment at FAIR, Darmstadt, Germany.
116 +It is also used in the Belle-2, Fopi, and GEM-TPC experiments.
117 + </longdescription>
118 +</pkgmetadata>