Diff hepmc-3.2.6 with a hepmc-9999

/usr/portage/sci-physics/hepmc/hepmc-9999.ebuild 2024-12-25 14:59:52.727270181 +0300
4 4
EAPI=8
5 5

  
6 6
PYTHON_COMPAT=( python3_{10..12} )
7
inherit fortran-2 cmake python-single-r1
7
inherit fortran-2 cmake flag-o-matic 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/"
......
23 22

  
24 23
LICENSE="GPL-3+"
25 24
SLOT="3"
26
IUSE="doc test examples python root"
25
IUSE="doc test examples python root static-libs"
27 26
RESTRICT="!test? ( test )"
28 27
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
29 28

  
......
36 35
	)
37 36
"
38 37
DEPEND="${RDEPEND}"
38
# Automagic compression dependencies in test and example.
39
# https://gitlab.cern.ch/hepmc/HepMC3/-/issues/99
40
# For now we install all of them...
39 41
BDEPEND="
40 42
	root? ( sci-physics/root:= )
41 43
	doc? (
......
44 46
		dev-texlive/texlive-latexextra
45 47
		dev-texlive/texlive-latexrecommended
46 48
	)
49
	test? (
50
		sys-libs/zlib
51
		app-arch/xz-utils
52
		app-arch/bzip2
53
		app-arch/zstd
54
	)
55
	examples? (
56
		sys-libs/zlib
57
		app-arch/xz-utils
58
		app-arch/bzip2
59
		app-arch/zstd
60
	)
47 61
"
48 62

  
49 63
src_configure() {
64
	filter-lto # 941937 941936
50 65
	local mycmakeargs=(
66
		-DHEPMC3_PYTHON_VERSIONS="${EPYTHON/python/}"
51 67
		-DHEPMC3_ENABLE_ROOTIO=$(usex root ON OFF)
52 68
		-DHEPMC3_ENABLE_PYTHON=$(usex python ON OFF)
53 69
		-DHEPMC3_ENABLE_TEST=$(usex test ON OFF)
54 70
		-DHEPMC3_BUILD_DOCS=$(usex doc ON OFF)
55 71
		-DHEPMC3_BUILD_EXAMPLES=$(usex examples ON OFF)
72
		-DHEPMC3_BUILD_STATIC_LIBS=$(usex static-libs ON OFF)
56 73
	)
57 74
	cmake_src_configure
58 75
}
Thank you!