Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/genfit/
Date: Sun, 03 Jan 2021 06:18:42
Message-Id: 1609654619.2f3a77213220a280be83f64b651953699a76b1b5.chymera@gentoo
1 commit: 2f3a77213220a280be83f64b651953699a76b1b5
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Sat Jan 2 22:46:13 2021 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Sun Jan 3 06:16:59 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2f3a7721
7
8 sci-physics/genfit: Version bump 02.00.00_p20201231 snapshot.
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
12 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
13
14 .../genfit/genfit-02.00.00_p20201231.ebuild | 59 ++++++++++++++++++++++
15 1 file changed, 59 insertions(+)
16
17 diff --git a/sci-physics/genfit/genfit-02.00.00_p20201231.ebuild b/sci-physics/genfit/genfit-02.00.00_p20201231.ebuild
18 new file mode 100644
19 index 000000000..185ca5da2
20 --- /dev/null
21 +++ b/sci-physics/genfit/genfit-02.00.00_p20201231.ebuild
22 @@ -0,0 +1,59 @@
23 +# Copyright 1999-2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit cmake
29 +
30 +if [[ ${PV} == *9999* ]]; then
31 + inherit git-r3
32 + EGIT_REPO_URI="https://github.com/GenFit/GenFit.git"
33 + KEYWORDS=""
34 +else
35 + EGIT_COMMIT="c3546c073e732abc942a08430b6ca3cb36f5339e"
36 + MY_PN="GenFit"
37 + SRC_URI="https://github.com/GenFit/GenFit/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
38 + KEYWORDS="~amd64 ~x86"
39 + S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
40 +fi
41 +
42 +DESCRIPTION="Generic toolkit for track reconstruction in physics experiments"
43 +HOMEPAGE="https://github.com/GenFit/GenFit"
44 +
45 +LICENSE="LGPL-3"
46 +SLOT="0"
47 +
48 +IUSE="doc examples"
49 +
50 +RDEPEND="
51 + sci-physics/root:=
52 + dev-libs/boost:=
53 +"
54 +DEPEND="${RDEPEND}"
55 +
56 +src_compile() {
57 + cmake_src_compile
58 + use doc && cmake_src_compile doc
59 + use examples && cmake_src_compile tests
60 +}
61 +
62 +src_install() {
63 + cmake_src_install
64 + if use doc; then
65 + docinto html
66 + dodoc -r doc/html/.
67 + fi
68 + if use examples; then
69 + insinto /usr/share/doc/${PF}/examples
70 + doins -r "${BUILD_DIR}/bin"
71 + doins test/makeGeom.C
72 + doins test/README
73 + fi
74 + echo
75 + elog "Note that there is no support in this ebuild for RAVE yet,"
76 + elog "which is also not in portage."
77 + elog "It should be possible to use a local installation of RAVE"
78 + elog "and set:"
79 + elog " export RAVEPATH=<yourRaveDirectory>"
80 + echo
81 +}