Diff hepmc-3.2.6 with a hepmc-9999

/usr/portage/sci-physics/hepmc/hepmc-9999.ebuild 2023-10-09 14:52:35.256368495 +0300
4 4
EAPI=8
5 5

  
6 6
PYTHON_COMPAT=( python3_{9..11} )
7
inherit fortran-2 cmake python-single-r1
7
inherit cmake python-single-r1
8 8

  
9
MYPN=HepMC3
10
MYP=${MYPN}-${PV}
9
MYP=HepMC3-${PV}
11 10

  
12 11
DESCRIPTION="Event Record for Monte Carlo Generators"
13 12
HOMEPAGE="https://hepmc.web.cern.ch/hepmc/"
......
27 26
RESTRICT="!test? ( test )"
28 27
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
29 28

  
30
RDEPEND="
31
	python? (
32
		${PYTHON_DEPS}
33
		$(python_gen_cond_dep '
34
			dev-python/numpy[${PYTHON_USEDEP}]
35
		')
36
	)
37
"
29
RDEPEND="python? ( ${PYTHON_DEPS} )"
38 30
DEPEND="${RDEPEND}"
39 31
BDEPEND="
40 32
	root? ( sci-physics/root:= )
......
60 52
src_install() {
61 53
	cmake_src_install
62 54
	use examples && docompress -x /usr/share/doc/${PF}/examples
63
	use python && python_optimize
55
	python_optimize
64 56
}
Thank you!