From 24fc9540413bff817fa3c7c7d675c182782f9e6a Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sat, 22 Mar 2014 23:06:45 +0100 Subject: Initial commit of genfit-ebuild. --- sci-physics/genfit/ChangeLog | 9 ++++++ sci-physics/genfit/genfit-02.00.00.ebuild | 54 +++++++++++++++++++++++++++++++ sci-physics/genfit/metadata.xml | 20 ++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 sci-physics/genfit/ChangeLog create mode 100644 sci-physics/genfit/genfit-02.00.00.ebuild create mode 100644 sci-physics/genfit/metadata.xml (limited to 'sci-physics') diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog new file mode 100644 index 000000000..bf38d5618 --- /dev/null +++ b/sci-physics/genfit/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-physics/genfit +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*genfit-02.00.00 (22 Mar 2014) + + 22 Mar 2014; +genfit-02.00.00.ebuild, +metadata.xml: + Initial ebuild. + diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild new file mode 100644 index 000000000..1955aa9f6 --- /dev/null +++ b/sci-physics/genfit/genfit-02.00.00.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit cmake-utils versionator subversion + +ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" +ESVN_PROJECT="${PN}.${PV}" + +DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics" +HOMEPAGE="http://genfit.sourceforge.net/Main.html" +SRC_URI="" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=" + sci-physics/root + dev-libs/boost" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +src_compile() { + cmake-utils_src_compile + if use doc; then + cmake-utils_src_compile doc || die + fi + if use examples; then + cmake-utils_src_compile tests || die + fi +} + +src_install() { + cmake-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${BUILD_DIR}/bin" + doins "${S}/test/makeGeom.C" + doins "${S}/test/README" + fi + cd doc + use doc && dohtml -r "${S}/doc/html/"* + echo + elog "Note that there is no support in this ebuild for RAVE yet," + elog "which is also not in portage." + elog "It should be possible to use a local installation of RAVE" + elog "and set:" + elog " export RAVEPATH=" + echo +} diff --git a/sci-physics/genfit/metadata.xml b/sci-physics/genfit/metadata.xml new file mode 100644 index 000000000..e2510afb8 --- /dev/null +++ b/sci-physics/genfit/metadata.xml @@ -0,0 +1,20 @@ + + + + sci-physics + +GENFIT is an experiment-independent framework for track reconstruction for particle and nuclear physics. It consists of three modular components: +- Track fitting algorithms + Currently, GENFIT contains a Kalman Filter and a Deterministic Annealing Filter. + Other algorithm modules can be added easily. +- Track representations + These modules hold the data of track track parameters and can perform extrapolations of these parameters. + GENFIT is distributed with two well-tested track representations. + Existing track extrapolation codes can be interfaced in a very straightforward way in this framework, using their native geometry and magnetic field interfaces. +- Reconstruction hits + The hit dimensionality and the orientation of planar tracking detectors can be chosen freely. + 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. +GENFIT has been developed in the framework of the PANDA experiment at FAIR, Darmstadt, Germany. +It is also used in the Belle-2, Fopi, and GEM-TPC experiments. + + -- cgit v1.2.3-65-gdbad From 7d93b5eb9ae81c5b25e0c605629d17aff08b87bc Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sat, 22 Mar 2014 23:40:10 +0100 Subject: Fix indentation issues, missing and superfluous die, 80 chars. Repoman seems fine now. --- sci-physics/genfit/ChangeLog | 4 ++++ sci-physics/genfit/genfit-02.00.00.ebuild | 16 ++++++---------- sci-physics/genfit/metadata.xml | 27 +++++++++++++++++++-------- 3 files changed, 29 insertions(+), 18 deletions(-) (limited to 'sci-physics') diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog index bf38d5618..c31bd35dd 100644 --- a/sci-physics/genfit/ChangeLog +++ b/sci-physics/genfit/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 22 Mar 2014; genfit-02.00.00.ebuild, metadata.xml: + Address ebuild issues found in review (indentation, missing and superfluous + die's). + *genfit-02.00.00 (22 Mar 2014) 22 Mar 2014; +genfit-02.00.00.ebuild, +metadata.xml: diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild index 1955aa9f6..f86c7b3b4 100644 --- a/sci-physics/genfit/genfit-02.00.00.ebuild +++ b/sci-physics/genfit/genfit-02.00.00.ebuild @@ -26,12 +26,8 @@ DEPEND="${RDEPEND} src_compile() { cmake-utils_src_compile - if use doc; then - cmake-utils_src_compile doc || die - fi - if use examples; then - cmake-utils_src_compile tests || die - fi + use doc && cmake-utils_src_compile doc + use examples && cmake-utils_src_compile tests } src_install() { @@ -42,13 +38,13 @@ src_install() { doins "${S}/test/makeGeom.C" doins "${S}/test/README" fi - cd doc + cd doc || die use doc && dohtml -r "${S}/doc/html/"* - echo - elog "Note that there is no support in this ebuild for RAVE yet," + echo + elog "Note that there is no support in this ebuild for RAVE yet," elog "which is also not in portage." elog "It should be possible to use a local installation of RAVE" elog "and set:" elog " export RAVEPATH=" - echo + echo } diff --git a/sci-physics/genfit/metadata.xml b/sci-physics/genfit/metadata.xml index e2510afb8..b767bdd9f 100644 --- a/sci-physics/genfit/metadata.xml +++ b/sci-physics/genfit/metadata.xml @@ -3,18 +3,29 @@ sci-physics -GENFIT is an experiment-independent framework for track reconstruction for particle and nuclear physics. It consists of three modular components: +GENFIT is an experiment-independent framework for track reconstruction for +particle and nuclear physics. It consists of three modular components: - Track fitting algorithms - Currently, GENFIT contains a Kalman Filter and a Deterministic Annealing Filter. + Currently, GENFIT contains a Kalman Filter and a + Deterministic Annealing Filter. Other algorithm modules can be added easily. - Track representations - These modules hold the data of track track parameters and can perform extrapolations of these parameters. + These modules hold the data of track track parameters and can perform + extrapolations of these parameters. GENFIT is distributed with two well-tested track representations. - Existing track extrapolation codes can be interfaced in a very straightforward way in this framework, using their native geometry and magnetic field interfaces. + Existing track extrapolation codes can be interfaced in a very + straightforward way in this framework, using their native geometry + and magnetic field interfaces. - Reconstruction hits - The hit dimensionality and the orientation of planar tracking detectors can be chosen freely. - 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. -GENFIT has been developed in the framework of the PANDA experiment at FAIR, Darmstadt, Germany. -It is also used in the Belle-2, Fopi, and GEM-TPC experiments. + The hit dimensionality and the orientation of planar tracking detectors + can be chosen freely. +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. +GENFIT has been developed in the framework of the PANDA experiment at +FAIR, Darmstadt, Germany. +It is also used in the Belle-2, Fopi, and GEM-TPC experiments. -- cgit v1.2.3-65-gdbad From 884a553ae40bf0c504c7fd7995840ed80a1ed8c5 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sat, 22 Mar 2014 23:45:53 +0100 Subject: Use zip'ed code snapshot instead of checking out tag from repository. --- sci-physics/genfit/ChangeLog | 6 ++++++ sci-physics/genfit/Manifest | 1 + sci-physics/genfit/genfit-02.00.00.ebuild | 8 ++++---- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 sci-physics/genfit/Manifest (limited to 'sci-physics') diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog index c31bd35dd..2dc2ddf69 100644 --- a/sci-physics/genfit/ChangeLog +++ b/sci-physics/genfit/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 22 Mar 2014; genfit-02.00.00.ebuild: + Use zip'ed snapshot instead of tag from repository. + + 22 Mar 2014; genfit-02.00.00.ebuild: + Use zip'ed snapshot instead of tag from repository. + 22 Mar 2014; genfit-02.00.00.ebuild, metadata.xml: Address ebuild issues found in review (indentation, missing and superfluous die's). diff --git a/sci-physics/genfit/Manifest b/sci-physics/genfit/Manifest new file mode 100644 index 000000000..4032b1f10 --- /dev/null +++ b/sci-physics/genfit/Manifest @@ -0,0 +1 @@ +DIST genfit-code-1688-tags-v02-00-00.zip 2251113 SHA256 06c1cf7281b4fb7b8cf2b1da174abd0a53fd742d7b11b173ee794fdeb84e4467 SHA512 cc80de2f3fa4a8efddd758b11e5810d1e994deaca0058721aeb6eff5c6a4f057ac76d4ac3c90a40a8fecaf17bc7e357b73ef50bc05e6e41f18806b63dc411c1a WHIRLPOOL 06ac48c9b96709d1e0fe88459ee42d6a4990b2e8a0ee105763b406647a8d8ff45cb38a886b2d9fadf802f9ddd9344c7696246da5c387912fcf3cfdc5f22b40cf diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild index f86c7b3b4..46993c7d0 100644 --- a/sci-physics/genfit/genfit-02.00.00.ebuild +++ b/sci-physics/genfit/genfit-02.00.00.ebuild @@ -4,14 +4,14 @@ EAPI=5 -inherit cmake-utils versionator subversion +inherit cmake-utils versionator -ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" -ESVN_PROJECT="${PN}.${PV}" +#ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" +#ESVN_PROJECT="${PN}.${PV}" DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics" HOMEPAGE="http://genfit.sourceforge.net/Main.html" -SRC_URI="" +SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/genfit-code-1688-tags-v$(replace_all_version_separators '-').zip" LICENSE="LGPL-3" SLOT="0" -- cgit v1.2.3-65-gdbad From fe418d2a22adb262aaa7f4b4aa136fe5200e8240 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sat, 22 Mar 2014 23:59:10 +0100 Subject: Fix incorrect working directory (adapt to zipped file). --- sci-physics/genfit/ChangeLog | 6 +++--- sci-physics/genfit/genfit-02.00.00.ebuild | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'sci-physics') diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog index 2dc2ddf69..f074dc78a 100644 --- a/sci-physics/genfit/ChangeLog +++ b/sci-physics/genfit/ChangeLog @@ -2,10 +2,10 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ - 22 Mar 2014; genfit-02.00.00.ebuild: - Use zip'ed snapshot instead of tag from repository. + 22 Mar 2014; genfit-02.00.00.ebuild: + Fix incorrect working directory (adapt to zipped file) - 22 Mar 2014; genfit-02.00.00.ebuild: + 22 Mar 2014; genfit-02.00.00.ebuild: Use zip'ed snapshot instead of tag from repository. 22 Mar 2014; genfit-02.00.00.ebuild, metadata.xml: diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild index 46993c7d0..596f3e9e1 100644 --- a/sci-physics/genfit/genfit-02.00.00.ebuild +++ b/sci-physics/genfit/genfit-02.00.00.ebuild @@ -9,9 +9,11 @@ inherit cmake-utils versionator #ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" #ESVN_PROJECT="${PN}.${PV}" +TAG_VER=${PN}-code-1688-tags-v$(replace_all_version_separators '-') + DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics" HOMEPAGE="http://genfit.sourceforge.net/Main.html" -SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/genfit-code-1688-tags-v$(replace_all_version_separators '-').zip" +SRC_URI="http://sourceforge.net/code-snapshots/svn/g/ge/genfit/code/${TAG_VER}.zip" LICENSE="LGPL-3" SLOT="0" @@ -24,6 +26,8 @@ RDEPEND=" DEPEND="${RDEPEND} doc? ( app-doc/doxygen[dot] )" +S=${WORKDIR}/${TAG_VER} + src_compile() { cmake-utils_src_compile use doc && cmake-utils_src_compile doc -- cgit v1.2.3-65-gdbad