Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/
Date: Sun, 03 Jul 2022 10:10:34
Message-Id: 1656843022.c1ce4c24fd0ccea53497f7563e5d0d59ffbf5a0d.andrewammerlaan@gentoo
1 commit: c1ce4c24fd0ccea53497f7563e5d0d59ffbf5a0d
2 Author: Thamognya Kodi <contact <AT> thamognya <DOT> com>
3 AuthorDate: Thu Jun 23 00:11:15 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 10:10:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ce4c24
7
8 sci-physics/yoda: Bump to 1.9.5 and EAPI 8
9
10 Signed-off-by: Thamognya Kodi <contact <AT> thamognya.com>
11 Closes: https://bugs.gentoo.org/851540
12 Closes: https://github.com/gentoo/gentoo/pull/26048
13 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
14
15 sci-physics/yoda/Manifest | 1 +
16 sci-physics/yoda/yoda-1.9.5.ebuild | 39 ++++++++++++++++++++++++++++++++++++++
17 2 files changed, 40 insertions(+)
18
19 diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
20 index 3b97f8db6071..0dfe8252bde5 100644
21 --- a/sci-physics/yoda/Manifest
22 +++ b/sci-physics/yoda/Manifest
23 @@ -1 +1,2 @@
24 DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189 SHA512 eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
25 +DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a SHA512 46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247
26
27 diff --git a/sci-physics/yoda/yoda-1.9.5.ebuild b/sci-physics/yoda/yoda-1.9.5.ebuild
28 new file mode 100644
29 index 000000000000..e21cc066b474
30 --- /dev/null
31 +++ b/sci-physics/yoda/yoda-1.9.5.ebuild
32 @@ -0,0 +1,39 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit bash-completion-r1
39 +
40 +DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
41 +HOMEPAGE="https://yoda.hepforge.org/"
42 +SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0/${PV}"
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="root"
48 +
49 +RDEPEND="root? ( sci-physics/root:= )"
50 +DEPEND="${RDEPEND}"
51 +
52 +S="${WORKDIR}/${P^^}"
53 +
54 +src_configure() {
55 + econf \
56 + --disable-pyext \
57 + --disable-static \
58 + $(use_enable root)
59 +}
60 +
61 +src_test() {
62 + # PYTESTS and SHTESTS both require python tools
63 + emake check PYTESTS= SHTESTS=
64 +}
65 +
66 +src_install() {
67 + default
68 + find "${ED}" -name '*.la' -delete || die
69 + newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda
70 + rm "${ED}"/etc/bash_completion.d/yoda-completion || die
71 +}