1 |
commit: dc8fb78b8b544c68940f26e4e61aacd9efdd1ad5 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 19:00:57 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 14 22:11:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8fb78b |
7 |
|
8 |
sci-physics/yoda: add 1.9.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/786909 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sci-physics/yoda/Manifest | 1 + |
14 |
sci-physics/yoda/yoda-1.9.0.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest |
18 |
index bb6ac4b1770..9ec1a49f33a 100644 |
19 |
--- a/sci-physics/yoda/Manifest |
20 |
+++ b/sci-physics/yoda/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST YODA-1.8.5.tar.bz2 1057576 BLAKE2B 3c6abb680afcfb8250c3ae340a1b1307cb5498b726199ecf9afe593fc49c4099fd2b4ac881568c303abd10c22fcf91ffae4283021443fc6230456376617f0de1 SHA512 d1fffa55af069f894b3c88bcd105f77a3105095281febf9c06c0cea2fadea6c63d69df5bde4aa96646d2d560bd83cade6802d9ed19d5a30553cd003ace19dfc8 |
23 |
+DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189 SHA512 eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71 |
24 |
|
25 |
diff --git a/sci-physics/yoda/yoda-1.9.0.ebuild b/sci-physics/yoda/yoda-1.9.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..eccb09af10a |
28 |
--- /dev/null |
29 |
+++ b/sci-physics/yoda/yoda-1.9.0.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit bash-completion-r1 |
37 |
+ |
38 |
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis" |
39 |
+HOMEPAGE="https://yoda.hepforge.org/" |
40 |
+SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="root" |
46 |
+ |
47 |
+RDEPEND="root? ( sci-physics/root:= )" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+S="${WORKDIR}/${P^^}" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ econf \ |
54 |
+ --disable-pyext \ |
55 |
+ --disable-static \ |
56 |
+ $(use_enable root) |
57 |
+} |
58 |
+ |
59 |
+src_test() { |
60 |
+ # PYTESTS and SHTESTS both require python tools |
61 |
+ emake check PYTESTS= SHTESTS= |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ default |
66 |
+ |
67 |
+ newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda |
68 |
+ rm "${ED}"/etc/bash_completion.d/yoda-completion || die |
69 |
+} |