diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
commit | bed3b604e16fc6075e29f1af8d47507a07035bd3 (patch) | |
tree | 1f5d57fd86e90db37f62afb463f4b4c08a2b6eda /sci-physics/hepmc | |
parent | d6ca4e4f90cb75c323b5988eefa96a04c0d36908 (diff) |
gentoo auto-resync : 21:06:2024 - 00:11:18
Diffstat (limited to 'sci-physics/hepmc')
-rw-r--r-- | sci-physics/hepmc/Manifest | 2 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-3.3.0.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index f4588006d154..8ecf6bcbb942 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,10 +1,12 @@ DIST HepMC3-3.2.6.tar.gz 9344806 BLAKE2B da478157ad73915d77851e9da7b236a052cb32e98103c2701f874a81ed62cbc4397489e3a2f64cd25a46c9704ccfcaac4d854357251d8bbb4120cbc1f5149374 SHA512 d8a50f081db109c9c18e4aaee60230be062eaa2947dadfb14759649eb1c504975802b2c822b1fe024d4e73f703e9f399161fa4fe38b526722dda33c2ff2e8fab DIST HepMC3-3.2.7.tar.gz 9345591 BLAKE2B e053b9d91552e1e969742a4e3295e233afba1a9f37bc33474f9b8faeda69f3dccddf3fa0aa7d23e6620df1a321c2d8eab51fce08da6fb8f68de130fc5f90ece9 SHA512 c4072fe4e3d80b90f5e5437781d2c7e1439b777318eecd1202cf7611d1ba2910394d72280873c6f897c43f2dd274ebb7cb77f43b223efb13c823aeaef6ba0e71 +DIST HepMC3-3.3.0.tar.gz 9341637 BLAKE2B ce02d0c3b103c634bcde80040ae82682a8f0b622c6dd0ed97cf915ef0b026976ed852c69a469d7a27a39746ab9fb660b307c2fe11b4844a42973f8590e828296 SHA512 2d99880a99ec028013622460580409ecc99e3395cb2acef51fa4c6d629f42ee4044e78048314fd21be6a8b462ea01a4e161bc65fa279d6468325fc9e5ef110fb DIST HepMC3-e05d32ebac8705c0097e9e7d00ce815a205110db.tar.gz 9346161 BLAKE2B 9304d329332c2d4eb0ef6526a3308aecd29a38c569d3ba57d94767fd38ad052514f75a7a90f301c54185230d7693a67e48d59b66b12f42626a7ef900e309f743 SHA512 45f9edc6c56f9f8494b416bff147dccca64c52a90e0e169ede560ae8cf9e9255258b7af1586dd1c856f4010c22b2e668511bab160487a3ba802b629d03015e55 DIST hepmc2.06.11.tgz 4893958 BLAKE2B ac8eef250cb330a167c9e0f4bd1aaf8df82e0ffec3557ab5cdaf8bc5b0b7333d6a45f73710ce63abab52d2c5758d5663c15c2a7c940a09504b3ef2fd4517aa0b SHA512 81c100d4931e0e4de62c8ffd18cc06e7996a642fecc092892988bdc0dd0dc3c0f5b336e85f09ceb8f5e0e09456775ae5928d37daf28d82923476089bc0e910f2 EBUILD hepmc-2.06.11.ebuild 2116 BLAKE2B 1cc75cf1577b38386720025ed5feb75b19a3a8531927dffc134d9b6847141338252d264412b5c59ee718986867b9fef0fa9cd5bcc3c47fbd8addbcaee3d07aa9 SHA512 f04112c914c519fa630afdfead10961a45805f20863f62f8132b985900865bef28e11310a96a7ca259884baa9a6484a220b44d5a8365dbcdbf1d1021d1057792 EBUILD hepmc-3.2.5_p20230225-r1.ebuild 1488 BLAKE2B 65054613cb8d829c75cdadf5880f17c1127e8817dbf4189f8d1bd3b0105a2ff4d7fcc4790a3c1eb2d48c8047d2ca84f4b0931a5452e066447db254c65914fd84 SHA512 5281c1a6c6fdcd3e9c22b806730b71d96f8215071554d590114579f7cd9f4391a56902548798cd9608342308e9a5390d09f9ad0037dac68fabf637dece660f7f EBUILD hepmc-3.2.6.ebuild 1400 BLAKE2B a23c3da80c1961c7a3cf7b81b2debe14f061247c8a5d41ea295d03d90103f55adb730d0a797ee9a913a9029de5acb82168994220f6d54e63ea8a0a90324ff4ce SHA512 508d7945a8499753ecb1c4131c1d5a5fb59a2b686217a4b909371ac410d9f8dd88adbe5f601e16bea94ac863d839520853e9ce7cca6a19f3a9adea1592c469f9 EBUILD hepmc-3.2.7.ebuild 1400 BLAKE2B a23c3da80c1961c7a3cf7b81b2debe14f061247c8a5d41ea295d03d90103f55adb730d0a797ee9a913a9029de5acb82168994220f6d54e63ea8a0a90324ff4ce SHA512 508d7945a8499753ecb1c4131c1d5a5fb59a2b686217a4b909371ac410d9f8dd88adbe5f601e16bea94ac863d839520853e9ce7cca6a19f3a9adea1592c469f9 +EBUILD hepmc-3.3.0.ebuild 1387 BLAKE2B 6106642efe3674ebb153f872105b3ff873b8aef105bfe3f013549557c162d59a508c44fab8f0fbd92596e66a3343fc6e5833a9d9aaeae817256159fdb4d8feec SHA512 00ccdde71033f34991376e183f58b95367b7317e90324f0870a27af17b448294d6f3ecb4c58342107599472426ab8bfdd9ca694c59f9335a365893e2ba4861cc EBUILD hepmc-9999.ebuild 1387 BLAKE2B 6106642efe3674ebb153f872105b3ff873b8aef105bfe3f013549557c162d59a508c44fab8f0fbd92596e66a3343fc6e5833a9d9aaeae817256159fdb4d8feec SHA512 00ccdde71033f34991376e183f58b95367b7317e90324f0870a27af17b448294d6f3ecb4c58342107599472426ab8bfdd9ca694c59f9335a365893e2ba4861cc MISC metadata.xml 1600 BLAKE2B 10b28e9bbb93689a55d60e8af6ca44ea7764b8b309c4dfba81bb11d0ca2cd3aa30ee1df5b9a4a02bd649f64d7624885f10259f4d62c1bdb89b36fa7bb1da8baf SHA512 52c562ae75774076c652072aa1bfbefbbb3fcace04856fea14ce7265e6116bce7bc0fafa24e092cb848cdda980c489ade647ac056a6cd6cc8f077f26994454ae diff --git a/sci-physics/hepmc/hepmc-3.3.0.ebuild b/sci-physics/hepmc/hepmc-3.3.0.ebuild new file mode 100644 index 000000000000..788d8d48adf5 --- /dev/null +++ b/sci-physics/hepmc/hepmc-3.3.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit fortran-2 cmake python-single-r1 + +MYP=HepMC3-${PV} + +DESCRIPTION="Event Record for Monte Carlo Generators" +HOMEPAGE="https://hepmc.web.cern.ch/hepmc/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.cern.ch/hepmc/HepMC3" +else + SRC_URI="https://hepmc.web.cern.ch/hepmc/releases/${MYP}.tar.gz" + S="${WORKDIR}/${MYP}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="3" +IUSE="doc test examples python root" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + root? ( sci-physics/root:= ) + doc? ( + app-text/doxygen[dot] + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + dev-texlive/texlive-latexrecommended + ) +" + +src_configure() { + local mycmakeargs=( + -DHEPMC3_ENABLE_ROOTIO=$(usex root ON OFF) + -DHEPMC3_ENABLE_PYTHON=$(usex python ON OFF) + -DHEPMC3_ENABLE_TEST=$(usex test ON OFF) + -DHEPMC3_BUILD_DOCS=$(usex doc ON OFF) + -DHEPMC3_BUILD_EXAMPLES=$(usex examples ON OFF) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + use examples && docompress -x /usr/share/doc/${PF}/examples + use python && python_optimize +} |