sci-physics/yoda: Bump to 1.9.5 and EAPI 8

Signed-off-by: Thamognya Kodi <contact@thamognya.com>
Closes: https://bugs.gentoo.org/851540
Closes: https://github.com/gentoo/gentoo/pull/26048
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Thamognya Kodi
2022-06-23 07:11:15 +07:00
committed by Andrew Ammerlaan
parent af1f8def03
commit c1ce4c24fd
2 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST YODA-1.9.0.tar.bz2 1061105 BLAKE2B 70d68d31456747fcb14e27585aae245930061b5135b8a96c8ff3fe0375175d00a1c2d24a6c1ca3f18fc8464e610ef6287184f3990e12ff3fb108def600e34189 SHA512 eb82f1df832c2124dd81e07c06f165ddf13c4c4b70fcd0113f85045e22085d82751325bc57bfbd167649580980d98a15b666de56dada639160f24682b58b2f71
DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a SHA512 46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
HOMEPAGE="https://yoda.hepforge.org/"
SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="root"
RDEPEND="root? ( sci-physics/root:= )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P^^}"
src_configure() {
econf \
--disable-pyext \
--disable-static \
$(use_enable root)
}
src_test() {
# PYTESTS and SHTESTS both require python tools
emake check PYTESTS= SHTESTS=
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda
rm "${ED}"/etc/bash_completion.d/yoda-completion || die
}