aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/cernlib/Manifest2
-rw-r--r--sci-physics/cernlib/cernlib-2024.06.12.0.ebuild79
-rw-r--r--sci-physics/cuttools/Manifest1
-rw-r--r--sci-physics/cuttools/cuttools-1.9.3-r1.ebuild66
-rw-r--r--sci-physics/cuttools/cuttools-1.9.3.ebuild52
-rw-r--r--sci-physics/cuttools/files/cuttools-1.9.3-unbundle.patch13
-rw-r--r--sci-physics/cuttools/metadata.xml3
-rw-r--r--sci-physics/decaylanguage/Manifest1
-rw-r--r--sci-physics/decaylanguage/decaylanguage-0.18.5.ebuild28
-rw-r--r--sci-physics/decaylanguage/metadata.xml19
-rw-r--r--sci-physics/hepstats/Manifest1
-rw-r--r--sci-physics/hepstats/hepstats-0.8.1.ebuild25
-rw-r--r--sci-physics/hepstats/metadata.xml19
-rw-r--r--sci-physics/hepunits/Manifest1
-rw-r--r--sci-physics/hepunits/hepunits-2.3.5.ebuild23
-rw-r--r--sci-physics/mplhep-data/Manifest1
-rw-r--r--sci-physics/mplhep-data/metadata.xml20
-rw-r--r--sci-physics/mplhep-data/mplhep-data-0.0.4.ebuild17
-rw-r--r--sci-physics/mplhep/Manifest1
-rw-r--r--sci-physics/mplhep/metadata.xml19
-rw-r--r--sci-physics/mplhep/mplhep-0.3.55.ebuild47
-rw-r--r--sci-physics/oneloop/Manifest1
-rw-r--r--sci-physics/oneloop/files/oneloop-3.6_p20200731-mpfun90.patch14
-rw-r--r--sci-physics/oneloop/oneloop-3.6_p20200731.ebuild12
-rw-r--r--sci-physics/oneloop/oneloop-3.7.2.ebuild104
-rw-r--r--sci-physics/particle/Manifest1
-rw-r--r--sci-physics/particle/particle-0.25.2.ebuild48
-rw-r--r--sci-physics/particle/particle-9999.ebuild10
-rw-r--r--sci-physics/pylhe/Manifest1
-rw-r--r--sci-physics/pylhe/pylhe-0.9.0.ebuild34
-rw-r--r--sci-physics/qcdloop/Manifest2
-rw-r--r--sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch21
-rw-r--r--sci-physics/qcdloop/qcdloop-2.0.11.ebuild (renamed from sci-physics/qcdloop/qcdloop-2.0.5.ebuild)21
-rw-r--r--sci-physics/scikit-hep-testdata/Manifest1
-rw-r--r--sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild37
-rw-r--r--sci-physics/sherpa/Manifest2
-rw-r--r--sci-physics/sherpa/sherpa-3.0.1.ebuild (renamed from sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild)0
-rw-r--r--sci-physics/uproot/Manifest1
-rw-r--r--sci-physics/uproot/uproot-5.4.1.ebuild30
39 files changed, 766 insertions, 12 deletions
diff --git a/sci-physics/cernlib/Manifest b/sci-physics/cernlib/Manifest
index d8be46729..b49fa508a 100644
--- a/sci-physics/cernlib/Manifest
+++ b/sci-physics/cernlib/Manifest
@@ -1,2 +1,4 @@
DIST cernlib-2023.10.31.0-free.tar.gz 39191038 BLAKE2B 941592a65f0c8d7d0c6c3907c96d8209568579dac455ed28657a5635677d73e6580f48667a641a6ca9dd296bf82a40f6a75c5fc801fcefb7f8e9101b4dcd3202 SHA512 d015f89942bab695444d37847a8138c3a8736ceeb6f4826c659553bf1ae5eab2a77b2871645a125ea189e62520856955070fbb3ed2d208d35f82ee8b8559d089
DIST cernlib-2023.10.31.0.tar.gz 39547453 BLAKE2B f37686e4a43b969a8cb604874b6181adf8529b9fc383ccd2e42fc369f92d4693ca8db682bc58638cb58e9941cf22551cfec26b33075e15fc6a0b3fab3dcf7d82 SHA512 9bc866d08e3bce2f571f9f4e21e34ca6c99467088d4dce4cbc9b6c62d8ee2b9018668fd66795996a5f6abb1082ac9559cf08bc7f5201421dbffcdd0db9459008
+DIST cernlib-cernlib-2024.06.12.0-free.tar.gz 37622299 BLAKE2B d4f53b9a64a0745519ef2a63f8ea950a08de8177d1e42d4e735cdd96ea57c4d5da91521cc6b9f865f8ebe886188976ddf2319c4b073aa7705d3e344baee691fb SHA512 d461173771b622516c028d82d853d458fa3c50b07b8094cbad1806bb80f5fa1eb98ad15555c8ddb8b2ac5d04eeceeeec69cffb0a1fc4cb99a5a0b2e48abce386
+DIST cernlib-cernlib-2024.06.12.0.tar.gz 37968830 BLAKE2B e6f391f56f72151cda5d07f838bc8d5b31afaa565cdd1128fbf89c2c6c3891d8cdf384eb1d2048572ddf35c08ceaff92c4eac04f182776d8aafb0813d289f994 SHA512 f015bbdc22ad8c1fc6a4eba39fe1f492fa827a81876174d09917bb9037f3bb7749d000425e00fd4436c18900d59a088af2520fc034fc06acf8c6c07b1ce29ca9
diff --git a/sci-physics/cernlib/cernlib-2024.06.12.0.ebuild b/sci-physics/cernlib/cernlib-2024.06.12.0.ebuild
new file mode 100644
index 000000000..299399738
--- /dev/null
+++ b/sci-physics/cernlib/cernlib-2024.06.12.0.ebuild
@@ -0,0 +1,79 @@
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake fortran-2 flag-o-matic
+
+DESCRIPTION="CERN program library for High Energy Physics"
+HOMEPAGE="https://cernlib.web.cern.ch/cernlib/"
+SRC_URI="
+ free? ( https://cernlib.web.cern.ch/download/$(ver_cut 1)_source/tar/${PN}-${P}-free.tar.gz )
+ !free? ( https://cernlib.web.cern.ch/download/$(ver_cut 1)_source/tar/${PN}-${P}.tar.gz )
+"
+S="${WORKDIR}/${PN}-${P}"
+LICENSE="
+ free? ( BSD LGPL-2+ GPL-1+ )
+ !free? ( all-rights-reserved )
+"
+SLOT="0"
+KEYWORDS="~amd64"
+# static-libs as default since otherwise test fail...
+IUSE="+free +static-libs"
+RESTRICT="mirror"
+
+RDEPEND="
+ x11-libs/motif:0
+ x11-libs/libXaw
+ x11-libs/libXau
+ virtual/lapack
+ dev-lang/cfortran
+ x11-libs/xbae
+ net-libs/libnsl
+ virtual/libcrypt:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2023.10.31.0-cfortran.patch
+ "${FILESDIR}"/${PN}-2023.10.31.0-man.patch
+)
+
+src_unpack() {
+ default
+ if use free; then
+ mv ${PN}-${P}-free ${PN}-${P} || die
+ fi
+}
+
+src_prepare() {
+ cmake_src_prepare
+ # cfortran.patch
+ # Remove cfortran.h since it is already installed from dev-lang/cfortran
+ # thereby we avoid collisions if e.g. sci-physics/root[fortran] is installed.
+ rm cfortran/cfortran.h || die
+}
+
+src_configure() {
+ # docs follow rpm like spliting into packages cernlib, cernlib-devel, etc.
+ # we move them into a folder that agrees with gentoo doc structure.
+ sed -i "s#/doc/#/doc/${PF}/#g" CMakeLists.txt || die
+ # let upstream decide on optimization (-O0) since code is fragile
+ #filter-flags -O1 -O2 -O3 -Os -Oz -Og -Ofast
+ # with -O2 some tests fail
+ append-flags -O0
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ # man.patch
+ # The CMakeLists.txt already compresses the manual before install
+ # therefore we install it manually and avoid QA problems.
+ doman contrib/man/man1/*.1
+ doman contrib/man/man8/*.8
+}
diff --git a/sci-physics/cuttools/Manifest b/sci-physics/cuttools/Manifest
index 590c6fd51..bd3e92f61 100644
--- a/sci-physics/cuttools/Manifest
+++ b/sci-physics/cuttools/Manifest
@@ -1 +1,2 @@
DIST cuttools_v1.8.2.tar.gz 962232 BLAKE2B aaec06cc892577c2e562e8ee07e9863dd42a8bbf878b4e2aee01d2bbf5bb27bb9e4f50ef3c3a66fe00e73cc527e23b0274f9c3df169779c5fb529c9ff5610cb0 SHA512 6f1af82caa2a86669271346fa4a4f1d13b39f1c1ee7562c5fc29f250276d59017722a55256358bd006819a442acd3198901b642039be9f6a78d3cf31fe0ca976
+DIST cuttools_v1.9.3.tar.gz 1007945 BLAKE2B 832643d9bda99cd920ad289c8edc0394ac335d75330a99a5f1b814d62957d54a7c42f0fc861f2cc9389a0c5d94ed2d67cec4698277f14dc5d3cb27ba8c65bc5f SHA512 6574f9928b3c131bdbf9343323d3a5a56e653c9ace37edd047a3e172aaf6ce4fab04eeb3013cc7eb448bd86937326d15f5effe5600a6a743b750a1eaccaa5db2
diff --git a/sci-physics/cuttools/cuttools-1.9.3-r1.ebuild b/sci-physics/cuttools/cuttools-1.9.3-r1.ebuild
new file mode 100644
index 000000000..f27b5beb6
--- /dev/null
+++ b/sci-physics/cuttools/cuttools-1.9.3-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2 toolchain-funcs
+
+DESCRIPTION="Computing 1-loop amplitudes at the integrand level"
+HOMEPAGE="https://www.ugr.es/~pittau/CutTools/"
+SRC_URI="https://www.ugr.es/~pittau/CutTools/${PN}_v${PV}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+dummy mpfun90"
+DEPEND="
+ sci-libs/mpfun90
+ sci-physics/qcdloop
+ sci-physics/oneloop[dpkind,qpkind16,-qpkind,-tlevel,mpfun90?]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.9.3-unbundle.patch"
+)
+
+src_prepare() {
+ default
+ sed -i 's/^ALL =.*$/ALL = $(CTS)/' src/makefile || die
+ if use dummy ; then
+ cp "${FILESDIR}"/mpnumdummy.f90 src/cts/mpnumdummy.f90 || die
+ fi
+ if use dummy ; then
+ sed -i 's/CTS =/CTS = mpnumdummy.o/' src/makefile || die
+ fi
+ if use mpfun90; then
+ sed -i 's/PRECISION=.*$/PRECISION= MP/g' makefile || die
+ else
+ sed -i 's/PRECISION=.*$/PRECISION= QP/g' makefile || die
+ fi
+}
+
+src_compile() {
+ if use mpfun90; then
+ emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy" mp
+ else
+ emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy" qp
+ fi
+ tc-export AR CXX
+ cd includects || die
+ ${AR} -x libcts.a || die
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared *.o -Wl,-soname,libcuttools.so -o lib${PN}.so || die
+}
+
+src_install() {
+ cd includects || die
+ dolib.so lib${PN}.so
+ cd .. || die
+ mv includects ${PN} || die
+ rm ${PN}/*.a || die
+ rm ${PN}/*.so || die
+ rm ${PN}/*.o || die
+ doheader -r ${PN}
+}
diff --git a/sci-physics/cuttools/cuttools-1.9.3.ebuild b/sci-physics/cuttools/cuttools-1.9.3.ebuild
new file mode 100644
index 000000000..03f84b63c
--- /dev/null
+++ b/sci-physics/cuttools/cuttools-1.9.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2 toolchain-funcs
+
+DESCRIPTION="Computing 1-loop amplitudes at the integrand level"
+HOMEPAGE="https://www.ugr.es/~pittau/CutTools/"
+SRC_URI="https://www.ugr.es/~pittau/CutTools/${PN}_v${PV}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+dummy"
+DEPEND="
+ sci-physics/qcdloop
+ sci-physics/oneloop[dpkind,qpkind16,-qpkind,-tlevel]
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i 's/^ALL =.*$/ALL = $(CTS)/' src/makefile || die
+ if use dummy ; then
+ cp "${FILESDIR}"/mpnumdummy.f90 src/cts/mpnumdummy.f90 || die
+ fi
+ if use dummy ; then
+ sed -i 's/CTS =/CTS = mpnumdummy.o/' src/makefile || die
+ fi
+}
+
+src_compile() {
+ emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy"
+ tc-export AR CXX
+ cd includects || die
+ ${AR} -x libcts.a || die
+ ${CXX} ${CXXFLAGS} -shared *.o -o lib${PN}.so || die
+}
+
+src_install() {
+ cd includects || die
+ dolib.so lib${PN}.so
+ cd .. || die
+ mv includects ${PN} || die
+ rm ${PN}/*.a || die
+ rm ${PN}/*.so || die
+ rm ${PN}/*.o || die
+ doheader -r ${PN}
+}
diff --git a/sci-physics/cuttools/files/cuttools-1.9.3-unbundle.patch b/sci-physics/cuttools/files/cuttools-1.9.3-unbundle.patch
new file mode 100644
index 000000000..e1fa1a9ea
--- /dev/null
+++ b/sci-physics/cuttools/files/cuttools-1.9.3-unbundle.patch
@@ -0,0 +1,13 @@
+--- a/makefile 2024-11-20 15:50:21.960336440 +0100
++++ b/makefile 2024-11-20 15:50:51.503676969 +0100
+@@ -51,10 +51,7 @@
+
+ $(BLD)/version.h:
+ -mkdir -p $(BLD)
+- cp -p ./src/avh/* $(BLD)/
+ cp -p ./src/cts/* $(BLD)/
+- cp -p ./src/mpfun90/* $(BLD)/
+- cp -p ./src/qcdloop/* $(BLD)/
+ cp -p ./src/makefile $(BLD)/
+
+ tar:
diff --git a/sci-physics/cuttools/metadata.xml b/sci-physics/cuttools/metadata.xml
index ceddefcf0..8a4566dbf 100644
--- a/sci-physics/cuttools/metadata.xml
+++ b/sci-physics/cuttools/metadata.xml
@@ -17,6 +17,7 @@
the 2-, 3-, and 4-point tensor coefficient functions.
</longdescription>
<use>
- <flag name="dummy">Add dummy module for OpenLoops</flag>
+ <flag name="dummy">Add dummy module for <pkg>sci-physics/openloops</pkg></flag>
+ <flag name="mpfun90">Use <pkg>sci-libs/mpfun90</pkg></flag>
</use>
</pkgmetadata>
diff --git a/sci-physics/decaylanguage/Manifest b/sci-physics/decaylanguage/Manifest
new file mode 100644
index 000000000..dbceca28a
--- /dev/null
+++ b/sci-physics/decaylanguage/Manifest
@@ -0,0 +1 @@
+DIST decaylanguage-0.18.5.tar.gz 407293 BLAKE2B 83b205ed892e500e63124b27882c1d7dff7974cf3f5f63586bfac4544a7609daff2d9a254fa4d5f9a25e0bc629a1148b62a0ab727fef19e28fd8ea4bf8eb20d8 SHA512 7c9d9e613d4a095dfaef9b856cd62b8d9f9827c75ddd756c0fda2cf0b4f0a9e0d88391d6c7f90488d63c11ba00bda5da001dd3a10385d05f05a04a13901ac08e
diff --git a/sci-physics/decaylanguage/decaylanguage-0.18.5.ebuild b/sci-physics/decaylanguage/decaylanguage-0.18.5.ebuild
new file mode 100644
index 000000000..1dc5173ca
--- /dev/null
+++ b/sci-physics/decaylanguage/decaylanguage-0.18.5.ebuild
@@ -0,0 +1,28 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="DecayLanguage: describe, manipulate and convert particle decays"
+HOMEPAGE="https://github.com/scikit-hep/decaylanguage"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+ >=dev-python/graphviz-0.12.0[${PYTHON_USEDEP}]
+ >=dev-python/lark-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.12[${PYTHON_USEDEP}]
+ >=dev-python/pandas-0.22[${PYTHON_USEDEP}]
+ >=sci-physics/particle-0.21.0[${PYTHON_USEDEP}]
+ >=sci-physics/hepunits-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/plumbum-1.7.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/decaylanguage/metadata.xml b/sci-physics/decaylanguage/metadata.xml
new file mode 100644
index 000000000..87babf086
--- /dev/null
+++ b/sci-physics/decaylanguage/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ DecayLanguage implements a language to describe and convert particle decays between digital representations, effectively making it possible to interoperate several fitting programs. Particular interest is given to programs dedicated to amplitude analyses.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">decaylanguage</remote-id>
+ <remote-id type="github">scikit-hep/decaylanguage</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/hepstats/Manifest b/sci-physics/hepstats/Manifest
new file mode 100644
index 000000000..7a8ff444f
--- /dev/null
+++ b/sci-physics/hepstats/Manifest
@@ -0,0 +1 @@
+DIST hepstats-0.8.1.tar.gz 16653688 BLAKE2B ae7eef481b0e0c2caf6b928b2bdd2c71ec78c6075c13d784ef0cb018ebaefea8f9b3fe42f38aad1453c237d479a5a1184981982d7216550c104a80ac3fd95f68 SHA512 70f922ad0d5bd7f9ef7fc8dff66714ef89c323c2b3176bd979a93ad84c1f9861272a1744467e10b6ed3e32307f732e50dadb13f221ffbc3c63cfc01436a6b159
diff --git a/sci-physics/hepstats/hepstats-0.8.1.ebuild b/sci-physics/hepstats/hepstats-0.8.1.ebuild
new file mode 100644
index 000000000..c14199882
--- /dev/null
+++ b/sci-physics/hepstats/hepstats-0.8.1.ebuild
@@ -0,0 +1,25 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Statistics tools and utilities."
+HOMEPAGE="
+ https://scikit-hep.org/hepstats/
+ https://github.com/scikit-hep/hepstats
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # needs zfit
+
+RDEPEND="
+ dev-python/asdf[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+ dev-python/tqdm[${PYTHON_USEDEP}]
+ dev-python/uhi[${PYTHON_USEDEP}]
+"
diff --git a/sci-physics/hepstats/metadata.xml b/sci-physics/hepstats/metadata.xml
new file mode 100644
index 000000000..5f10b261f
--- /dev/null
+++ b/sci-physics/hepstats/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ hepstats is a library for statistical inference aiming to cover the needs High Energy Physics. It is part of the Scikit-HEP project.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">hepstats</remote-id>
+ <remote-id type="github">scikit-hep/hepstats</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/hepunits/Manifest b/sci-physics/hepunits/Manifest
index 9b6a3c900..4bd461fd8 100644
--- a/sci-physics/hepunits/Manifest
+++ b/sci-physics/hepunits/Manifest
@@ -1,2 +1,3 @@
DIST hepunits-2.3.2.tar.gz 13327 BLAKE2B 16986f4cf96eb927e5ae7268dc2975957846678bff0569fc5d5b9d36bb5dae251905283a07e5fcdd895b20982e1e2d32bce5048752d654ca085286e89b65837f SHA512 48d0a4939e19fc6f26b3bb5f8515d8e0d9d4cbed172c14ae30609c2039bdb77625dad8e1e628178481ee0f203d7d36cd2e0d3306f3b344fe14cd68827c4d9477
DIST hepunits-2.3.3.tar.gz 13491 BLAKE2B ec212be4e53e7ea5aa195852ea6ad4f3aac8e3eb49676e6bef76d525be861ecd4480821b248d746950b45affccd31bf23d5232aee13058bb48ec8d76c4f70a14 SHA512 7a29dd6220c1fbe610f15ef66f02e499d7e2ade8c39827e3229ae74035d127ca7805b9e32c3859c5af4b001725d21514fd81f0408d7f0dc76e9ee34aa66191e8
+DIST hepunits-2.3.5.tar.gz 13537 BLAKE2B 57a2e06e5619d6ff90f6a29f11359aa36418c959ee336e40b21ad2ce054cbb381ed75da2f4f973439a0306e37a01481b65374c3e24a1b9ba24063e34c5b71aad SHA512 de63fd24a87ca52b74e46ee74638663a8d83ee352aaf7b8bf84710681c3753a741f30ceb683f0d042c6806fb6b48b92fc80c861195ba9685fe9d60784bf94882
diff --git a/sci-physics/hepunits/hepunits-2.3.5.ebuild b/sci-physics/hepunits/hepunits-2.3.5.ebuild
new file mode 100644
index 000000000..b2f76d1d1
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.5.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="units and constants in the HEP system of units"
+HOMEPAGE="https://github.com/scikit-hep/hepunits"
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/scikit-hep/hepunits"
+else
+ inherit pypi
+ KEYWORDS="~amd64"
+fi
+
+
+BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/mplhep-data/Manifest b/sci-physics/mplhep-data/Manifest
new file mode 100644
index 000000000..d9fcba67e
--- /dev/null
+++ b/sci-physics/mplhep-data/Manifest
@@ -0,0 +1 @@
+DIST mplhep_data-0.0.4.tar.gz 9128420 BLAKE2B f003e0fa551f2c491160d49e78fe07b8bd7411ddf180c9bb67c8f8d14db59ee44924e57fb1196257f22c25bc65d271ed35befee7f2c5c75417b226938179b2e6 SHA512 959f30c196e23b9fee0922343e121b07b4783c431d4179e14eb606a5615e3e0a773c718f6760480c2397ae39c72f1284a7e8ec74fe96146e2d63d310b1d5110c
diff --git a/sci-physics/mplhep-data/metadata.xml b/sci-physics/mplhep-data/metadata.xml
new file mode 100644
index 000000000..8f6639407
--- /dev/null
+++ b/sci-physics/mplhep-data/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ Sub-package to hold data (fonts) for the package mplhep.
+ Fonts distributed in this package have open licenses and can be redistributed.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">mplhep-data</remote-id>
+ <remote-id type="github">scikit-hep/mplhep_data</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/mplhep-data/mplhep-data-0.0.4.ebuild b/sci-physics/mplhep-data/mplhep-data-0.0.4.ebuild
new file mode 100644
index 000000000..bc1f3bcb5
--- /dev/null
+++ b/sci-physics/mplhep-data/mplhep-data-0.0.4.ebuild
@@ -0,0 +1,17 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Data/font package for mplhep."
+HOMEPAGE="
+ https://mplhep.readthedocs.io
+ https://github.com/scikit-hep/mplhep_data
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/mplhep/Manifest b/sci-physics/mplhep/Manifest
new file mode 100644
index 000000000..3c168c854
--- /dev/null
+++ b/sci-physics/mplhep/Manifest
@@ -0,0 +1 @@
+DIST mplhep-0.3.55.tar.gz 1540698 BLAKE2B 67dfb17fb64cfb3bc5e22429efd80f232b7e819c2df88d323f6b22f42275ea1ef7ca562773107dd311c523d336bfa97548dc0ca29a0d01d8e644f2751db8425b SHA512 64b08564e39c7972d49a155b786691b614fa23e8c371df0ea5137a6edc6532e10fdcd35b94bc2bdc0ce22091bd2e4ba4c284d35d5b5bd9015c219c63aa9829fc
diff --git a/sci-physics/mplhep/metadata.xml b/sci-physics/mplhep/metadata.xml
new file mode 100644
index 000000000..e8b27c898
--- /dev/null
+++ b/sci-physics/mplhep/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ A set of helpers for matplotlib to more easily produce plots typically needed in HEP as well as style them in way that's compatible with current collaboration requirements (ROOT-like plots for CMS, ATLAS, LHCb, ALICE).
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">mplhep</remote-id>
+ <remote-id type="github">scikit-hep/mplhep</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/mplhep/mplhep-0.3.55.ebuild b/sci-physics/mplhep/mplhep-0.3.55.ebuild
new file mode 100644
index 000000000..ed147722d
--- /dev/null
+++ b/sci-physics/mplhep/mplhep-0.3.55.ebuild
@@ -0,0 +1,47 @@
+EAPI=8
+
+# wait for pytest-mpl before adding 3_13
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Histogram plots using matplotlib and HEP compatible styling ROOT."
+HOMEPAGE="
+ https://mplhep.readthedocs.io
+ https://github.com/scikit-hep/mplhep
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/matplotlib-3.4[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}]
+ sci-physics/mplhep-data[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ >=dev-python/uhi-0.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ dev-python/boost-histogram[${PYTHON_USEDEP}]
+ dev-python/hist[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytest-mpl[${PYTHON_USEDEP}]
+ >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
+ sci-physics/scikit-hep-testdata[${PYTHON_USEDEP}]
+ >=dev-python/scipy-1.1.0[${PYTHON_USEDEP}]
+ sci-physics/uproot[${PYTHON_USEDEP}]
+ )
+"
+
+# we do not want to care about old uproot4
+EPYTEST_DESELECT=(
+ 'tests/test_inputs.py::test_inputs_uproot'
+ 'tests/test_inputs.py::test_uproot_versions[png]'
+ 'tests/test_inputs.py::test_uproot_versions[pdf]'
+ 'tests/test_inputs.py::test_uproot_versions[svg]'
+)
+
+distutils_enable_tests pytest
diff --git a/sci-physics/oneloop/Manifest b/sci-physics/oneloop/Manifest
index baeb504b0..a3069fc1f 100644
--- a/sci-physics/oneloop/Manifest
+++ b/sci-physics/oneloop/Manifest
@@ -1,2 +1,3 @@
DIST OneLOop-3.6.tgz 111734 BLAKE2B 61e1638b17ec356c29d40c2af187464d5499b9172c2858fc47486bd527f0f47e90eba4d836697176a1ecbb01b7344d774bc595c722a92abede143b3df90067d9 SHA512 979981ad5ecdf1f71424c7b8a8d12c7d30aa140c62295a4452d3e5c0e260d42b431c12efcc0d7f0ab55ee2f9af08d4ab204ada5860f65343b24552cbdd3f3cd2
DIST oneloop-3.6_p20200731.zip 166257 BLAKE2B 7869806c6e70388311b62ae1ad15b35292c81d5d87ff7f24ad53bb8e562631664545f36e3e32d6f31a39ca9489d7da64284ad10ed988cb7c4375626121d0a84f SHA512 eee46cfe60b1d887cb40033e63d7a04ca24b329692e443d28ecb9f070182d5c56ea5bbaefd2ae21b2776d907ea280ebf81cae0c332391e7e7e7d5e3be3084220
+DIST oneloop-3.7.2.zip 707724 BLAKE2B c73ac11a3aa79d5b17bce6e412a7cf8c699f2b057e4aef7493264964ee0ff7239226ec2261ce36743e33adfb58a6a4ffd4b2bab2e5d8e6703ddae1da166671bd SHA512 862e8d75593568e2f156530a0b956093d0bc8d83c40e3f291e10d8e080c9240eee77f9c6ac4ec721738fc1f9ca19d40f7cbd4b685048d6a37f9c35ed8e35ac65
diff --git a/sci-physics/oneloop/files/oneloop-3.6_p20200731-mpfun90.patch b/sci-physics/oneloop/files/oneloop-3.6_p20200731-mpfun90.patch
new file mode 100644
index 000000000..2ec32afbd
--- /dev/null
+++ b/sci-physics/oneloop/files/oneloop-3.6_p20200731-mpfun90.patch
@@ -0,0 +1,14 @@
+--- a/src/avh_olo_boxc.f90 2024-11-21 17:54:03.444134677 +0100
++++ b/src/avh_olo_boxc.f90 2024-11-21 17:55:47.760664651 +0100
+@@ -179,9 +179,9 @@
+ aptmp(3) = areal((pp(5)-pp(3)-pp(4))**2-4*pp(3)*pp(4))
+ aptmp(4) = areal((pp(6)-pp(4)-pp(1))**2-4*pp(4)*pp(1))
+ icase = sort_4(aptmp)
+- if (all(aptmp.ge.rZRO)) then
++ if ((aptmp(1).ge.rZRO) .and. (aptmp(2).ge.rZRO) .and. (aptmp(3).ge.rZRO) .and. (aptmp(4).ge.rZRO) ) then
+ icase = prmB(icase)
+- elseif (all(aptmp.le.rZRO)) then
++ elseif ((aptmp(1).le.rZRO) .and. (aptmp(2).le.rZRO) .and.(aptmp(3).le.rZRO) .and.(aptmp(4).le.rZRO) ) then
+ errorcode = errorcode+1
+ if (eunit.ge.0) write(eunit,*) 'ERROR in OneLOop boxc: ' &
+ ,'no positive lambda, returning 0'
diff --git a/sci-physics/oneloop/oneloop-3.6_p20200731.ebuild b/sci-physics/oneloop/oneloop-3.6_p20200731.ebuild
index e25833759..b022ed653 100644
--- a/sci-physics/oneloop/oneloop-3.6_p20200731.ebuild
+++ b/sci-physics/oneloop/oneloop-3.6_p20200731.ebuild
@@ -27,9 +27,9 @@ REQUIRED_USE="
"
DEPEND="
- qpkind? ( sci-libs/qd )
- qpkind16? ( sci-libs/qd )
- arprec? ( sci-libs/arprec )
+ qpkind? ( sci-libs/qd[fortran] )
+ qpkind16? ( sci-libs/qd[fortran] )
+ arprec? ( sci-libs/arprec[fortran] )
mpfun90? ( sci-libs/mpfun90 )
"
RDEPEND="${DEPEND}"
@@ -38,6 +38,10 @@ BDEPEND="
app-arch/unzip
"
+PATCHES=(
+ "${FILESDIR}"/${P}-mpfun90.patch
+)
+
src_configure() {
tc-export FC
# set fortran
@@ -92,7 +96,7 @@ src_compile() {
${EPYTHON} ./create.py source || die "Failed to compile"
# create.py does not use soname, so we do it ourself
#./create.py dynamic || die
- ${FC} -O -fPIC -c avh_olo.f90 -o avh_olo.o || die
+ ${FC} ${FFLAGS} -O -fPIC -I"${ESYSROOT}"/usr/include -I"${ESYSROOT}"/usr/include/qd -c avh_olo.f90 -o avh_olo.o || die
${FC} ${LDFLAGS} -Wl,-soname,libavh_olo.so -shared -o libavh_olo.so *.o || die
}
diff --git a/sci-physics/oneloop/oneloop-3.7.2.ebuild b/sci-physics/oneloop/oneloop-3.7.2.ebuild
new file mode 100644
index 000000000..0edbfc935
--- /dev/null
+++ b/sci-physics/oneloop/oneloop-3.7.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# python only needed for create.py to get binaries
+PYTHON_COMPAT=( python3_{10..12} )
+inherit fortran-2 python-any-r1 toolchain-funcs
+
+DESCRIPTION="Library of one-loop scalar functions"
+HOMEPAGE="
+ https://helac-phegas.web.cern.ch/OneLOop.html
+ https://bitbucket.org/hameren/oneloop
+"
+SRC_URI="https://bitbucket.org/hameren/oneloop/get/v${PV}.zip -> ${P}.zip"
+S="${WORKDIR}/hameren-oneloop-4b012d009f22" # bitbucket treats download by tag like sha
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+dpkind +qpkind qpkind16 dpkind16 qdcpp ddcpp mpfun90 arprec tlevel cppintf"
+REQUIRED_USE="
+ ?? ( dpkind dpkind16 ddcpp )
+ ?? ( qpkind qpkind16 qdcpp )
+ ?? ( arprec mpfun90 )
+ || ( dpkind dpkind16 ddcpp qpkind qpkind16 qdcpp )
+"
+
+DEPEND="
+ qpkind? ( sci-libs/qd[fortran] )
+ qpkind16? ( sci-libs/qd[fortran] )
+ arprec? ( sci-libs/arprec[fortran] )
+ mpfun90? ( sci-libs/mpfun90 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/unzip
+"
+
+src_configure() {
+ tc-export FC
+ # set fortran
+ sed -i "/FC = /s/gfortran/${FC}/g" Config || die
+ sed -i "/FFLAGS = /s/ -O/${FFLAGS} -fPIC/g" Config || die
+ # Clear config
+ sed -i "s/^DPKIND.*$//g" Config || die
+ sed -i "s/^QPKIND.*$//g" Config || die
+
+ if use dpkind ; then
+ echo "DPKIND = kind(1d0)" >> Config || die
+ fi
+ if use qpkind ; then
+ echo "QPKIND = kind(1d0)" >> Config || die
+ fi
+ if use dpkind16 ; then
+ echo "DPKIND = 16" >> Config || die
+ fi
+ if use qpkind16 ; then
+ echo "QPKIND = 16" >> Config || die
+ fi
+
+ if use qdcpp ; then
+ echo "QDTYPE = qdcpp" >> Config || die
+ fi
+ if use ddcpp ; then
+ echo "DDTYPE = qdcpp" >> Config || die
+ fi
+
+ if use mpfun90 ; then
+ echo "MPTYPE = mpfun90" >> Config || die
+ fi
+ if use arprec ; then
+ echo "MPTYPE = arprec" >> Config || die
+ fi
+
+ if use tlevel ; then
+ sed -i "s/^.*TLEVEL.*$/TLEVEL = yes/" Config || die
+ else
+ sed -i "s/^.*TLEVEL.*$/TLEVEL = no/" Config || die
+ fi
+ if use cppintf ; then
+ sed -i "s/^.*CPPINTF.*$/CPPINTF = yes/" Config || die
+ else
+ sed -i "s/^.*CPPINTF.*$/CPPINTF = no/" Config || die
+ fi
+}
+
+src_compile() {
+ tc-export FC
+ #emake -f make_cuttools
+ ${EPYTHON} ./create.py source || die "Failed to compile"
+ # create.py does not use soname, so we do it ourself
+ #./create.py dynamic || die
+ ${FC} ${FFLAGS} -O -fPIC -I"${ESYSROOT}"/usr/include -I"${ESYSROOT}"/usr/include/qd -c avh_olo.f90 -o avh_olo.o || die
+ ${FC} ${LDFLAGS} -Wl,-soname,libavh_olo.so -shared -o libavh_olo.so *.o || die
+}
+
+src_install() {
+ #dolib.a libavh_olo.a
+ dolib.so libavh_olo.so
+ doheader *.mod
+ dosym libavh_olo.so /usr/$(get_libdir)/liboneloop.so
+}
diff --git a/sci-physics/particle/Manifest b/sci-physics/particle/Manifest
index 2f92c548b..6d914f4f9 100644
--- a/sci-physics/particle/Manifest
+++ b/sci-physics/particle/Manifest
@@ -1,3 +1,4 @@
DIST particle-0.23.0.tar.gz 313512 BLAKE2B 33a0dc1cf612af8242b5080d0862f3b1e587254b46fa90f235cd6edba3919594c5077733600dfe88ad0959be889271c301324789abf0511a7fbe588942086877 SHA512 582c42beade0b28f28f3ee9f83f6d8cc75558f8a9aa5fbe3679c7aa68af40bd04f374741211d6f214bb828c24a017a89b541f780739a36d61d85a2fd5e00b530
DIST particle-0.23.1.tar.gz 313729 BLAKE2B fc35163955e065b350dfa0825612a64214baeb1f5be41404af259136e6689e23419891513c059ccdfbe2cbf5891596fccd0b0b7f283031bb3352600b5be43441 SHA512 1b4f4516357fd9725d9d5b0a481467896e93e23a8956b2ce321b9cac1d200a8ee8dd9cc1b22d940b4708f29abe3417988677ac685b78287abe10afafa79fb381
DIST particle-0.24.0.tar.gz 314302 BLAKE2B bbb2d52a80b4d9aafaf86a3cc1b28106253bf0edfe5a6127c03242a32973feaefeb32562063e5ff0438f5df946a905d03baa36c445093ce185d3be71c10e5135 SHA512 5a73079d9120ab509162189ba5992c615fc00e00d37a6556338130739bbf53fd5db01e973cb1b509ef7ce569021c0462ac77e5fcafe40df31e5cef0a89923a2a
+DIST particle-0.25.2.tar.gz 316882 BLAKE2B def3a11f7396d211ce312473661c25c4ef75b2c7cc5f4394f8ac3c6551674db3ac7308e083401ad29c31d34073e8491da0b6daf26a553a9c64c5757c93c8ac02 SHA512 6ada0742baa82dd85adaf6b281f2573bd6fdaacff655588cec75a6e39a02d3720cb012623690745f2c1a2631da5f54b3882f3461aadd3fd5621f9e15af98807d
diff --git a/sci-physics/particle/particle-0.25.2.ebuild b/sci-physics/particle/particle-0.25.2.ebuild
new file mode 100644
index 000000000..e5e49ea91
--- /dev/null
+++ b/sci-physics/particle/particle-0.25.2.ebuild
@@ -0,0 +1,48 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="PDG particle data and identification codes"
+HOMEPAGE="https://github.com/scikit-hep/particle"
+
+LICENSE="BSD"
+SLOT="0"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/scikit-hep/particle"
+else
+ inherit pypi
+ KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+ >=sci-physics/hepunits-2.0.0[${PYTHON_USEDEP}]
+ dev-python/deprecated[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}]
+ ' python3_{11..12})
+
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pandas[${PYTHON_USEDEP}]
+ >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+ dev-python/tabulate[${PYTHON_USEDEP}]
+ )
+"
+distutils_enable_tests pytest
+
+src_prepare() {
+ default
+
+ sed -i -e 's:--benchmark-disable::' pyproject.toml || die
+}
+
+python_test() {
+ epytest --ignore tests/particle/test_performance.py
+}
diff --git a/sci-physics/particle/particle-9999.ebuild b/sci-physics/particle/particle-9999.ebuild
index 43f1e67ca..e5e49ea91 100644
--- a/sci-physics/particle/particle-9999.ebuild
+++ b/sci-physics/particle/particle-9999.ebuild
@@ -1,6 +1,6 @@
EAPI=8
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1
@@ -22,12 +22,16 @@ RDEPEND="
>=dev-python/attrs-19.2[${PYTHON_USEDEP}]
>=sci-physics/hepunits-2.0.0[${PYTHON_USEDEP}]
dev-python/deprecated[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}]
+ ' python3_{11..12})
+
"
-DEPEND="${RDEPEND}"
BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
- >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
+ >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
)
"
diff --git a/sci-physics/pylhe/Manifest b/sci-physics/pylhe/Manifest
index 11dbc6d26..cc103d71e 100644
--- a/sci-physics/pylhe/Manifest
+++ b/sci-physics/pylhe/Manifest
@@ -1,2 +1,3 @@
DIST pylhe-0.7.0.gh.tar.gz 140203 BLAKE2B 6c167b37bb6c978752de79586e4f655169b5134c6cd7637807e649323ebaca50d8a360b1ca32eeff2cc162efe5e13d7de92f72d5a9263a7b2c48a5b87b7b919c SHA512 1a338ab4e1c5dd1d8d80e4a03ad84eb59f19ebb151a4b1393b68ee6ecade920c88db6cb940d56bd1f238e833f59b266507ab678124ea49b4086fe05b7f9baa88
DIST pylhe-0.8.0.gh.tar.gz 144541 BLAKE2B 5c6a6511acd1adefad6bf3769fdb5ac2a528a8cc939bb1209d7fd4dc31eef9060d129c330b34e3cfc7b640c9b82f68f043e4604f3a535865240ceda0a33dd691 SHA512 6fc3c525cbb5f2ebe8678d1e03940fde8bdc837f1da6a667c70069584de476ea73c72e817cc84637e018ca7cf21e8bb0f7b2721fe54ef78a9b0eee7900ec400e
+DIST pylhe-0.9.0.gh.tar.gz 146969 BLAKE2B 09d1395bfb1b802e8e9bdac2aef91757a54ae4a921d90be27604846b990a2fd68341a17acf113f53347f208773e57572b13490750d47f633abf95668e190cef1 SHA512 3adebbdfee40d25dc6e17d9c058375e0741474f54afd120219c12d2b04c84536202e95af70c5dc56335c424303b51cd449fdf832af5434e3ec2ce6b14abee36b
diff --git a/sci-physics/pylhe/pylhe-0.9.0.ebuild b/sci-physics/pylhe/pylhe-0.9.0.ebuild
new file mode 100644
index 000000000..7f52fa1d9
--- /dev/null
+++ b/sci-physics/pylhe/pylhe-0.9.0.ebuild
@@ -0,0 +1,34 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Lightweight Python interface to read Les Houches Event (LHE) files"
+HOMEPAGE="https://github.com/scikit-hep/pylhe"
+# pypi does not include tests
+SRC_URI="https://github.com/scikit-hep/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+# export is needed here!
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/graphviz-0.12.0[${PYTHON_USEDEP}]
+ >=sci-physics/particle-0.16[${PYTHON_USEDEP}]
+ >=dev-python/awkward-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/vector-0.8.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ >=sci-physics/scikit-hep-testdata-0.4.36[${PYTHON_USEDEP}]
+ )
+"
+PATCHES=(
+ "${FILESDIR}/${PN}"-0.7.0-coverage.patch
+)
+
+distutils_enable_tests pytest
diff --git a/sci-physics/qcdloop/Manifest b/sci-physics/qcdloop/Manifest
index 84ca31226..df26327e6 100644
--- a/sci-physics/qcdloop/Manifest
+++ b/sci-physics/qcdloop/Manifest
@@ -1,2 +1,2 @@
-DIST qcdloop-2.0.5.tar.gz 199141 BLAKE2B b16c193bd267b838535a572dd3b1cf50ac9af03b65347877b550bcbdcc9cfdd42f08e198732c513cff8298632ea65be82f2986701de75cee80cec2f9c30e3368 SHA512 9bfa3bad7a8c808b2db5eda32a755da4dadf67eba10845eb798d447fd47062bd40aa877929b60d95ec6b4e3b4a2cbba6384a3d1b13f92cfdec06e76177532c0f
+DIST qcdloop-2.0.11.tar.gz 215694 BLAKE2B 91d3729d06c6efb4a554c3f4f4936872e1e2545de4730c93ef177e7cf7439f0017f29e7fdf1f5e61125c65102cf275711b7a784b5b364cf6ecfb578f99b7abad SHA512 34f84f38ab4214297f168504e4758b0c862bbfe160d0ac4060dcdb692d3474f0f330949fa7d4e834d5eb8d05899111e4e8c41bea6c193a1887200498f6f4fb4f
DIST qcdloop-2.0.9.tar.gz 214697 BLAKE2B 19d426cc61b8a8f08fc56522b5a2d48c7fea7027225e1317c2e2908b8a87367ff69077bfe5508ee50ee585d8d0f68ae4c1fdad312b4cbc73ca4f3fd735fa94c9 SHA512 c8031dbee1c83d2bd0fcca0b1d94f18e7d07b77c247ca7a15cfec9bc402391e89036a64507c48e743eeecb3a19fe25d4e766ff13ede9f042d4d723adc8adb238
diff --git a/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch b/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch
new file mode 100644
index 000000000..86275d338
--- /dev/null
+++ b/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch
@@ -0,0 +1,21 @@
+From 2c316f000e83e56419709fe64b7627d4541ef5aa Mon Sep 17 00:00:00 2001
+From: Alexander Puck Neuwirth <APN-Pucky@users.noreply.github.com>
+Date: Fri, 15 Nov 2024 10:19:40 +0100
+Subject: [PATCH] Add one more QUADMATH lookup path
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b8820da..64bd4c3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,6 +75,7 @@ find_library(QUADMATH_LIBRARY
+ /usr/local/lib /usr/x86_64-linux-gnu/*
+ /usr/lib/gcc/x86_64-linux-gnu/*
+ /usr/lib/gcc/x86_64-redhat-linux/*
++ /usr/lib/gcc/x86_64-pc-linux-gnu/*
+ "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
+ )
+
diff --git a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild b/sci-physics/qcdloop/qcdloop-2.0.11.ebuild
index 672957c56..f30ea4e12 100644
--- a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
+++ b/sci-physics/qcdloop/qcdloop-2.0.11.ebuild
@@ -16,12 +16,29 @@ SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
- "${FILESDIR}"/${P}-cxx.patch
+ "${FILESDIR}"/${P}-quadmathpath.patch # https://github.com/scarrazza/qcdloop/pull/31
)
+src_prepare() {
+ cmake_src_prepare
+
+ # gentoo libdir love
+ sed -i \
+ -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
+ CMakeLists.txt || die
+ sed -i \
+ -e '/libdir.*/s/lib/lib${LIB_SUFFIX}/g' \
+ CMakeLists.txt || die
+
+ #sed -i \
+ # -e '/qcdloop/s/SHARED/STATIC/g' \
+ # CMakeLists.txt || die
+}
+
src_configure() {
local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="${ESYSROOT}/usr/$(get_libdir)"
+ -DCMAKE_INSTALL_PREFIX="${ESYSROOT}"/usr
+ -DENABLE_FORTRAN_WRAPPER=ON
)
cmake_src_configure
}
diff --git a/sci-physics/scikit-hep-testdata/Manifest b/sci-physics/scikit-hep-testdata/Manifest
index 1051bc85d..7a8a88f93 100644
--- a/sci-physics/scikit-hep-testdata/Manifest
+++ b/sci-physics/scikit-hep-testdata/Manifest
@@ -1 +1,2 @@
DIST scikit-hep-testdata-0.4.39.gh.tar.gz 340561478 BLAKE2B 9d0fc60c8bd9c11b5cd786389489b095a5498c7e08c744106d3bacd3f203f4b186f50a5e1ef6cbdcb23fc5d975807277cc25397ea8049e2acccbbc06c53f65d2 SHA512 fe31302178b8148b0486fe314a9d40c7a4318e53113878769484cc79dd55e5adb977357a175ffad887a205e1ea3e99a4f5be192581cca61554ba2187daad3bd2
+DIST scikit-hep-testdata-0.4.48.gh.tar.gz 340986304 BLAKE2B 84f4f5d0c3a883bc182f5c547b4a91e8efef478046d16c2199647e6a66b7e7888e06ee8dd8643eaeb05e6106849d0e5215ef450a28b1a4bb6840a7a07c3475f0 SHA512 328f78f501656a684a935ff196d9d184d6d8a9a215d77ac70afbeba33a4716834343569a3b4cea870a4c4ba300a7291a1a07322369b6f0f4f2a57acbd081a34e
diff --git a/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild
new file mode 100644
index 000000000..873bf6609
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.48.ebuild
@@ -0,0 +1,37 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="A package to provide example files for testing and developing packages against."
+HOMEPAGE="https://github.com/scikit-hep/scikit-hep-testdata"
+# pypi does not include the data nor tests
+SRC_URI="https://github.com/scikit-hep/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+# Fails without this
+S="${WORKDIR}/${P}"
+# export is needed here!
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+# otherwise we don't install the data
+export SKHEP_DATA=1
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_IGNORE=(
+ test_remote_files.py # we are net sandboxed
+)
+EPYTEST_DESELECT=(
+ tests/test_local_files.py::test_data_path_cached # https://github.com/scikit-hep/scikit-hep-testdata/issues/161
+)
+
+distutils_enable_tests pytest
diff --git a/sci-physics/sherpa/Manifest b/sci-physics/sherpa/Manifest
index 6913c06e1..f62adfe61 100644
--- a/sci-physics/sherpa/Manifest
+++ b/sci-physics/sherpa/Manifest
@@ -1 +1 @@
-DIST sherpa-v3.0.0beta1.tar.bz2 5836616 BLAKE2B 5347b6a83b80b148740c6fbf44c4d8f547a30eb85ba70ae4ad620cb3cca3f9d8255c45502969a83dca98d2825207a192ac3cae11dc3b914afdaaf9d65f2e6932 SHA512 9c34851193227a233c962b19cdff00302608d1695841d97de09d2bd40b84ccbd2a2a9f3c89e68e288bdf522e9b4c7fb8fc52032f199014898ac6bacbf628c8ce
+DIST sherpa-v3.0.1.tar.bz2 5506595 BLAKE2B 9ab272ee14145b028d8c65860394ab981b468d0fd1e0b0c236e1cb6aed668fa6c559dcb13d076d3ec345be25eef50f7e8b0367aff72aadc46904c4719ed378a5 SHA512 4ec1b5704b8b936252121ea52c6c385cef99c003aaff93f685b1ae822012eb633e26949779005546ae6d9b7aaf2f6f5e833f9ef84334598449c951d8aa65c9c5
diff --git a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild b/sci-physics/sherpa/sherpa-3.0.1.ebuild
index 79f0efccd..79f0efccd 100644
--- a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild
+++ b/sci-physics/sherpa/sherpa-3.0.1.ebuild
diff --git a/sci-physics/uproot/Manifest b/sci-physics/uproot/Manifest
index bb52077be..e8cdc29cf 100644
--- a/sci-physics/uproot/Manifest
+++ b/sci-physics/uproot/Manifest
@@ -1 +1,2 @@
DIST uproot-5.3.1.tar.gz 919910 BLAKE2B 6c138a56ecabb08905e1edde8c776c3dfae6cca3213bbc3546e7241979052178e1c9718c1fcf298573669bcc4c004806cd54ab16050405038f76f3ef356fb184 SHA512 2525f372caa3b25e3a11b170ce981ce253a7b9ca1fdb2c04b6bb1093b166d206a28e9bc22ffa19dead76870f521cee44a812cbf41a087b34fb9a3bc52c210733
+DIST uproot-5.4.1.tar.gz 935958 BLAKE2B bde5d0d5e2cef6ff35cdaea49656d2d30052a9b2f5d576e61e2df82c0a438c192db69aaffb89bd1acdb96df7aa925197ecf52ea6068bdb30d8819615b358cdfe SHA512 dc0b9b9859b7564b2027bb3f013a0fac07c665dcf32c84a3981e3fc27254598126a4bcbfb77863b419e461dec1a8c37c1e3bc181b894ea52fc141144469aedc0
diff --git a/sci-physics/uproot/uproot-5.4.1.ebuild b/sci-physics/uproot/uproot-5.4.1.ebuild
new file mode 100644
index 000000000..7d3b910d5
--- /dev/null
+++ b/sci-physics/uproot/uproot-5.4.1.ebuild
@@ -0,0 +1,30 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="ROOT I/O in pure Python and Numpy."
+HOMEPAGE="https://github.com/scikit-hep/uproot"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# way too many missing packages, isal, deflate, http servers etc
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/awkward-2.4.6[${PYTHON_USEDEP}]
+ >=dev-python/cramjam-2.5.0[${PYTHON_USEDEP}]
+ dev-python/xxhash[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/fsspec[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+# distutils_enable_tests pytest