Diff yoda-1.9.5 with a yoda-1.9.6

/usr/portage/sci-physics/yoda/yoda-1.9.6.ebuild 2023-10-09 14:52:35.264368496 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 2022-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit bash-completion-r1
6
PYTHON_COMPAT=( python3_{9..10} )
7

  
8
inherit bash-completion-r1 autotools python-single-r1
7 9

  
8 10
DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
9 11
HOMEPAGE="https://yoda.hepforge.org/"
10 12
SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
13
S="${WORKDIR}/${P^^}"
11 14

  
12
LICENSE="GPL-2"
15
LICENSE="GPL-3"
13 16
SLOT="0/${PV}"
14
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
15
IUSE="root"
16

  
17
RDEPEND="root? ( sci-physics/root:= )"
17
KEYWORDS="~amd64"
18
IUSE="root python"
19
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
20

  
21
RDEPEND="
22
	root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
23
	python? ( ${PYTHON_DEPS} )
24
"
18 25
DEPEND="${RDEPEND}"
19 26

  
20
S="${WORKDIR}/${P^^}"
27
src_prepare() {
28
	default
29
	# reconf due to python3_10 patch
30
	eautoreconf
31
}
21 32

  
22 33
src_configure() {
23 34
	econf \
24
		--disable-pyext \
25 35
		--disable-static \
26
		$(use_enable root)
36
		$(use_enable root) \
37
		$(use_enable python pyext)
27 38
}
28 39

  
29 40
src_test() {
30
	# PYTESTS and SHTESTS both require python tools
41
	# PYTESTS and SHTESTS both require python tools to be installed already
31 42
	emake check PYTESTS= SHTESTS=
32 43
}
33 44

  
34 45
src_install() {
35
	default
46
	# prevent double installation of python library
47
	emake install DESTDIR="${ED}"
36 48
	find "${ED}" -name '*.la' -delete || die
37
	newbashcomp "${ED}"/etc/bash_completion.d/yoda-completion yoda
38
	rm "${ED}"/etc/bash_completion.d/yoda-completion || die
49
	newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion yoda
50
	python_optimize
51
	rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
39 52
}
Thank you!