diff options
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/Manifest.gz | bin | 4187 -> 4190 bytes | |||
-rw-r--r-- | sci-physics/hepmc/Manifest | 3 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild | 58 | ||||
-rw-r--r-- | sci-physics/hepmc/hepmc-9999.ebuild | 56 |
4 files changed, 117 insertions, 0 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz Binary files differindex 65bbc607fd91..b34dc41af0e5 100644 --- a/sci-physics/Manifest.gz +++ b/sci-physics/Manifest.gz diff --git a/sci-physics/hepmc/Manifest b/sci-physics/hepmc/Manifest index 523336cb1413..7bca8407c0ae 100644 --- a/sci-physics/hepmc/Manifest +++ b/sci-physics/hepmc/Manifest @@ -1,7 +1,10 @@ DIST HepMC-2.06.09.tar.gz 4612637 BLAKE2B 6bbf1a6a8410b6717ddff29fc3643247582f7a61a05fd9e52a0b09f78bf75de587c1c55525f6a1367b306a26a4687ce55b64908c049d91bdb2db3d40467af62b SHA512 1030f31ad9d19d8ae184145a693c4a3092131f485e2ed89598b7172992a825ad9aa46fb44a9199a00c4a6bd7e163daead9452e9bc4fe32cb3b97351cf22906c4 DIST HepMC3-3.2.5.tar.gz 9217649 BLAKE2B 520e4621cdfa277376e94b87a070f23e6479867bbf696dc972e7496c54504c7da921932fbeaf7713cbaab18c72101ad3fa79396fe8ee1737180946696dcd1fbd SHA512 de60aaa686f6499c62112c265438b9ba41a7ed312b767ddc3409178b6e908e4fffd6a1153bd9f2929cf479074b14bcbec33d377f51a11cfcd4c67e45fc9bb2b9 +DIST HepMC3-e05d32ebac8705c0097e9e7d00ce815a205110db.tar.gz 9346161 BLAKE2B 9304d329332c2d4eb0ef6526a3308aecd29a38c569d3ba57d94767fd38ad052514f75a7a90f301c54185230d7693a67e48d59b66b12f42626a7ef900e309f743 SHA512 45f9edc6c56f9f8494b416bff147dccca64c52a90e0e169ede560ae8cf9e9255258b7af1586dd1c856f4010c22b2e668511bab160487a3ba802b629d03015e55 DIST hepmc2.06.11.tgz 4893958 BLAKE2B ac8eef250cb330a167c9e0f4bd1aaf8df82e0ffec3557ab5cdaf8bc5b0b7333d6a45f73710ce63abab52d2c5758d5663c15c2a7c940a09504b3ef2fd4517aa0b SHA512 81c100d4931e0e4de62c8ffd18cc06e7996a642fecc092892988bdc0dd0dc3c0f5b336e85f09ceb8f5e0e09456775ae5928d37daf28d82923476089bc0e910f2 EBUILD hepmc-2.06.09-r2.ebuild 1944 BLAKE2B 9c768aae3cb4bcc0d4c6953e7577e0bff407ec61ef1efb9ec34b60944ac8880e832a196c04cb1adcf1539488807af3729db35282cc71383ae560f22473dfca70 SHA512 0c45e436498dea65ea1b801a44b8b4c6e232305dbb7d002656a0f11feb4fb2a0d23cf6a63f0bfd7c711bff6fba60f69367ca7f173a6af0bac54c664bbd0b2cb6 EBUILD hepmc-2.06.11.ebuild 2002 BLAKE2B 3c3fcf14703a96074b0fad4e411beffb3e6cdac9d6b6035c4ae29397c291b880702e0926f2f893f7a0febe88b7c2512c29760e9dc17df6ae26eeae1b44f4adbb SHA512 f3070fdd37b9bd6212687acc0d46d1a64223cfec128db524ae35e2e39745b3ae9abcaaec982352df295d9ada4e23bf5d87b3994b4b7dd078e507664d96767652 EBUILD hepmc-3.2.5.ebuild 1195 BLAKE2B 75292838102e62d9c2c42b59d15ba3f7fe93c09a14b9b3fe656d879abd85621f48320b733e239d0f29f9cf458981cc56e42d0adad5698ea50087598e01651c0c SHA512 ec153b19bf78bb0237231142cbd67842faf58601517f1b702c2a749492e491ca6b41fbab4e79808e9c26385ddcf559cfb205450ea35cf648197aab303df93370 +EBUILD hepmc-3.2.5_p20230225.ebuild 1388 BLAKE2B 5f51458a3903d0e86f12f54854c366dcd843f6a7cf442c8c6e24e6589098999cd7467fc4090f02f17c82a6b8aaeca9d08f9873212d36baa781f09ebaa5338a8d SHA512 025c51edd3cac574d8d3f7c4c4cdaddf576e61957ebe975a04b04e76f388a3da0e054b4b62071d3e50e5769d8cf3b3a39dee744a55778cda24d4b9c50ac1956e +EBUILD hepmc-9999.ebuild 1286 BLAKE2B fdfad729fa33d582deeb6ca9b967612577f4416ae79b33ff38eadfb7926e6015d2e1c68d31ee4d87578a7b65b422ba60cc60682ba4bfa6c178c35c8eed7ea9d1 SHA512 88caf857a50c838865378c2cce3341c1dcce7184cfa2d8855da44df0bcaed8e02d8aff892329234eda824ecbf54d6994505aac213987e79175953893cebb6be2 MISC metadata.xml 1600 BLAKE2B 10b28e9bbb93689a55d60e8af6ca44ea7764b8b309c4dfba81bb11d0ca2cd3aa30ee1df5b9a4a02bd649f64d7624885f10259f4d62c1bdb89b36fa7bb1da8baf SHA512 52c562ae75774076c652072aa1bfbefbbb3fcace04856fea14ce7265e6116bce7bc0fafa24e092cb848cdda980c489ade647ac056a6cd6cc8f077f26994454ae diff --git a/sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild b/sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild new file mode 100644 index 000000000000..4f6201190a03 --- /dev/null +++ b/sci-physics/hepmc/hepmc-3.2.5_p20230225.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit cmake python-single-r1 + +MYPN=HepMC3 +MYP=${MYPN}-${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 + COMMIT="e05d32ebac8705c0097e9e7d00ce815a205110db" + SRC_URI="https://gitlab.cern.ch/${PN}/${MYPN}/-/archive/${COMMIT}/${MYPN}-${COMMIT}.tar.gz" + S="${WORKDIR}/${MYPN}-${COMMIT}" + 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} )" +DEPEND="${RDEPEND}" +BDEPEND=" + root? ( sci-physics/root:= ) + doc? ( + app-doc/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 + python_optimize +} diff --git a/sci-physics/hepmc/hepmc-9999.ebuild b/sci-physics/hepmc/hepmc-9999.ebuild new file mode 100644 index 000000000000..4701177b3f45 --- /dev/null +++ b/sci-physics/hepmc/hepmc-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit 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} )" +DEPEND="${RDEPEND}" +BDEPEND=" + root? ( sci-physics/root:= ) + doc? ( + app-doc/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 + python_optimize +} |