summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-06 03:03:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-06 03:03:24 +0000
commit2ceda67569b0a59d190a0f6afe73c18336b54268 (patch)
treeb769c1b06703783b963015c2c528fd5a50d2046b /sci-physics
parent564cd64dc5f2727c4df6aeb1bb51327503c84e78 (diff)
gentoo auto-resync : 06:11:2024 - 03:03:24
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/Manifest.gzbin4207 -> 4203 bytes
-rw-r--r--sci-physics/rivet/Manifest2
-rw-r--r--sci-physics/rivet/rivet-4.0.2.ebuild115
-rw-r--r--sci-physics/yoda/Manifest2
-rw-r--r--sci-physics/yoda/yoda-2.0.2.ebuild95
5 files changed, 214 insertions, 0 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz
index 43460a299eaa..1a1315f8c14c 100644
--- a/sci-physics/Manifest.gz
+++ b/sci-physics/Manifest.gz
Binary files differ
diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index 07167a3c6821..39e5077ba8a5 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -4,8 +4,10 @@ AUX rivet-3.1.9-pythontests.patch 508 BLAKE2B 76f758a47643efbe2b997b184c8af7d860
DIST rivet-3.1.10.tar.gz 36327949 BLAKE2B 76d8ed8b3ee0eda2f7f03b4e423c46f49d39006a4ab0b66622ab2b2a7817f91f1f7bc648ecfb2e9d2d73da1619069c25fe9078c9b04a54cce8e1a71c33dc6b1a SHA512 9a0a3516686b82c7cf667bab230229553e9e49e5656d763046a86baa1f2d3fdb3167e53540533ebe5da532e71f15140ab8dd16de4075fd76e634e0c6919155e4
DIST rivet-3.1.9.tar.gz 37599489 BLAKE2B a470254b8d4303f5738ca9c4ff0061a000d06e37ee805d909dfc709f14e5ebc8958739912f9b9bbf80bb38e79f4b8df057d7ac59c6924fddd56918102243aeed SHA512 21c1ca6eda7ac7d0394875cd8b972d3e65df1bf0e773d2094bab1997c6fab67381d6202aef8024eaa363c03b2345bae95d54dca1ce38c2499ddc24a7e7f93bdc
DIST rivet-4.0.1.tar.gz 29061104 BLAKE2B 33bb4d003c817e44c2b5ecbf36f0c1d16954b52eb4883531f030af30608e5c499378fc3b3157a4608de63cc07617acbfa56cc124cdf61bbaf2a42841b28d478c SHA512 11704dd4f5c2d6981683f3e0f2d201c2554693dbc5a16c50a064cf9ff890b5dc7039ed2fb09720de21693fcd4ffaf10aba52a6240c65bbcb987a6f48512a0543
+DIST rivet-4.0.2.tar.gz 39847467 BLAKE2B b7c1c03ea9503a6da536ca15a0ff961768e3d7d4140bb1ba19c20ba75b55592609bf2c99aece37436c1f4bdf443bd69ab5b59f86fec972ae5b8275359747b9e4 SHA512 0e383e015c425a9e8d734a9ef624222b8c025cd48cb174075b60f7f5a818213ea9f4352445c36bdc574f80722cf4ae3dbe083af89a1f9083fa3632bdf94b860a
EBUILD rivet-3.1.10.ebuild 2812 BLAKE2B 52ce856a54f65a804e08314cf951f89c7a4bc1e25114ab9cca55c31725c0805473ecf1c94c9eea8d6cf22dcf59e5578cef03da9ba84982191f2cd9bc955f829b SHA512 21ad5dc23d0d150f0e2fa33602b9ae703eeb08930687e1f233624a1cdefafcb0680462c431890c7c1ec888d3c18f5866a84817cb09cf81dda0b84a60cd89c78c
EBUILD rivet-3.1.9.ebuild 2900 BLAKE2B a47c46505beff3595c236976923b74ce795dbb7ac7ff140d74f1c8f5d20978b5406be8ddea8b44983ee0ab9a2cfebb600b35632644b7cdc3dd82d3692631c5fd SHA512 3039bcaced8628e69d396d6bd9b59fd8fe345ce0abe12f173959f081d92aa9a400ff93b608a8b3ed5c65817fd7a797e28cb2c3bad0a4ee2f29a79838ec2fe7ad
EBUILD rivet-4.0.1.ebuild 2603 BLAKE2B 15fbf948fc75eb5fb3fe727b001b6f6daba19fc906136920f527498aa32e782e9da3fe3c46bc951dd4ef481d647d6976643090b11de441bd2efbf8a51f447743 SHA512 78f9fa5dfe764863f4bf3633081fe5d0db7564665753a4fe2a2fcdac158153c5ce38dfebe41ae5096ee4099ec42982a4925cb670d3a309172603e62a64fdfa58
+EBUILD rivet-4.0.2.ebuild 2625 BLAKE2B bd63bc5e3849d77bd64268813eaa6f4cfeb1f9a644261561010deef5db5771f496a84347cf1355eeff34a75c86e4d9709e09fc2d45e10a0487773b873bed3272 SHA512 6251c58000fdcae35c86eab401bbe9bfb2cb66ce9d2b7bac43850f2925ffa64ad476d9715caf6ca38b55bff8b7e7dc4688c0a586b082985920bafd61d6297ca6
EBUILD rivet-9999.ebuild 2603 BLAKE2B 15fbf948fc75eb5fb3fe727b001b6f6daba19fc906136920f527498aa32e782e9da3fe3c46bc951dd4ef481d647d6976643090b11de441bd2efbf8a51f447743 SHA512 78f9fa5dfe764863f4bf3633081fe5d0db7564665753a4fe2a2fcdac158153c5ce38dfebe41ae5096ee4099ec42982a4925cb670d3a309172603e62a64fdfa58
MISC metadata.xml 1200 BLAKE2B cff85f5ac43039a3e4ddca5f5f21ab30af73f4bbbc5bf3532a35e9808953dfc7a68ad40de898a542e6961ec1456e10d8e6b21cf6d8d7a806271b5ff9cd6cfd6e SHA512 bbfa9560ade4a2f65737be9aa94c2a4d1b2528427f3ee6888f09928e303f3ac005075018f2c80367e33191fdb7dca4175e5bd311afad56277f5a38589bb9b406
diff --git a/sci-physics/rivet/rivet-4.0.2.ebuild b/sci-physics/rivet/rivet-4.0.2.ebuild
new file mode 100644
index 000000000000..5f54f54b3f5c
--- /dev/null
+++ b/sci-physics/rivet/rivet-4.0.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1
+
+MY_PN="Rivet"
+MY_PF=${MY_PN}-${PV}
+
+DESCRIPTION="Rivet toolkit (Robust Independent Validation of Experiment and Theory)"
+HOMEPAGE="
+ https://rivet.hepforge.org/
+ https://gitlab.com/hepcedar/rivet
+"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/hepcedar/rivet"
+else
+ SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz -> ${P}.tar.gz"
+ S=${WORKDIR}/${MY_PF}
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="4"
+IUSE="+zlib +python +highfive"
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+RDEPEND="
+ >=sci-physics/fastjet-3.4.0[plugins]
+ >=sci-physics/fastjet-contrib-1.048
+ >=sci-physics/hepmc-3.1.1:3=[-cm(-),gev(+)]
+ highfive? (
+ sci-libs/HighFive
+ sci-libs/hdf5[cxx]
+ )
+
+ sci-libs/gsl
+ zlib? ( sys-libs/zlib )
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ ')
+ >=sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
+ )
+ !python? (
+ >=sci-physics/yoda-2
+ )
+ !sci-physics/rivet:3
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-shells/bash
+ python? (
+ $(python_gen_cond_dep '
+ >=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.6-binreloc.patch
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Eigen complains about alignment (see https://gitlab.com/libeigen/eigen/-/issues/2523).
+ # does this affect more cpus?
+ replace-cpu-flags znver1 x86-64
+ # not posix compatible, only bash
+ CONFIG_SHELL=${ESYSROOT}/bin/bash econf \
+ $(use_with zlib zlib "${ESYSROOT}/usr") \
+ --with-hepmc3="${ESYSROOT}/usr" \
+ $(usex highfive "--with-highfive=${ESYSROOT}/usr" "") \
+ --with-yoda="${ESYSROOT}/usr" \
+ --with-fastjet="${ESYSROOT}/usr" \
+ $(use_enable python pyext) \
+ $(usex python CYTHON="${ESYSROOT}/usr/bin/cython")
+}
+
+src_install() {
+ default
+ use python && python_optimize
+ find "${ED}" -name '*.la' -delete || die
+ if use python ; then
+ newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+ bashcomp_alias ${PN} \
+ ${PN}-config \
+ ${PN}-build \
+ ${PN}-cmphistos \
+ make-plots \
+ ${PN}-mkhtml-tex \
+ ${PN}-mkhtml
+ rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
+ fi
+}
+
+pkg_postinstall() {
+ optfeature "latex plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+ optfeature "python plotting support" dev-python/matplotlib
+}
diff --git a/sci-physics/yoda/Manifest b/sci-physics/yoda/Manifest
index 0c555297407d..91d5345e7a75 100644
--- a/sci-physics/yoda/Manifest
+++ b/sci-physics/yoda/Manifest
@@ -2,8 +2,10 @@ AUX yoda-1.9.9-configure.patch 1607 BLAKE2B 7738d68c938b76ffffa83a991da8aa645143
DIST YODA-1.9.10.tar.bz2 1278729 BLAKE2B f6ae9b579d79b6be62e9644e327f0b449882c0f1a0efaac09ac97eae90a2ced10bf2b13447d75390552b3e4d8c128e7a33184bf8b2d308236f828e611df6d7a4 SHA512 54a455a1b2772ea3201477d4dddcf0c92c85bfee8825d8726d62331ebacb37fc8d1f6e02cdfe592722f2a747a46786d2bdb3c36cc982794a30b25e718d32e998
DIST YODA-1.9.5.tar.bz2 1077442 BLAKE2B 010ab725c57dfab8160e0304d461dc44c140d1ce234f3b70834ee58b8f269159529122095a94e6b79ef752612a6659a17e1874fda2941cfbcec1f53802916b6a SHA512 46e30b33d369f5d28ec228b71eaa298f3010cc06fe568785c74bbaf3d7468c26738cc2ee40da9bcc54d978f394187a2ee9289197283c86a3358583a3c0ecd247
DIST YODA-2.0.1.tar.bz2 1842004 BLAKE2B 56c2de8acad92510a49abab0d19568f19de3442f1f941784b85c9bded9c14f82fc2cf0eb555721cedcab81e024a9d89ffcf200b54598ed87c1d6de4c7bc59824 SHA512 abd2728e4dc76474d3bf4d478143f4b2b15a596259c49080be37269386f8353cb3f961cc850718ff8fec5d73f96377d6a9103b5bf3cc7f7c703f47c91d929549
+DIST YODA-2.0.2.tar.bz2 1869694 BLAKE2B cb5628bbfe0ecdd59073ff49496cd79ff6df95d94bbb36463c9de2cd6f576d0a8b8b4c1373f7f06354bb1ceb190a461cf61b4367085c44c44c5fb3982061a3ba SHA512 214f2caa2610a959588b1440fc66e238023829ca2fe7cf0e2f818891dd8db62fc0db288ac03c885c26c8de2a8813cd08deb53cefa0fb7d659b9b129d94d707c7
EBUILD yoda-1.9.10.ebuild 2342 BLAKE2B 6f96d2a8cc866ed5d409cd5614a4ea20f2d10700d24a81d51fdcbce8056978b1faa95d8b319287cc24585dd1256d58cb560f9748fe9595df2abd58194a2af4bb SHA512 6e4d30b90b0965572364c763d1c9d838b6ff884221dc61a7542e711727ddf1a80044532daf9b345747672028caf687436054a739162e5d6b88cdbed9a5d179cc
EBUILD yoda-1.9.5.ebuild 884 BLAKE2B 04511d2040cc8c22d994d51653b7c0f3bc9bb38097eaa770cf28f2dcc2a365a770e3bcbc89840415ab9e13d6975f9cca474b292dd47f24f3ff917259aa0340cf SHA512 17bc971c8b57cdb7dd0823f74a5dcc24206e2ebb2c5e93e445b1babfa459c18803944a516fa01bd20cd55003710d50192a51b94721933dd26098ffe23a6194da
EBUILD yoda-2.0.1.ebuild 2105 BLAKE2B 34b00ff438d340bd32e48109f8879338f9aff6e1ce2ad4cef70f08445fdc3abf0fa86f20e552d5245828d2c18b6e6897ca8a95a9f5e38d80c16fa6ae17575952 SHA512 fbe4bcddbf5d0618e541382279d9a97e518bcfb95ac984a59e1d0842041c2144417c992cdf4ea81a060713574f4257744105cd2082ec8933ae502dd64868c978
+EBUILD yoda-2.0.2.ebuild 2105 BLAKE2B 34b00ff438d340bd32e48109f8879338f9aff6e1ce2ad4cef70f08445fdc3abf0fa86f20e552d5245828d2c18b6e6897ca8a95a9f5e38d80c16fa6ae17575952 SHA512 fbe4bcddbf5d0618e541382279d9a97e518bcfb95ac984a59e1d0842041c2144417c992cdf4ea81a060713574f4257744105cd2082ec8933ae502dd64868c978
EBUILD yoda-9999.ebuild 2186 BLAKE2B 31a9813a2d65b699ec741499db2ec8052960686154fdef33d8c9b6d2ecd518edaefc045a3a4552d8d3c39384994a4520de83085ea80048f2bffaa1beb4dd651a SHA512 57ceecf28cace2d63100e80ea942ecd5ec6259843d6b3c07a3c8c9089269b7bb1cd3593da627692e03366ee72704ebdae14ffd090b02fcee40b13e7f200f32f2
MISC metadata.xml 1063 BLAKE2B e7d94247a06583296897d6b55c759c4499f7c83ff9c5186c014bc5134a66fd37030ca39d79d784ff79d257a327fd63a7915ad0245ca7937bf54b186571616acf SHA512 a4f9e6f39b5543853388bfd1d3c1c777f096eea2ac95aef24aabf6635a56d941cd05700e4fc68448f88a1821d12fb7664c43a9ae9485e098f74353d43998f16f
diff --git a/sci-physics/yoda/yoda-2.0.2.ebuild b/sci-physics/yoda/yoda-2.0.2.ebuild
new file mode 100644
index 000000000000..14b1bcbf85a9
--- /dev/null
+++ b/sci-physics/yoda/yoda-2.0.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit bash-completion-r1 python-single-r1 optfeature
+
+DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis"
+HOMEPAGE="https://yoda.hepforge.org/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/hepcedar/yoda"
+else
+ SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> ${P^^}.tar.bz2"
+ S="${WORKDIR}/${P^^}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+IUSE="root test +python +zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
+
+RDEPEND="
+ root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
+ python? ( ${PYTHON_DEPS} )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ python? (
+ $(python_gen_cond_dep '
+ >=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
+ ')
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ ')
+ )
+ )
+"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ # we need to use the prefix cython here
+ econf --disable-static \
+ $(use_enable root) \
+ $(use_enable python pyext) \
+ $(use_with zlib zlib "${ESYSROOT}/usr") \
+ $(usex python CYTHON="${ESYSROOT}/usr/bin/cython")
+}
+
+src_test() {
+ # PYTESTS and SHTESTS both require python tools
+ if use python; then
+ emake check
+ else
+ emake check PYTESTS= SHTESTS= NO_PYTHON=1
+ fi
+}
+
+src_install() {
+ emake install DESTDIR="${ED}"
+
+ if use python ; then
+ newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}-config
+ bashcomp_alias ${PN}-config \
+ ${PN}ls \
+ ${PN}diff \
+ ${PN}merge \
+ ${PN}stack \
+ ${PN}scale \
+ ${PN}plot \
+ ${PN}envelope \
+ ${PN}cnv \
+ ${PN}2root
+ rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
+ python_optimize
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ optfeature "latex plotting support" virtual/latex-base
+ optfeature "python plotting support" dev-python/matplotlib
+}