aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/apfelxx/Manifest1
-rw-r--r--sci-physics/apfelxx/apfelxx-4.8.0.ebuild39
-rw-r--r--sci-physics/apfelxx/metadata.xml18
-rw-r--r--sci-physics/cernlib/Manifest1
-rw-r--r--sci-physics/cernlib/cernlib-2023.10.31.0.ebuild57
-rw-r--r--sci-physics/cernlib/files/cernlib-2023.10.31.0-cfortran.patch21
-rw-r--r--sci-physics/cernlib/files/cernlib-2023.10.31.0-ctest.patch31
-rw-r--r--sci-physics/cernlib/files/cernlib-2023.10.31.0-man.patch22
-rw-r--r--sci-physics/cernlib/metadata.xml21
-rw-r--r--sci-physics/collier/Manifest1
-rw-r--r--sci-physics/collier/collier-1.2.8.ebuild36
-rw-r--r--sci-physics/collier/files/collier-1.2.7-mod.patch40
-rw-r--r--sci-physics/collier/metadata.xml22
-rw-r--r--sci-physics/feynarts/Manifest1
-rw-r--r--sci-physics/feynarts/feynarts-3.11.ebuild29
-rw-r--r--sci-physics/feynarts/metadata.xml19
-rw-r--r--sci-physics/feyncalc/Manifest2
-rw-r--r--sci-physics/feyncalc/feyncalc-9.3.1.ebuild43
-rw-r--r--sci-physics/feyncalc/feyncalc-9999.ebuild47
-rw-r--r--sci-physics/feyncalc/metadata.xml25
-rw-r--r--sci-physics/formcalc/Manifest2
-rw-r--r--sci-physics/formcalc/files/formcalc-9.9-compile.patch50
-rw-r--r--sci-physics/formcalc/formcalc-9.10-r1.ebuild52
-rw-r--r--sci-physics/formcalc/formcalc-9.9-r1.ebuild54
-rw-r--r--sci-physics/formcalc/metadata.xml19
-rw-r--r--sci-physics/hepunits/Manifest2
-rw-r--r--sci-physics/hepunits/hepunits-2.3.2.ebuild23
-rw-r--r--sci-physics/hepunits/hepunits-2.3.3.ebuild25
-rw-r--r--sci-physics/hepunits/hepunits-9999.ebuild25
-rw-r--r--sci-physics/hepunits/metadata.xml19
-rw-r--r--sci-physics/hoppet/Manifest1
-rw-r--r--sci-physics/hoppet/hoppet-1.2.0.ebuild35
-rw-r--r--sci-physics/hoppet/metadata.xml19
-rw-r--r--sci-physics/lhapdf-sets/Manifest14
-rw-r--r--sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild70
-rw-r--r--sci-physics/lhapdf-sets/metadata.xml12
-rw-r--r--sci-physics/mcfm/Manifest1
-rw-r--r--sci-physics/mcfm/files/mcfm-10.2.1-rest.patch251
-rw-r--r--sci-physics/mcfm/mcfm-10.2.1.ebuild71
-rw-r--r--sci-physics/mcfm/metadata.xml15
-rw-r--r--sci-physics/oneloop/Manifest1
-rw-r--r--sci-physics/oneloop/files/oneloop-2020.07.31-config.patch11
-rw-r--r--sci-physics/oneloop/metadata.xml (renamed from sci-physics/quinoa/metadata.xml)4
-rw-r--r--sci-physics/oneloop/oneloop-2020.07.31.ebuild49
-rw-r--r--sci-physics/particle/Manifest2
-rw-r--r--sci-physics/particle/metadata.xml19
-rw-r--r--sci-physics/particle/particle-0.23.0.ebuild44
-rw-r--r--sci-physics/particle/particle-0.23.1.ebuild44
-rw-r--r--sci-physics/particle/particle-9999.ebuild44
-rw-r--r--sci-physics/pyhepmc/Manifest1
-rw-r--r--sci-physics/pyhepmc/metadata.xml19
-rw-r--r--sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild20
-rw-r--r--sci-physics/pyhf/Manifest1
-rw-r--r--sci-physics/pyhf/metadata.xml18
-rw-r--r--sci-physics/pyhf/pyhf-0.7.3.ebuild35
-rw-r--r--sci-physics/pylhe/Manifest2
-rw-r--r--sci-physics/pylhe/files/pylhe-0.7.0-coverage.patch8
-rw-r--r--sci-physics/pylhe/metadata.xml19
-rw-r--r--sci-physics/pylhe/pylhe-0.7.0.ebuild35
-rw-r--r--sci-physics/pylhe/pylhe-0.8.0.ebuild35
-rw-r--r--sci-physics/qcdloop/Manifest2
-rw-r--r--sci-physics/qcdloop/files/qcdloop-2.0.5-cxx.patch11
-rw-r--r--sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch11
-rw-r--r--sci-physics/qcdloop/metadata.xml18
-rw-r--r--sci-physics/qcdloop/qcdloop-2.0.5.ebuild33
-rw-r--r--sci-physics/qcdloop/qcdloop-2.0.9.ebuild50
-rw-r--r--sci-physics/qgraf/Manifest2
-rw-r--r--sci-physics/qgraf/metadata.xml15
-rw-r--r--sci-physics/qgraf/qgraf-3.6.5.ebuild36
-rw-r--r--sci-physics/qgraf/qgraf-3.6.6.ebuild32
-rw-r--r--sci-physics/quinoa/quinoa-9999.ebuild45
-rw-r--r--sci-physics/scikit-hep-testdata/Manifest1
-rw-r--r--sci-physics/scikit-hep-testdata/metadata.xml19
-rw-r--r--sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild30
-rw-r--r--sci-physics/spheno/Manifest2
-rw-r--r--sci-physics/spheno/files/spheno-3.3.8-gfortran.patch32
-rw-r--r--sci-physics/spheno/files/spheno-4.0.5-gfortran.patch29
-rw-r--r--sci-physics/spheno/metadata.xml19
-rw-r--r--sci-physics/spheno/spheno-3.3.8-r1.ebuild39
-rw-r--r--sci-physics/spheno/spheno-4.0.5.ebuild39
-rw-r--r--sci-physics/tauola/tauola-1.1.8.ebuild2
-rw-r--r--sci-physics/uproot/Manifest1
-rw-r--r--sci-physics/uproot/metadata.xml21
-rw-r--r--sci-physics/uproot/uproot-5.3.1.ebuild28
84 files changed, 2116 insertions, 48 deletions
diff --git a/sci-physics/apfelxx/Manifest b/sci-physics/apfelxx/Manifest
new file mode 100644
index 000000000..b461f2a76
--- /dev/null
+++ b/sci-physics/apfelxx/Manifest
@@ -0,0 +1 @@
+DIST apfelxx-4.8.0.tar.gz 21695802 BLAKE2B f28d28bafed79ec679fd44bbd3cba668b108668dceaffbc80091a022d1884121a9d2fb08e89ae439663765877aadb7c214b6196d2ea35ad8c25ba545ec3492ee SHA512 23fcde7262637cbe0ff0173a530d0e2d3f39a9daa8b8757e4769c41c4af72569b0e0b8ab59ad5a8dc08ec7718d40bd34abed66671d2116f4242d06b6c2e7c1cc
diff --git a/sci-physics/apfelxx/apfelxx-4.8.0.ebuild b/sci-physics/apfelxx/apfelxx-4.8.0.ebuild
new file mode 100644
index 000000000..d31224fa3
--- /dev/null
+++ b/sci-physics/apfelxx/apfelxx-4.8.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Object oriented rewriting of the APFEL evolution code"
+HOMEPAGE="https://github.com/vbertone/apfelxx"
+SRC_URI="https://github.com/vbertone/apfelxx/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RDEPEND="${PYTHON_DEPS}"
+
+src_prepare() {
+ default
+ cmake_src_prepare
+ sed -i "/prefix./s/\/lib/\/$(get_libdir)/g" CMakeLists.txt || die
+ sed -i "s#DESTINATION lib#DESTINATION $(get_libdir)#g" CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
+}
diff --git a/sci-physics/apfelxx/metadata.xml b/sci-physics/apfelxx/metadata.xml
new file mode 100644
index 000000000..27c6de8e1
--- /dev/null
+++ b/sci-physics/apfelxx/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ APFEL++ is a C++ rewriting of the Fortran 77 evolution code APFEL. However, APFEL++ is based on a completely new code design and guarantees a better performance along with a more optimal memory management. The new modular structure allows for better maintainability and easier extensibility. This makes APFEL++ suitable for a wide range of tasks: from the solution of the DGLAP evolution equations to the computation of deep-inelastic-scattering (DIS) and single-inclusive-annihilation cross sections. Also more complex computations, such as differential semi-inclusive DIS and Drell-Yan cross sections, are easily implementable in APFEL++.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">vbertone/apfelxx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/cernlib/Manifest b/sci-physics/cernlib/Manifest
new file mode 100644
index 000000000..36a5a1f78
--- /dev/null
+++ b/sci-physics/cernlib/Manifest
@@ -0,0 +1 @@
+DIST cernlib-2023.10.31.0-free.tar.gz 39191038 BLAKE2B 941592a65f0c8d7d0c6c3907c96d8209568579dac455ed28657a5635677d73e6580f48667a641a6ca9dd296bf82a40f6a75c5fc801fcefb7f8e9101b4dcd3202 SHA512 d015f89942bab695444d37847a8138c3a8736ceeb6f4826c659553bf1ae5eab2a77b2871645a125ea189e62520856955070fbb3ed2d208d35f82ee8b8559d089
diff --git a/sci-physics/cernlib/cernlib-2023.10.31.0.ebuild b/sci-physics/cernlib/cernlib-2023.10.31.0.ebuild
new file mode 100644
index 000000000..697a25ef0
--- /dev/null
+++ b/sci-physics/cernlib/cernlib-2023.10.31.0.ebuild
@@ -0,0 +1,57 @@
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake fortran-2
+
+DESCRIPTION="CERN program library for High Energy Physics"
+HOMEPAGE="https://cernlib.web.cern.ch/cernlib/"
+SRC_URI="https://cernlib.web.cern.ch/download/2023_source/tar/${P}-free.tar.gz"
+S="${WORKDIR}/${P}-free"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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}"/$P-cfortran.patch
+ "${FILESDIR}"/$P-ctest.patch
+ "${FILESDIR}"/$P-man.patch
+)
+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
+ 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/cernlib/files/cernlib-2023.10.31.0-cfortran.patch b/sci-physics/cernlib/files/cernlib-2023.10.31.0-cfortran.patch
new file mode 100644
index 000000000..b4426b3eb
--- /dev/null
+++ b/sci-physics/cernlib/files/cernlib-2023.10.31.0-cfortran.patch
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0b56fc85..ead47c54 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -735,7 +735,6 @@ add_subdirectory(code_motif)
+ ########################################################################
+ set(CERNLIB_MMAP 1)
+ install(FILES
+-${CMAKE_CURRENT_SOURCE_DIR}/cfortran/cfortran.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/cfortran/comis.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/cfortran/cspack.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/cfortran/geant315.h
+@@ -757,7 +756,7 @@ ${CMAKE_CURRENT_SOURCE_DIR}/cfortran/paw.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/cfortran/zebra.h
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ COMPONENT libs )
+
+-set(head cfortran.h comis.h cspack.h geant315.h geant321.h gen.h graflib.h hbook.h hbook_94b.h higz.h hplot.h jetset74.h kernlib.h kuip.h lapack.h lepto62.h minuit.h packlib.h paw.h zebra.h )
++set(head comis.h cspack.h geant315.h geant321.h gen.h graflib.h hbook.h hbook_94b.h higz.h hplot.h jetset74.h kernlib.h kuip.h lapack.h lepto62.h minuit.h packlib.h paw.h zebra.h )
+
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_INSTALL_INCLUDEDIR}/cfortran/)")
+ foreach ( m ${head} )
diff --git a/sci-physics/cernlib/files/cernlib-2023.10.31.0-ctest.patch b/sci-physics/cernlib/files/cernlib-2023.10.31.0-ctest.patch
new file mode 100644
index 000000000..b329bb900
--- /dev/null
+++ b/sci-physics/cernlib/files/cernlib-2023.10.31.0-ctest.patch
@@ -0,0 +1,31 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0b56fc85..78a28e11 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -162,9 +162,10 @@ macro(CLATestTarget ast)
+ list(FIND a "<" NEEDSHELL)
+ list(JOIN a " " MYCMD)
+ if (NEEDSHELL STREQUAL "-1")
+- add_test(NAME test${exec} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${exec} {MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
++ add_test(NAME test${exec} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${exec} ${MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+ if (CERNLIB_ENABLE_MEMORYTEST)
+- add_test(NAME memory_test${exec} COMMAND ${VG} ${VGOPTIONS} ${CMAKE_CURRENT_BINARY_DIR}/${exec} {MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
++ add_test(NAME memory_test${exec} COMMAND ${VG} ${VGOPTIONS}
++ ${CMAKE_CURRENT_BINARY_DIR}/${exec} ${MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+ endif()
+ else()
+ add_test(NAME test${exec} COMMAND sh -c "${CMAKE_CURRENT_BINARY_DIR}/${exec} ${MYCMD}" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+@@ -182,9 +183,11 @@ macro(CLBTestTarget ast)
+ list(JOIN a " " MYCMD)
+ if (NEEDSHELL STREQUAL "-1")
+ if (CERNLIB_ENABLE_MEMORYTEST)
+- add_test(NAME memory_test${exec} COMMAND ${VG} ${VGOPTIONS} ${CMAKE_CURRENT_BINARY_DIR}/${exec}/${exec} {MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${exec})
++ add_test(NAME memory_test${exec} COMMAND ${VG} ${VGOPTIONS}
++ ${CMAKE_CURRENT_BINARY_DIR}/${exec}/${exec} ${MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${exec})
+ endif()
+- add_test(NAME test${exec} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${exec}/${exec} {MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${exec})
++ add_test(NAME test${exec} COMMAND
++ ${CMAKE_CURRENT_BINARY_DIR}/${exec}/${exec} ${MYCMD} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${exec})
+ else()
+ if (CERNLIB_ENABLE_MEMORYTEST)
+ add_test(NAME memory_test${exec} COMMAND sh -c "${VG} ${VGOPTIONS} ${CMAKE_CURRENT_BINARY_DIR}/${exec}/${exec} ${MYCMD}" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${exec})
diff --git a/sci-physics/cernlib/files/cernlib-2023.10.31.0-man.patch b/sci-physics/cernlib/files/cernlib-2023.10.31.0-man.patch
new file mode 100644
index 000000000..636943899
--- /dev/null
+++ b/sci-physics/cernlib/files/cernlib-2023.10.31.0-man.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0b56fc85..0db67942 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -410,7 +413,7 @@ else()
+ COMMENT "GZipping to ${CMAKE_CURRENT_BINARY_DIR}/${m}.gz."
+ )
+ endif()
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${m}.gz DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man1)
++#install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${m}.gz DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man1)
+ endforeach ( m ${man1} )
+
+ foreach ( m ${man8} )
+@@ -425,7 +428,7 @@ else()
+ COMMENT "GZipping to ${CMAKE_CURRENT_BINARY_DIR}/${m}.gz."
+ )
+ endif()
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${m}.gz DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man8)
++#install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${m}.gz DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man8)
+ endforeach ( m ${man8} )
+
+ #install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/patchy5/yexpand.script DESTINATION ${CMAKE_INSTALL_BINDIR}/ RENAME yexpand.script${COMPSUFFIXBIN} )
diff --git a/sci-physics/cernlib/metadata.xml b/sci-physics/cernlib/metadata.xml
new file mode 100644
index 000000000..887c950bc
--- /dev/null
+++ b/sci-physics/cernlib/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ The CERN Program Library is a large collection of general purpose
+ libraries and modules maintained and offered in both source and
+ object code form on the CERN central computers. Most of these
+ programs were developed at CERN and are therefore oriented towards
+ the needs of a physics research laboratory that is general
+ mathematics, data analysis, detectors simulation, data-handling
+ etc... applicable to a wide range of problems.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-physics/collier/Manifest b/sci-physics/collier/Manifest
new file mode 100644
index 000000000..709444249
--- /dev/null
+++ b/sci-physics/collier/Manifest
@@ -0,0 +1 @@
+DIST collier-1.2.8.tar.gz 933258 BLAKE2B 9849ae140ed055a24010f020920f377a78665cb6f2c16ba060082c3573594a2f5772779b4a5596d306220b49ec2ffb7249705c0f05ea4eb22784518acb1038a0 SHA512 119b597da04dcd529efc35b5f96d2b2ad1f2f4403c3d0521a24b49fba973c5557378b68994ea6d30ca92057d32a30a6de299b2c707d56c231d197f33632297d9
diff --git a/sci-physics/collier/collier-1.2.8.ebuild b/sci-physics/collier/collier-1.2.8.ebuild
new file mode 100644
index 000000000..b50f9a279
--- /dev/null
+++ b/sci-physics/collier/collier-1.2.8.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit fortran-2 cmake
+
+MY_P=COLLIER-${PV}
+
+DESCRIPTION="A Complex One-Loop LIbrary with Extended Regularizations"
+HOMEPAGE="https://collier.hepforge.org/index.html"
+SRC_URI="https://collier.hepforge.org/downloads/?f=${P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="static-libs"
+BDEPEND="
+ virtual/fortran
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.2.7-mod.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -Dstatic=$(usex static-libs ON OFF)
+ -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
+ -DSYSCONFIG_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)/cmake/collier
+ )
+ cmake_src_configure
+}
diff --git a/sci-physics/collier/files/collier-1.2.7-mod.patch b/sci-physics/collier/files/collier-1.2.7-mod.patch
new file mode 100644
index 000000000..030900b5c
--- /dev/null
+++ b/sci-physics/collier/files/collier-1.2.7-mod.patch
@@ -0,0 +1,40 @@
+--- a/CMakeLists.txt 2023-05-08 17:21:39.559979698 +0200
++++ b/CMakeLists.txt 2023-05-08 17:43:20.599147534 +0200
+@@ -282,7 +282,36 @@
+ message("Collier install include prefix: ${INCLUDE_INSTALL_DIR}")
+ message("Collier install library prefix: ${LIB_INSTALL_DIR}")
+
+-set(COLLIER_HEADERS "${CMAKE_Fortran_MODULE_DIRECTORY}/collier.mod")
++set(COLLIER_HEADERS "${CMAKE_Fortran_MODULE_DIRECTORY}/collier.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/cache.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/buildtensors.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/coli_aux2.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/coli_stat.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/collier_aux.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/collier_coefs.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/collier_global.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/collier_init.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/collier.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/collier_tensors.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/combinatorics.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_2pt.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_3pt.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_4pt.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_5pt.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_6pt.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_global.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/dd_statistics.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/globalc.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/globald.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/inittensors.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/master.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/reductionab.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/reductionc.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/reductiond.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/reductionefg.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/reductiontn.mod"
++ "${CMAKE_Fortran_MODULE_DIRECTORY}/tensorreduction.mod"
++)
+ set_target_properties(collier PROPERTIES PUBLIC_HEADER "${COLLIER_HEADERS}")
+
+ include(PackageConfigInstall)
diff --git a/sci-physics/collier/metadata.xml b/sci-physics/collier/metadata.xml
new file mode 100644
index 000000000..f863d8237
--- /dev/null
+++ b/sci-physics/collier/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription>
+ A package for evaluation of scalar and tensor one-loop integrals
+ based on the FF package by G.J. van Oldenborgh.
+ It features an easy Fortran, C++, and Mathematica interface
+ to the scalar one-loop functions of FF and in addition provides
+ the 2-, 3-, and 4-point tensor coefficient functions.
+ </longdescription>
+ <use>
+ <flag name="static">Build static library</flag>
+ </use>
+</pkgmetadata>
diff --git a/sci-physics/feynarts/Manifest b/sci-physics/feynarts/Manifest
new file mode 100644
index 000000000..d66304b21
--- /dev/null
+++ b/sci-physics/feynarts/Manifest
@@ -0,0 +1 @@
+DIST FeynArts-3.11.tar.gz 3146405 BLAKE2B d22a19faecaa3a87ebf48b035736a04a6ae9b28e47300240edac541cb86438781092bf0a16d84808fb0256cf7547ba9d04024934007fa017cab08811d6b2b41b SHA512 2032172c86316b1703c0ff0c9cc511db0b97d6268bde30b6948ea98c5f2b39996071675d25aba4ed65af99f0c6535bce4e5eca8ca942be3591f922937c4aa79b
diff --git a/sci-physics/feynarts/feynarts-3.11.ebuild b/sci-physics/feynarts/feynarts-3.11.ebuild
new file mode 100644
index 000000000..ecf46b127
--- /dev/null
+++ b/sci-physics/feynarts/feynarts-3.11.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=FeynArts
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="FeynArts renders Feynman diagrams and generates their topologies."
+HOMEPAGE="https://feynarts.de"
+SRC_URI="https://feynarts.de/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ sci-mathematics/mathematica
+ "
+DEPEND="${RDEPEND}"
+
+src_install() {
+ MMADIR=/usr/share/Mathematica/Applications
+ dosym "${MY_P}" "${MMADIR}/${MY_PN}"
+ dodir "${MMADIR}/${MY_P}"
+ insinto ${MMADIR}
+ doins -r "${S}"
+}
diff --git a/sci-physics/feynarts/metadata.xml b/sci-physics/feynarts/metadata.xml
new file mode 100644
index 000000000..14606c162
--- /dev/null
+++ b/sci-physics/feynarts/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="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ FeynArts is a Mathematica package for the generation and visualization of Feynman diagrams and amplitudes.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-physics/feyncalc/Manifest b/sci-physics/feyncalc/Manifest
new file mode 100644
index 000000000..9514cfd33
--- /dev/null
+++ b/sci-physics/feyncalc/Manifest
@@ -0,0 +1,2 @@
+DIST FeynCalc-9.3.1.tar.gz 4296784 BLAKE2B bb9e2e17ee8c51ec9417f900982af494e44a19cad651065d769820756056d6accfa8955da1c03dcc054e32c8ca5a5b1974594e77f95cc0a8e7100919783d20ad SHA512 3e7f4e87920e26712008754498f2d7e3a5873f6adf3e7dbea1e98f7f0f9ff20e1e08941b959e18143d3f602aa3f0c1ac4c574f450bcd6d2e8ad68e775e95aeee
+DIST FeynCalc-9999.tar.gz 4298804 BLAKE2B a4b404aed41d510f32ddf5a242d0c6129174ace1eeb92a19c2cf6f9620f82b37f3b01709d063619567590d38d4506431b5d9af6fbf3fe1184c07c683c1f2d3b4 SHA512 30ef3f0249b9dd639e0d83767d1aaea272c6ce3083d0a36a96ced11c68bd4d9c499efcd95abb209d56cd8ae3142b925c6b723c541821c7856e4ac787c2c52e34
diff --git a/sci-physics/feyncalc/feyncalc-9.3.1.ebuild b/sci-physics/feyncalc/feyncalc-9.3.1.ebuild
new file mode 100644
index 000000000..2f54f878b
--- /dev/null
+++ b/sci-physics/feyncalc/feyncalc-9.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_rs 1-3 '_')
+MY_PN=FeynCalc
+
+DESCRIPTION="FeynCalc is a Mathematica package for computing Feynman diagrams."
+HOMEPAGE="https://feyncalc.github.io/"
+SLOT="0"
+SRC_URI="https://github.com/FeynCalc/feyncalc/archive/refs/tags/Release-${MY_PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/feyncalc-Release-${MY_PV}"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+IUSE="+FCtraditionalFormOutput"
+
+RDEPEND="
+ sci-mathematics/mathematica
+ "
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ mv "${MY_PN}/DocOutput" "${MY_PN}/Documentation" || die
+ if use FCtraditionalFormOutput; then
+ echo '$FCTraditionalFormOutput=True;' > "${MY_PN}/FCConfig.m" || die
+ fi
+}
+
+src_install() {
+ MMADIR=/usr/share/Mathematica/Applications
+ dodir "${MMADIR}/${MY_PN}"
+ insinto "${MMADIR}/"
+ doins -r "${S}/${MY_PN}"
+ # copy permissions
+ for f in $(find "${MY_PN}/*" ! -type l); do
+ fperms --reference="${S}/$f" "${MMADIR}/$f"
+ done
+ # documentation are notebook(.nb) files
+ dodoc -r ${MY_PN}/Documentation/English/*
+ docompress -x /usr/share/doc/${PF}/
+}
diff --git a/sci-physics/feyncalc/feyncalc-9999.ebuild b/sci-physics/feyncalc/feyncalc-9999.ebuild
new file mode 100644
index 000000000..1c26d976e
--- /dev/null
+++ b/sci-physics/feyncalc/feyncalc-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_rs 1-3 '_')
+MY_PN=FeynCalc
+
+DESCRIPTION="FeynCalc is a Mathematica package for computing Feynman diagrams."
+HOMEPAGE="https://feyncalc.github.io/"
+SLOT="0"
+SRC_URI="https://github.com/FeynCalc/feyncalc/archive/hotfix-stable.tar.gz -> ${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/feyncalc-hotfix-stable"
+
+LICENSE="GPL-3+"
+IUSE="+FCtraditionalFormOutput"
+REQUIRED_USE=""
+PROPERTIES+=" live"
+
+RDEPEND="
+ sci-mathematics/mathematica
+ "
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ mv "${MY_PN}/DocOutput" "${MY_PN}/Documentation" || die
+ if use FCtraditionalFormOutput; then
+ echo '$FCTraditionalFormOutput=True;' > "${MY_PN}/FCConfig.m" || die
+ fi
+}
+
+src_install() {
+ MMADIR=/usr/share/Mathematica/Applications
+ dodir "${MMADIR}/${MY_PN}"
+ insinto "${MMADIR}/"
+ doins -r "${S}/${MY_PN}"
+ # copy permissions
+ for f in $(find "${MY_PN}/*" ! -type l); do
+ fperms --reference="${S}/$f" "${MMADIR}/$f"
+ done
+ # documentation are notebook(.nb) files
+ dodoc -r ${MY_PN}/Documentation/English/*
+ docompress -x /usr/share/doc/${PF}/
+}
diff --git a/sci-physics/feyncalc/metadata.xml b/sci-physics/feyncalc/metadata.xml
new file mode 100644
index 000000000..826061ef4
--- /dev/null
+++ b/sci-physics/feyncalc/metadata.xml
@@ -0,0 +1,25 @@
+<?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="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ FeynCalc is a Mathematica package for symbolic evaluation of Feynman diagrams and algebraic calculations in quantum field theory and elementary particle physics.
+ </longdescription>
+ <use>
+ <flag name="FCtraditionalFormOutput">Use TraditionalForm typesetting.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">FeynCalc/feyncalc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/formcalc/Manifest b/sci-physics/formcalc/Manifest
new file mode 100644
index 000000000..6ac4c74b1
--- /dev/null
+++ b/sci-physics/formcalc/Manifest
@@ -0,0 +1,2 @@
+DIST FormCalc-9.10.tar.gz 32070519 BLAKE2B e789d7eea0cc92f27033373fd6516e94ec66d1780ae7bb1254537fa508640436a4595dbf09594a2cad8b4178d1e950806089ae4584bff0f2848674325a734212 SHA512 30519fcd6a9e616f6bfa23825056afdc27111605ca66e35f6baebac5bcb7ff43e07c7d40ed90157c584be82392fc85a32b769e637a793817377a8ffc5601af6d
+DIST FormCalc-9.9.tar.gz 32059045 BLAKE2B 69e3d063bf746d86d02f63d3a1fdce314582b190bafc66d063a6f25575476fcb6b60121b9133f850ffd5d173e437b160a2661072051083b3f4affc48fcb4bda7 SHA512 9661a07fac13348de13ec09dc8f043df02ef9a5391be64217d432e04d4d82ad3dea94f43951f839fbe8947338bc0ab721a9a9ebdc0900979e16ea89d857c87c7
diff --git a/sci-physics/formcalc/files/formcalc-9.9-compile.patch b/sci-physics/formcalc/files/formcalc-9.9-compile.patch
new file mode 100644
index 000000000..48be7f06e
--- /dev/null
+++ b/sci-physics/formcalc/files/formcalc-9.9-compile.patch
@@ -0,0 +1,50 @@
+--- a/compile 2022-07-20 14:51:59.605328833 +0200
++++ b/compile 2022-07-20 15:37:09.122446647 +0200
+@@ -96,7 +96,7 @@
+
+ mcc="REALCC=\"$CC\" CC=\"$t/fcc\" \
+ REALCXX=\"$CXX\" CXX=\"$t/f++\" \
+-PATH=\""'$$PATH'":$t\" $MCC -st $MCFLAGS $CFLAGS"
++PATH=\""'$$PATH'":$t\" $MCC -st -g $MCFLAGS $CFLAGS"
+
+ # Mma 5.1's mcc needs -lpthread for static linking
+ mclibs="-lpthread"
+@@ -104,37 +104,28 @@
+ cc="$CC $CFLAGS"
+
+ make -f - << _EOF_ || exit 1
+-all: $DEST/tform$exe \
++all: \
+ $DEST/ReadForm$exe $DEST/ToForm$exe \
+ $DEST/ToFortran$exe $DEST/ToC$exe \
+ $DEST/ReadData$exe $DEST/reorder$exe
+
+-$DEST/tform$exe: $SRC/bin/$BIN/tform$exe
+- cp -p $SRC/bin/$BIN/* $DEST/
+-
+ $DEST/ReadForm$exe: $SRC/FormCalc/ReadForm.tm
+ $mcc -o $DEST/ReadForm$exe $SRC/FormCalc/ReadForm.tm $mclibs
+- -strip $DEST/ReadForm$exe
+
+ $DEST/ToForm$exe: $SRC/FormCalc/ToForm.c
+ $cc -o $DEST/ToForm$exe $SRC/FormCalc/ToForm.c
+- -strip $DEST/ToForm$exe
+
+ $DEST/ToFortran$exe: $SRC/FormCalc/ToFortran.c
+ $cc -o $DEST/ToFortran$exe $SRC/FormCalc/ToFortran.c
+- -strip $DEST/ToFortran$exe
+
+ $DEST/ToC$exe: $SRC/FormCalc/ToC.c
+ $cc -o $DEST/ToC$exe $SRC/FormCalc/ToC.c
+- -strip $DEST/ToC$exe
+
+ $DEST/ReadData$exe: $SRC/tools/ReadData.tm
+ $mcc -o $DEST/ReadData$exe $SRC/tools/ReadData.tm $mclibs
+- -strip $DEST/ReadData$exe
+
+ $DEST/reorder$exe: $SRC/tools/reorder.c
+ $cc -o $DEST/reorder$exe $SRC/tools/reorder.c
+- -strip $DEST/reorder$exe
+ _EOF_
+
+
diff --git a/sci-physics/formcalc/formcalc-9.10-r1.ebuild b/sci-physics/formcalc/formcalc-9.10-r1.ebuild
new file mode 100644
index 000000000..6cee48279
--- /dev/null
+++ b/sci-physics/formcalc/formcalc-9.10-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=FormCalc
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="FormCalc can be used for automatic Feynman diagram computation."
+HOMEPAGE="https://feynarts.de/formcalc"
+SRC_URI="https://feynarts.de/formcalc/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ sci-mathematics/mathematica
+ sci-mathematics/form[threads]
+ "
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sci-mathematics/mathematica
+ sci-mathematics/form
+ "
+PATCHES=( "${FILESDIR}"/${PN}-9.9-compile.patch )
+
+src_compile() {
+ # remove shipped binaries
+ rm bin/Linux-x86-64/* || die
+ rm bin/Linux-x86-64-kernel2.6/* || die
+ export DEST=Linux-x86-64
+ ./compile ${LDFLAGS} || die
+}
+
+src_install() {
+ MMADIR=/usr/share/Mathematica/Applications
+ dosym ${MY_P} ${MMADIR}/${MY_PN}
+ dodir ${MMADIR}/${MY_P}
+ insinto ${MMADIR}
+ doins -r "${S}"
+ # Copy executable, etc. permissions
+ for f in $(find * ! -type l); do
+ fperms --reference="${S}/$f" ${MMADIR}/${MY_P}/$f
+ done
+ # switch to system form
+ dosym `command -v form` ${MMADIR}/${MY_P}/Linux-x86-64/form
+ dosym `command -v tform` ${MMADIR}/${MY_P}/Linux-x86-64/tform
+
+ dodoc manual/*.pdf
+}
diff --git a/sci-physics/formcalc/formcalc-9.9-r1.ebuild b/sci-physics/formcalc/formcalc-9.9-r1.ebuild
new file mode 100644
index 000000000..a5cd57431
--- /dev/null
+++ b/sci-physics/formcalc/formcalc-9.9-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=FormCalc
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="FormCalc can be used for automatic Feynman diagram computation."
+HOMEPAGE="https://feynarts.de/formcalc"
+SRC_URI="https://feynarts.de/formcalc/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ sci-mathematics/mathematica
+ sci-mathematics/form[threads]
+ "
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sci-mathematics/mathematica
+ sci-mathematics/form
+ "
+
+PATCHES=( "${FILESDIR}"/${P}-compile.patch )
+
+src_compile() {
+ # remove shipped binaries
+ rm bin/Linux-x86-64/* || die
+ rm bin/Linux-x86-64-old/* || die
+
+ export DEST=Linux-x86-64
+ ./compile ${LDFLAGS} || die
+}
+
+src_install() {
+ MMADIR=/usr/share/Mathematica/Applications
+ dosym ${MY_P} ${MMADIR}/${MY_PN}
+ dodir ${MMADIR}/${MY_P}
+ insinto ${MMADIR}
+ doins -r "${S}"
+ # Copy executable, etc. permissions
+ for f in $(find * ! -type l); do
+ fperms --reference="${S}/$f" ${MMADIR}/${MY_P}/$f
+ done
+ # switch to system form
+ dosym `command -v form` ${MMADIR}/${MY_P}/Linux-x86-64/form
+ dosym `command -v tform` ${MMADIR}/${MY_P}/Linux-x86-64/tform
+
+ dodoc manual/*.pdf
+}
diff --git a/sci-physics/formcalc/metadata.xml b/sci-physics/formcalc/metadata.xml
new file mode 100644
index 000000000..b103d8f63
--- /dev/null
+++ b/sci-physics/formcalc/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="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+ FormCalc is a Mathematica package for the calculation of tree-level and one-loop Feynman diagrams. It makes extensive use of the form tool.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-physics/hepunits/Manifest b/sci-physics/hepunits/Manifest
new file mode 100644
index 000000000..9b6a3c900
--- /dev/null
+++ b/sci-physics/hepunits/Manifest
@@ -0,0 +1,2 @@
+DIST hepunits-2.3.2.tar.gz 13327 BLAKE2B 16986f4cf96eb927e5ae7268dc2975957846678bff0569fc5d5b9d36bb5dae251905283a07e5fcdd895b20982e1e2d32bce5048752d654ca085286e89b65837f SHA512 48d0a4939e19fc6f26b3bb5f8515d8e0d9d4cbed172c14ae30609c2039bdb77625dad8e1e628178481ee0f203d7d36cd2e0d3306f3b344fe14cd68827c4d9477
+DIST hepunits-2.3.3.tar.gz 13491 BLAKE2B ec212be4e53e7ea5aa195852ea6ad4f3aac8e3eb49676e6bef76d525be861ecd4480821b248d746950b45affccd31bf23d5232aee13058bb48ec8d76c4f70a14 SHA512 7a29dd6220c1fbe610f15ef66f02e499d7e2ade8c39827e3229ae74035d127ca7805b9e32c3859c5af4b001725d21514fd81f0408d7f0dc76e9ee34aa66191e8
diff --git a/sci-physics/hepunits/hepunits-2.3.2.ebuild b/sci-physics/hepunits/hepunits-2.3.2.ebuild
new file mode 100644
index 000000000..34b3977a8
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.2.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+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
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
diff --git a/sci-physics/hepunits/hepunits-2.3.3.ebuild b/sci-physics/hepunits/hepunits-2.3.3.ebuild
new file mode 100644
index 000000000..2fb8bb148
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.3.ebuild
@@ -0,0 +1,25 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/hepunits/hepunits-9999.ebuild b/sci-physics/hepunits/hepunits-9999.ebuild
new file mode 100644
index 000000000..2fb8bb148
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-9999.ebuild
@@ -0,0 +1,25 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/hepunits/metadata.xml b/sci-physics/hepunits/metadata.xml
new file mode 100644
index 000000000..41d598fa2
--- /dev/null
+++ b/sci-physics/hepunits/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">
+ hepunits collects the most commonly used units and constants in the HEP System of Units, as derived from the basic units originally defined by the CLHEP project
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">hepunits</remote-id>
+ <remote-id type="github">scikit-hep/hepunits</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/hoppet/Manifest b/sci-physics/hoppet/Manifest
new file mode 100644
index 000000000..cc73bfc3b
--- /dev/null
+++ b/sci-physics/hoppet/Manifest
@@ -0,0 +1 @@
+DIST hoppet-1.2.0.tgz 575911 BLAKE2B 4d4dc1874b45b7237384ad3955808b5f4995c86b4d44165ef0c4d8b1da21880cdd1a3f1f1537f02ad7928baef5207e950be411465989ab876bcb806f355725cf SHA512 65ceb170cd417f229f8a974aa995138b8ee7ea5ef04538a5382b353181951e9d4489045234cd45c1ea8f88a5faf4755e3a0e246065711f137676bbf726a29f1f
diff --git a/sci-physics/hoppet/hoppet-1.2.0.ebuild b/sci-physics/hoppet/hoppet-1.2.0.ebuild
new file mode 100644
index 000000000..337881026
--- /dev/null
+++ b/sci-physics/hoppet/hoppet-1.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2
+
+DESCRIPTION="Higher Order Perturbative Parton Evolution Toolkit"
+HOMEPAGE="
+ https://hoppet.hepforge.org/
+ https://github.com/gavinsalam/hoppet
+"
+SRC_URI="https://hoppet.hepforge.org/downloads/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+
+
+src_configure() {
+ default
+ # own custom configure
+ ./configure --prefix="${EPREFIX}"/usr FFLAGS="${FFLAGS} -fPIC" || die
+}
+
+src_install() {
+ # Fix install to ED
+ sed -i "s#scripts/install-sh hoppet-config#\##g" Makefile || die
+ sed -i "s#/usr/lib/libhoppet#${ED}/usr/$(get_libdir)/libhoppet#g" src/Makefile || die
+ sed -i "s#/usr/include/hoppet#${ED}/usr/include/hoppet#g" src/Makefile || die
+ emake install
+ emake install-mod
+ dobin hoppet-config
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sci-physics/hoppet/metadata.xml b/sci-physics/hoppet/metadata.xml
new file mode 100644
index 000000000..37900a238
--- /dev/null
+++ b/sci-physics/hoppet/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="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+
+ <longdescription lang="en">
+ HOPPET is a Fortran 95 package for carrying out DGLAP evolution and other common manipulations of parton distribution functions (PDFs).
+ </longdescription>
+ <upstream>
+ <remote-id type="github">gavinsalam/hoppet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/lhapdf-sets/Manifest b/sci-physics/lhapdf-sets/Manifest
new file mode 100644
index 000000000..6e1d34375
--- /dev/null
+++ b/sci-physics/lhapdf-sets/Manifest
@@ -0,0 +1,14 @@
+DIST CT10.tar.gz 10246366 BLAKE2B f0daf0a3ca6cd2f178f993944cdc29de5deb1f441d197e47c8b1c285a56abc0fdb1cd53ec5a8e7736e200397bea9ec9cf4d04420ce206e5c396b85b63f695d00 SHA512 90406bd102ab54b683fa3e6f3fc759febea2454a0b96c6a8d373cdec297f5d652097057a015c7d87241792ed9b5d9ac658a33155cdd7362f59110f8f06ecce73
+DIST CT14lo.tar.gz 474954 BLAKE2B 60e8d3695fa64a997f0431516086f037d8843a9310cb52910c28a8a8960838409bafb280cf776b25fde1b31225743b72a48a3d467b1f7a4ff5478d515607645b SHA512 bc6acfcf522262da227411555f10dd73456fb5d0ab9db334b99cf7953463e1fa3de8c78bbb95269e9a47629860d906d43948e6cf1719b00402645ec18249f959
+DIST CT14nlo.tar.gz 27067462 BLAKE2B b8d46593a62e80c320c76fb89f646ba0f31ab98811076120de1d21ef3b4849ff3d2e7b8d01d01dff5f1ee05a2266d94664e7f4a27347fa32c8ac4c68b0e72acb SHA512 1fcdfd24569966c1bc9c98f8ae2bf7d3a306700387b1351c92bc2b4f061db5d59d048c6cdd25095e1dc58344afa7f65a6526c611d747a5894398754483db77a2
+DIST CT14qed_proton.tar.gz 11064380 BLAKE2B b0b5834473a90d2adfedfa4dd467847349fc1b60907d387d1007387dcf557fac37871ea7430161edc0ecf6f8e8839077283dc8fcad610f03dd192efd70890c3f SHA512 a41f6f82e5505f66014e5523210c272254fb8018bbfac542eb1941e60c1c897ee687bfef1afbd981132cb772240fdd4d19b5dcd2b36b01f8e34ea959d9acd4f7
+DIST MRST2004qed.tar.gz 185079 BLAKE2B 62e0371de965698100755b14b0c282095b84b40800a58cd6776c458b03982f032f3b2464eb76174084dd22de9fd962e202a4896327b0a00579c3a632dac24ccc SHA512 404aacf0e241f572cc42ad4cf963deef1acd3d365fa68cfa3518878f921858046377ea39caf663fdced2cdde07af2f6ce695737f7fea229489df3d3f38283c95
+DIST MRST2007lomod.tar.gz 56685 BLAKE2B 8515b6f77302621f4b37f550840f07f0351e7ea98de16a37ceb4cb0f2ea64aa4b027462ffc442f34d1f4c349d67fac7b35353606d8920f17621c7187e508c689 SHA512 8e55627a01c85d90a62e4fb11b115c2faac2220479b6d558d3d6f1b801fc5c3e88abc377cd5437ccaeedd34b2ca42d6e833014566b796e5e1eebcf4d620e5dc0
+DIST NNPDF23_nlo_as_0118.tar.gz 21655966 BLAKE2B f92d0b90f27d1a096f327e5aa45cc4d36ad3789db6fcc477b21d6170495c8508edcc86000baf20e50366895a8a1fd1b7d30c136b77ea35c466b65016b66c3829 SHA512 5570273743d4efb9676e3b5f461d8944b841cbcb3f80949f63520f05c184bd551a2a3be3961d20d5de80e7e35e88f26e5eb5c20903d20ed44e2f33038d6c66af
+DIST NNPDF23_nlo_as_0119_qed_mc.tar.gz 25223180 BLAKE2B 05dd8772d559e8f08e28dc16da6b256d875563b140e1954cedac9b5f541e9cd325c4dfd5adbb13af434e036cbafa9bfe19325f69ae00ed599cfac6791629d989 SHA512 fc6998d50a61bbe65eef827021c0f453164795c079daef6a4932f825f8db4ae318bbf0e8781b61f1d3ffa9a495b5c4813af3aa31c77694657a44356d93fa970f
+DIST NNPDF23_nnlo_as_0119_qed_mc.tar.gz 28940412 BLAKE2B 57c7c98bb863258f87e236fea2d0233ac61350012aec6ba5cced75de0b4b945a5633d7fd487b0913b822df1c3ef804de2aacf34b1319d6973d959dc02ebbc9b2 SHA512 5088c30acbd1da4e412ba9f6a997ceaa34f426f41c7ebacaf4d2e8aa49b8b45052913e8d873b293d9f140c01e82c05735b66dd527a9aa124b86f73bf5e4d8c53
+DIST NNPDF31_nnlo_as_0118.tar.gz 43193739 BLAKE2B b826eaebb6483b844bc18cfca36be8ead1dc409641e445f8d31db58f31bde623b7e7753a94c0e2ee0dfe24b28909b9d06b17641a783c223d8ab7ce8e55902a5c SHA512 a62330979f4001933b52e2b1bd3142b4dacd27aeed1e49969108a842e00e7db59a7fe8d80b755c283f3bc706b36e3ec4597e124d95ad3a7f334fb956bebe7ae0
+DIST NNPDF31_nnlo_as_0118_luxqed.tar.gz 47462442 BLAKE2B 2b473d943ec49e28de63d002e4eadfd3002c63aa6ef9b4e792adf7acf8bb3a771f91298ac6575034407653d15aa4191da6090aaaa34d8a8091cb1a5d4562479a SHA512 5faafc9a2b23dc0a82c7f3ca26a6691cfa476f83741beab2b41a77e63fa5f10428bf43579670636689c0080421f4b08ec058aa63c047f04f6d892b1b848fd702
+DIST PDF4LHC15_nlo_asvar.tar.gz 578871 BLAKE2B a42a24d4af82f892e0dccfeeacedfcbb074be1ddc9649d55ff6c15e3923901173337ba4197248410d2a40e72ab627af9a0cea09e5ee98c37130aceb34402d9d4 SHA512 ef96970050b78f5a5bc54b43ee2d7ed0eb76796ea23ce864f1c8ff6de2d68f99023d5c4530f4e73197948c39886fcb832ed26dfa126ca0396e4fd08e353df8a0
+DIST cteq66.tar.gz 8647237 BLAKE2B 3ac47b6eee434f89ff329cfcb8268782af4ffa552ca4b412a59254e9b10410518f9fe9543b47f193d9cd31b06fc1101556df2be01c25ca17febcb9fb1855e5ca SHA512 25d0fa01dcdb59d71c7092367af8258471a2bc6dfd146766cc79f90ffb0feafa0f2011d0a37a7d75315c10ba7c7a6e3fa583d9c0a28119b072228ac800294e48
+DIST cteq6l1.tar.gz 317834 BLAKE2B eccad131853f9a760d0dfd43a3f8705f8edbac3ec7373de9ef9a8936f13ba06500ba5758cd04649dd1b85ac04fc778e9d96222877e74e9ff02263455b233fa41 SHA512 7177608e97077eaf45a292db4ea74eb9a28b4b500ab8be02098b4837a5583cd397828abc3bf43ead448926eaa75ae3968bd059ecde333d90ed6e4295cbe1873c
diff --git a/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
new file mode 100644
index 000000000..784d94f97
--- /dev/null
+++ b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+LHA_VER="6.2.1"
+
+IUSE_LHAPDF_SETS="
+ lhapdf_sets_nnpdf31_nnlo_as_0118_luxqed
+ lhapdf_sets_pdf4lhc15_nlo_asvar
+ lhapdf_sets_ct14qed_proton
+ lhapdf_sets_ct14lo
+ lhapdf_sets_ct14nlo
+ lhapdf_sets_ct10
+ lhapdf_sets_mrst2007lomod
+ lhapdf_sets_nnpdf23_nlo_as_0119_qed_mc
+ lhapdf_sets_nnpdf23_nnlo_as_0119_qed_mc
+ lhapdf_sets_cteq66
+ lhapdf_sets_cteq6l1
+ lhapdf_sets_mrst2004qed
+ lhapdf_sets_nnpdf23_nlo_as_0118
+ lhapdf_sets_nnpdf31_nnlo_as_0118
+"
+
+COMMON_URI="https://lhapdfsets.web.cern.ch/lhapdfsets/current"
+HEPFORGE_URI="https://www.hepforge.org/downloads/lhapdf/pdfsets/v6.backup/${LHA_VER}"
+# Alternatively to fetching them here already the user can install them by lhapdf install,
+# BUT some codes need them during test and even compile (Herwig) stage.
+# Also since it belongs to LHAPDF it is better to fetch them here.
+SRC_URI="
+ lhapdf_sets_nnpdf31_nnlo_as_0118_luxqed? ( ${COMMON_URI}/NNPDF31_nnlo_as_0118_luxqed.tar.gz )
+ lhapdf_sets_pdf4lhc15_nlo_asvar? ( ${COMMON_URI}/PDF4LHC15_nlo_asvar.tar.gz )
+ lhapdf_sets_ct14qed_proton? ( ${COMMON_URI}/CT14qed_proton.tar.gz )
+ lhapdf_sets_ct14lo? ( ${COMMON_URI}/CT14lo.tar.gz )
+ lhapdf_sets_ct14nlo? ( ${COMMON_URI}/CT14nlo.tar.gz )
+ lhapdf_sets_ct10? ( ${COMMON_URI}/CT10.tar.gz )
+ lhapdf_sets_mrst2007lomod? ( ${COMMON_URI}/MRST2007lomod.tar.gz )
+ lhapdf_sets_nnpdf23_nlo_as_0119_qed_mc? ( ${COMMON_URI}/NNPDF23_nlo_as_0119_qed_mc.tar.gz )
+ lhapdf_sets_nnpdf23_nnlo_as_0119_qed_mc? ( ${COMMON_URI}/NNPDF23_nnlo_as_0119_qed_mc.tar.gz )
+ lhapdf_sets_cteq66? ( ${COMMON_URI}/cteq66.tar.gz )
+ lhapdf_sets_cteq6l1? ( ${COMMON_URI}/cteq6l1.tar.gz )
+ lhapdf_sets_mrst2004qed? ( ${HEPFORGE_URI}/MRST2004qed.tar.gz )
+ lhapdf_sets_nnpdf23_nlo_as_0118? ( ${COMMON_URI}/NNPDF23_nlo_as_0118.tar.gz )
+ lhapdf_sets_nnpdf31_nnlo_as_0118? ( ${COMMON_URI}/NNPDF31_nnlo_as_0118.tar.gz )
+"
+
+MY_PV=$(ver_cut 1-3)
+MY_PF=LHAPDF-${MY_PV}
+
+DESCRIPTION="LHAPDF data grids"
+HOMEPAGE="https://lhapdf.hepforge.org/"
+KEYWORDS="~amd64 ~x86"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+IUSE="${IUSE_LHAPDF_SETS}"
+SLOT="0"
+RDEPEND="sci-physics/lhapdf"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ # unpack in destination only to avoid copy
+ return
+}
+
+src_install() {
+ dodir /usr/share/LHAPDF/
+ cd "${ED}/usr/share/LHAPDF/" || die
+ unpack ${A}
+}
diff --git a/sci-physics/lhapdf-sets/metadata.xml b/sci-physics/lhapdf-sets/metadata.xml
new file mode 100644
index 000000000..73a7063eb
--- /dev/null
+++ b/sci-physics/lhapdf-sets/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+</pkgmetadata>
diff --git a/sci-physics/mcfm/Manifest b/sci-physics/mcfm/Manifest
new file mode 100644
index 000000000..9163b57a5
--- /dev/null
+++ b/sci-physics/mcfm/Manifest
@@ -0,0 +1 @@
+DIST MCFM-10.2.1.tar.gz 39365160 BLAKE2B 59b6fc55e4a21d4dea979d973cac0378763585088b7b5f032d671a30358e6bd8b6332fd3fa0eeca573177e46f642b3ba8b0c78c503bf37ac4ee0d6c0b962e4df SHA512 994f243b5460784eb5d62f81adf6c08d7ffd03df0d2fa8ac8e4522ab5127f54c3218cd4fe9984adff505c02804613c570d228f88c9343804e20d08f7187575c1
diff --git a/sci-physics/mcfm/files/mcfm-10.2.1-rest.patch b/sci-physics/mcfm/files/mcfm-10.2.1-rest.patch
new file mode 100644
index 000000000..f43a1cb48
--- /dev/null
+++ b/sci-physics/mcfm/files/mcfm-10.2.1-rest.patch
@@ -0,0 +1,251 @@
+--- a/CMakeLists.txt 2022-09-19 02:30:49.215050000 +0200
++++ b/CMakeLists.txt 2022-09-19 21:03:05.409746266 +0200
+@@ -41,48 +41,48 @@
+
+ include(ExternalProject)
+
+-ExternalProject_Add(qd
+- DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/qd-2.3.22 ${CMAKE_BINARY_DIR}/lib/
+- PREFIX ${CMAKE_BINARY_DIR}/lib/qd-2.3.22
+- SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/qd-2.3.22
+- BUILD_IN_SOURCE ON
+- PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
+- CONFIGURE_COMMAND CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} FC=${CMAKE_Fortran_COMPILER} ./configure --with-pic --enable-fortran --enable-fma --prefix=${CMAKE_BINARY_DIR}/local --enable-shared --libdir=${CMAKE_BINARY_DIR}/local/lib
+- BUILD_COMMAND ${MAKE}
+- INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
+-)
+-
+-ExternalProject_Add(qcdloop
+- DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/qcdloop-2.0.5 ${CMAKE_BINARY_DIR}/lib
+- PREFIX ${CMAKE_BINARY_DIR}/lib/qcdloop-2.0.5
+- SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/qcdloop-2.0.5
+- BUILD_IN_SOURCE ON
+- PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
+- CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DENABLE_FORTRAN_WRAPPER=ON -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/local -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_INSTALL_LIBDIR=lib
+- BUILD_COMMAND ${MAKE}
+- INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
+-)
+-
+-ExternalProject_Add(liboneloop
+- DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/oneloop ${CMAKE_BINARY_DIR}/lib/
+- PREFIX ${CMAKE_BINARY_DIR}/lib/oneloop
+- SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/oneloop
+- BUILD_IN_SOURCE ON
+- CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_Fortran_COMPILER=${CMAKE_Fortran_COMPILER} -DCMAKE_Fortran_FLAGS=-fPIC
+- BUILD_COMMAND ${MAKE}
+- INSTALL_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local/include && cp ${CMAKE_BINARY_DIR}/lib/oneloop/avh_olo.mod ${CMAKE_BINARY_DIR}/local/include
+-)
+-
+-ExternalProject_Add(handyg
+- DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/handyG ${CMAKE_BINARY_DIR}/lib/
+- PREFIX ${CMAKE_BINARY_DIR}/lib/handyG
+- SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/handyG
+- BUILD_IN_SOURCE ON
+- PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
+- CONFIGURE_COMMAND CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} FC=${CMAKE_Fortran_COMPILER} CFLAGS=-fPIC CXXFLAGS=-fPIC FFLAGS=-fPIC ./configure --prefix=${CMAKE_BINARY_DIR}/local --moduledir=${CMAKE_BINARY_DIR}/local/include
+- BUILD_COMMAND ${MAKE}
+- INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
+-)
++#ExternalProject_Add(qd
++# DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/qd-2.3.22 ${CMAKE_BINARY_DIR}/lib/
++# PREFIX ${CMAKE_BINARY_DIR}/lib/qd-2.3.22
++# SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/qd-2.3.22
++# BUILD_IN_SOURCE ON
++# PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
++# CONFIGURE_COMMAND CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} FC=${CMAKE_Fortran_COMPILER} ./configure --with-pic --enable-fortran --enable-fma --prefix=${CMAKE_BINARY_DIR}/local --enable-shared --libdir=${CMAKE_BINARY_DIR}/local/lib
++# BUILD_COMMAND ${MAKE}
++# INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
++#)
++#
++#ExternalProject_Add(qcdloop
++# DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/qcdloop-2.0.5 ${CMAKE_BINARY_DIR}/lib
++# PREFIX ${CMAKE_BINARY_DIR}/lib/qcdloop-2.0.5
++# SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/qcdloop-2.0.5
++# BUILD_IN_SOURCE ON
++# PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
++# CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DENABLE_FORTRAN_WRAPPER=ON -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/local -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_INSTALL_LIBDIR=lib
++# BUILD_COMMAND ${MAKE}
++# INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
++#)
++#
++#ExternalProject_Add(liboneloop
++# DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/oneloop ${CMAKE_BINARY_DIR}/lib/
++# PREFIX ${CMAKE_BINARY_DIR}/lib/oneloop
++# SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/oneloop
++# BUILD_IN_SOURCE ON
++# CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_Fortran_COMPILER=${CMAKE_Fortran_COMPILER} -DCMAKE_Fortran_FLAGS=-fPIC
++# BUILD_COMMAND ${MAKE}
++# INSTALL_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local/include && cp ${CMAKE_BINARY_DIR}/lib/oneloop/avh_olo.mod ${CMAKE_BINARY_DIR}/local/include
++#)
++#
++#ExternalProject_Add(handyg
++# DOWNLOAD_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/lib && cp -r ${CMAKE_SOURCE_DIR}/lib/handyG ${CMAKE_BINARY_DIR}/lib/
++# PREFIX ${CMAKE_BINARY_DIR}/lib/handyG
++# SOURCE_DIR ${CMAKE_BINARY_DIR}/lib/handyG
++# BUILD_IN_SOURCE ON
++# PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
++# CONFIGURE_COMMAND CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} FC=${CMAKE_Fortran_COMPILER} CFLAGS=-fPIC CXXFLAGS=-fPIC FFLAGS=-fPIC ./configure --prefix=${CMAKE_BINARY_DIR}/local --moduledir=${CMAKE_BINARY_DIR}/local/include
++# BUILD_COMMAND ${MAKE}
++# INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
++#)
+
+ ## Configuration options
+
+@@ -169,7 +169,7 @@
+ add_subdirectory(lib/SpecialFunctions)
+ add_subdirectory(lib/AMOS)
+
+-add_dependencies(objlib qd qcdloop liboneloop handyg)
++#add_dependencies(objlib qd qcdloop liboneloop handyg)
+
+ if(${with_vvamp})
+ add_compile_definitions(WITH_VVAMP=1)
+@@ -182,7 +182,7 @@
+ PATCH_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local
+ CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_Fortran_COMPILER=${CMAKE_Fortran_COMPILER} -DCMAKE_Fortran_FLAGS=-fPIC
+ BUILD_COMMAND ${MAKE}
+- INSTALL_COMMAND mkdir -p ${CMAKE_BINARY_DIR}/local/include && cp ${CMAKE_BINARY_DIR}/VVamp/mod_vvamp.mod ${CMAKE_BINARY_DIR}/local/include
++ INSTALL_COMMAND mv ${CMAKE_BINARY_DIR}/VVamp/mod_vvamp.mod ${CMAKE_BINARY_DIR}/local/include
+ )
+ add_library(vvamp STATIC IMPORTED)
+ set_property(TARGET vvamp PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/VVamp/libvvamp.a")
+@@ -192,7 +192,6 @@
+ else()
+ set(linkvvamp "")
+ endif()
+-
+ set_target_properties(objlib PROPERTIES
+ CXX_STANDARD 11
+ Fortran_MODULE_DIRECTORY "${CMAKE_BINARY_DIR}/include"
+@@ -222,48 +221,51 @@
+ target_link_libraries(mcfm ${OpenMP_Fortran_LIBRARIES})
+ endif()
+
+-add_library(oneloop STATIC IMPORTED)
+-set_property(TARGET oneloop PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/lib/oneloop/liboneloop.a")
++find_library(qcdloop qcdloop)
+
+-add_library(qcdloop_lib_static STATIC IMPORTED)
+-set_property(TARGET qcdloop_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqcdloop.a")
+-set_property(TARGET qcdloop_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(qcdloop_lib_static qcdloop)
+-
+-add_library(qcdloop_lib_shared SHARED IMPORTED)
+-set_property(TARGET qcdloop_lib_shared PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqcdloop.${CMAKE_SHARED_LIBRARY_SUFFIX}")
+-set_property(TARGET qcdloop_lib_shared PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(qcdloop_lib_shared qcdloop)
+-
+-add_library(qd_lib_static STATIC IMPORTED)
+-set_property(TARGET qd_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqd.a")
+-set_property(TARGET qd_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(qd_lib_static qd)
+-
+-add_library(qd_lib_shared SHARED IMPORTED)
+-set_property(TARGET qd_lib_shared PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqd.${CMAKE_SHARED_LIBRARY_SUFFIX}")
+-set_property(TARGET qd_lib_shared PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(qd_lib_shared qd)
+-
+-add_library(qdmod_lib_static STATIC IMPORTED)
+-set_property(TARGET qdmod_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqdmod.a")
+-set_property(TARGET qdmod_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(qdmod_lib_static qd)
+-
+-add_library(qdmod_lib_shared SHARED IMPORTED)
+-set_property(TARGET qdmod_lib_shared PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqdmod.${CMAKE_SHARED_LIBRARY_SUFFIX}")
+-set_property(TARGET qdmod_lib_shared PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(qdmod_lib_shared qd)
+-
+-add_library(handyg_lib_static STATIC IMPORTED)
+-set_property(TARGET handyg_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libhandyg.a")
+-set_property(TARGET handyg_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
+-add_dependencies(handyg_lib_static handyg)
+-
+-add_dependencies(objlib qdmod_lib_static)
+-add_dependencies(objlib qd_lib_static)
+-add_dependencies(objlib qcdloop_lib_static)
+-add_dependencies(objlib handyg_lib_static)
++#add_library(oneloop STATIC IMPORTED)
++#set_property(TARGET oneloop PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/lib/oneloop/liboneloop.a")
++#
++#add_library(qcdloop_lib_static STATIC IMPORTED)
++#set_property(TARGET qcdloop_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqcdloop.a")
++#set_property(TARGET qcdloop_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(qcdloop_lib_static qcdloop)
++
++#add_library(qcdloop_lib_shared SHARED IMPORTED)
++#set_property(TARGET qcdloop_lib_shared PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqcdloop.${CMAKE_SHARED_LIBRARY_SUFFIX}")
++#set_property(TARGET qcdloop_lib_shared PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(qcdloop_lib_shared qcdloop)
++#
++#add_library(qd_lib_static STATIC IMPORTED)
++#set_property(TARGET qd_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqd.a")
++#set_property(TARGET qd_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(qd_lib_static qd)
++#
++#add_library(qd_lib_shared SHARED IMPORTED)
++#set_property(TARGET qd_lib_shared PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqd.${CMAKE_SHARED_LIBRARY_SUFFIX}")
++#set_property(TARGET qd_lib_shared PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(qd_lib_shared qd)
++#
++#add_library(qdmod_lib_static STATIC IMPORTED)
++#set_property(TARGET qdmod_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqdmod.a")
++#set_property(TARGET qdmod_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(qdmod_lib_static qd)
++#
++#add_library(qdmod_lib_shared SHARED IMPORTED)
++#set_property(TARGET qdmod_lib_shared PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libqdmod.${CMAKE_SHARED_LIBRARY_SUFFIX}")
++#set_property(TARGET qdmod_lib_shared PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(qdmod_lib_shared qd)
++#
++#add_library(handyg_lib_static STATIC IMPORTED)
++#set_property(TARGET handyg_lib_static PROPERTY IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/local/lib/libhandyg.a")
++#set_property(TARGET handyg_lib_static PROPERTY IMPORTED_NO_SONAME TRUE)
++#add_dependencies(handyg_lib_static handyg)
++
++#add_dependencies(objlib qdmod_lib_static)
++#add_dependencies(objlib qd_lib_static)
++#add_dependencies(objlib qcdloop_lib_static)
++#add_dependencies(objlib handyg_lib_static)
++target_link_libraries(objlib qdmod qd qcdloop handyg)
+
+ if(use_internal_lhapdf)
+ ExternalProject_Add(lhapdf
+@@ -285,13 +287,15 @@
+
+ add_dependencies(lhapdf_lib_static lhapdf)
+ target_link_libraries(mcfm lhapdf_lib_static)
+- target_include_directories(objlib PRIVATE "${CMAKE_BINARY_DIR}/local/include" "${CMAKE_BINARY_DIR}/local/include/qd")
++ target_include_directories(objlib PRIVATE
++ "${CMAKE_BINARY_DIR}/include" "/usr/include" "/usr/include/qd")
+ add_dependencies(objlib lhapdf)
+ elseif(use_external_lhapdf)
+ find_library(lhapdf_lib NAMES LHAPDF REQUIRED)
+ target_link_libraries(mcfm ${lhapdf_lib})
+ if (${lhapdf_include_path})
+- target_include_directories(objlib PRIVATE "${LHAPDF_INCLUDE_PATH}" "${CMAKE_BINARY_DIR}/local/include" "${CMAKE_BINARY_DIR}/local/include/qd")
++ target_include_directories(objlib PRIVATE "${LHAPDF_INCLUDE_PATH}"
++ "${CMAKE_BINARY_DIR}/include" "/usr/include" "/usr/include/qd")
+ endif()
+ endif()
+
+@@ -299,9 +303,9 @@
+
+ if(${with_library})
+ if(use_internal_lhapdf)
+- target_link_libraries(libmcfm qdmod_lib_static qd_lib_static qcdloop_lib_static oneloop handyg_lib_static ${linkvvamp} quadmath stdc++ lhapdf_lib_static)
++ target_link_libraries(libmcfm qdmod qd qcdloop avh_olo handyg ${linkvvamp} quadmath stdc++ lhapdf_lib_static)
+ else()
+- target_link_libraries(libmcfm qdmod_lib_static qd_lib_static qcdloop_lib_static oneloop handyg_lib_static ${linkvvamp} quadmath stdc++ ${lhapdf_lib})
++ target_link_libraries(libmcfm qdmod qd qcdloop avh_olo handyg ${linkvvamp} quadmath stdc++ ${lhapdf_lib})
+ endif()
+ if (DEFINED OLDIR)
+ target_link_libraries(oltest libmcfm ${openloops_lib})
+@@ -320,7 +324,7 @@
+ endif()
+ endif()
+
+-target_link_libraries(mcfm qdmod_lib_static qd_lib_static qcdloop_lib_static oneloop handyg_lib_static ${linkvvamp} quadmath stdc++)
++target_link_libraries(mcfm qdmod qd qcdloop avh_olo handyg ${linkvvamp} quadmath stdc++)
+
+ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+ set(CMAKE_INSTALL_RPATH "${CMAKE_BINARY_DIR}/local/lib")
diff --git a/sci-physics/mcfm/mcfm-10.2.1.ebuild b/sci-physics/mcfm/mcfm-10.2.1.ebuild
new file mode 100644
index 000000000..9a928e4c9
--- /dev/null
+++ b/sci-physics/mcfm/mcfm-10.2.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+MY_PN=MCFM
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Monte Carlo for FeMtobarn processes"
+HOMEPAGE="https://mcfm.fnal.gov"
+SRC_URI="https://mcfm.fnal.gov/downloads/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Manual states multithreading bug in lhapdf-6.3.0 ?!
+# MCFM has been tested against lhapdf-6.2.0 which ::gentoo already dropped
+DEPEND="
+ sci-physics/lhapdf
+ >=sci-libs/qd-2.3.22
+ >=sci-physics/qcdloop-2.0.5
+ >=sci-physics/oneloop-2020.07.31
+ >=sci-libs/handyg-0.1.5
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/fortran
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-rest.patch
+)
+src_prepare() {
+ sed -i -e 's/\(name=".*\)"/\1_"/g' src/Mods/mod_qcdloop_c.f || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -Duse_external_lhapdf=ON
+ -Duse_internal_lhapdf=OFF
+ -Dlhapdf_include_path=ON
+ -Dwith_library=ON
+ -Dwith_vvamp=OFF
+ )
+ cmake_src_configure
+ # Fix relative path in working dir to something absolute
+ sed -i "s/process\.DAT/${EPREFIX}\/usr\/share\/${MY_PN}\/process\.DAT/g" src/Procdep/chooser.f || die
+}
+
+src_compile() {
+ # Single thread force needed since fortan mods depend on each other
+ # This problem only happend very rarely
+ export MAKEOPTS=-j1
+ cmake_src_compile
+}
+
+src_install() {
+ # this did not work
+ #cmake_src_install
+ dobin "${BUILD_DIR}"/mcfm
+ dolib.so "${BUILD_DIR}"/libmcfm.so
+ insinto "/usr/share/${MY_PN}/"
+ doins "Bin/process.DAT"
+}
diff --git a/sci-physics/mcfm/metadata.xml b/sci-physics/mcfm/metadata.xml
new file mode 100644
index 000000000..a8720d7dd
--- /dev/null
+++ b/sci-physics/mcfm/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>APN-Pucky@users.noreply.github.com</email>
+ <name>APN-Pucky</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ The program calculates cross-sections for various femtobarn-level processes at hadron-hadron colliders. A number of processes can be calculated at NLO order in QCD, while most other processes are included at NNLO order in QCD. The calculation of some processes can also account for next-to-leading order weak effects.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-physics/oneloop/Manifest b/sci-physics/oneloop/Manifest
new file mode 100644
index 000000000..f698d0a23
--- /dev/null
+++ b/sci-physics/oneloop/Manifest
@@ -0,0 +1 @@
+DIST oneloop-2020.07.31.zip 166257 BLAKE2B 7869806c6e70388311b62ae1ad15b35292c81d5d87ff7f24ad53bb8e562631664545f36e3e32d6f31a39ca9489d7da64284ad10ed988cb7c4375626121d0a84f SHA512 eee46cfe60b1d887cb40033e63d7a04ca24b329692e443d28ecb9f070182d5c56ea5bbaefd2ae21b2776d907ea280ebf81cae0c332391e7e7e7d5e3be3084220
diff --git a/sci-physics/oneloop/files/oneloop-2020.07.31-config.patch b/sci-physics/oneloop/files/oneloop-2020.07.31-config.patch
new file mode 100644
index 000000000..4af47e066
--- /dev/null
+++ b/sci-physics/oneloop/files/oneloop-2020.07.31-config.patch
@@ -0,0 +1,11 @@
+--- a/Config 2022-05-19 17:34:51.000000000 +0200
++++ b/Config 2022-05-19 17:34:51.000000000 +0200
+@@ -3,7 +3,7 @@
+ #FFLAGS = -Wall
+
+ DPKIND = kind(1d0)
+-QPKIND = kind(1q0)
++#QPKIND = kind(1q0)
+ #DPKIND = selected_real_kind(15)
+ #QPKIND = 16
+ #DDTYPE = ddfun90
diff --git a/sci-physics/quinoa/metadata.xml b/sci-physics/oneloop/metadata.xml
index 2e043b786..bdee6992b 100644
--- a/sci-physics/quinoa/metadata.xml
+++ b/sci-physics/oneloop/metadata.xml
@@ -2,8 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>junghans@gentoo.org</email>
- <name>Christoph Junghans</name>
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
diff --git a/sci-physics/oneloop/oneloop-2020.07.31.ebuild b/sci-physics/oneloop/oneloop-2020.07.31.ebuild
new file mode 100644
index 000000000..8b98d1e1d
--- /dev/null
+++ b/sci-physics/oneloop/oneloop-2020.07.31.ebuild
@@ -0,0 +1,49 @@
+# 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..11} )
+inherit toolchain-funcs python-any-r1
+
+DESCRIPTION="Library of one-loop scalar functions"
+HOMEPAGE="https://bitbucket.org/hameren/oneloop"
+SRC_URI="https://bitbucket.org/hameren/oneloop/get/3762b8bad6ad.zip -> ${P}.zip"
+S="${WORKDIR}/hameren-oneloop-3762b8bad6ad"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/unzip
+ virtual/fortran
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-config.patch
+)
+
+src_configure() {
+ tc-export FC
+ sed -i "/FC = /s/gfortran/${FC}/g" Config || die
+ sed -i "/FFLAGS = /s/ -O/${FFLAGS} -fPIC/g" Config || die
+}
+
+src_compile() {
+ tc-export FC
+ emake -f make_cuttools
+ ${EPYTHON} ./create.py || die "Failed to compile"
+ #./create.py dynamic || die
+ ${FC} ${LDFLAGS} -Wl,-soname,libavh_olo.so -shared -o libavh_olo.so avh_olo.o || die "Failed to link"
+}
+
+src_install() {
+ dolib.a libavh_olo.a
+ dolib.so libavh_olo.so
+ doheader avh_olo.mod
+}
diff --git a/sci-physics/particle/Manifest b/sci-physics/particle/Manifest
new file mode 100644
index 000000000..a91580388
--- /dev/null
+++ b/sci-physics/particle/Manifest
@@ -0,0 +1,2 @@
+DIST particle-0.23.0.tar.gz 313512 BLAKE2B 33a0dc1cf612af8242b5080d0862f3b1e587254b46fa90f235cd6edba3919594c5077733600dfe88ad0959be889271c301324789abf0511a7fbe588942086877 SHA512 582c42beade0b28f28f3ee9f83f6d8cc75558f8a9aa5fbe3679c7aa68af40bd04f374741211d6f214bb828c24a017a89b541f780739a36d61d85a2fd5e00b530
+DIST particle-0.23.1.tar.gz 313729 BLAKE2B fc35163955e065b350dfa0825612a64214baeb1f5be41404af259136e6689e23419891513c059ccdfbe2cbf5891596fccd0b0b7f283031bb3352600b5be43441 SHA512 1b4f4516357fd9725d9d5b0a481467896e93e23a8956b2ce321b9cac1d200a8ee8dd9cc1b22d940b4708f29abe3417988677ac685b78287abe10afafa79fb381
diff --git a/sci-physics/particle/metadata.xml b/sci-physics/particle/metadata.xml
new file mode 100644
index 000000000..1ec9e9afb
--- /dev/null
+++ b/sci-physics/particle/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">
+ Particle provides a pythonic interface to the Particle Data Group (PDG) particle data tables and particle identification codes, with extended particle information and extra goodies.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">particle</remote-id>
+ <remote-id type="github">scikit-hep/particle</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/particle/particle-0.23.0.ebuild b/sci-physics/particle/particle-0.23.0.ebuild
new file mode 100644
index 000000000..88da33c3e
--- /dev/null
+++ b/sci-physics/particle/particle-0.23.0.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_11 )
+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}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+ dev-python/pandas[${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-0.23.1.ebuild b/sci-physics/particle/particle-0.23.1.ebuild
new file mode 100644
index 000000000..43f1e67ca
--- /dev/null
+++ b/sci-physics/particle/particle-0.23.1.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+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}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+ dev-python/pandas[${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
new file mode 100644
index 000000000..43f1e67ca
--- /dev/null
+++ b/sci-physics/particle/particle-9999.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+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}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+ dev-python/pandas[${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/pyhepmc/Manifest b/sci-physics/pyhepmc/Manifest
new file mode 100644
index 000000000..1351fa866
--- /dev/null
+++ b/sci-physics/pyhepmc/Manifest
@@ -0,0 +1 @@
+DIST pyhepmc-2.11.0.tar.gz 361596 BLAKE2B 18264f61bdef3c27f8aa4d48d25257c03f98cc89745533641119cf7ba6d5fe36c084d25ccaeed6769dc9226fd5f2c27060006030447a8ac8409ff6d752437d2c SHA512 31975d0bee5037c1cc36753ce6324342ed6a48b2d3f91f53d61f445f38f0fa3ecbeb0e29fcbc7f6778bafcc23c1f6a689b9516eae8da4cc620cd7c72b89e0b00
diff --git a/sci-physics/pyhepmc/metadata.xml b/sci-physics/pyhepmc/metadata.xml
new file mode 100644
index 000000000..6f6a9a0bb
--- /dev/null
+++ b/sci-physics/pyhepmc/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">
+ pyhepmc largely mirrors the C++ interface of the HepMC3 library, which is documented here. Parts of the documentation have been copied from HepMC3. Documentation is available as Python docstrings, so you can use Python's help() browser to learn about the API. Alternatively, you can consult the online reference generated from these docstrings which includes some examples.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">pyhepmc</remote-id>
+ <remote-id type="github">scikit-hep/pyhepmc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild b/sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild
new file mode 100644
index 000000000..c28b094bb
--- /dev/null
+++ b/sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild
@@ -0,0 +1,20 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Pythonic wrapper for the HepMC3 C++ library."
+HOMEPAGE="https://github.com/scikit-hep/pyhepmc"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/numpy-1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ dev-build/cmake
+"
diff --git a/sci-physics/pyhf/Manifest b/sci-physics/pyhf/Manifest
new file mode 100644
index 000000000..756bfb423
--- /dev/null
+++ b/sci-physics/pyhf/Manifest
@@ -0,0 +1 @@
+DIST pyhf-0.7.3.tar.gz 113423 BLAKE2B 216ef186c539481e2819e3f3a198203f085aa99652ab335b1153309a780857c5ad53bc848bb1b12615cfa9b8ee97a67553cef5a0f899bbcf178bfea1b2ca11c5 SHA512 904491f9c161f0231d1e109cfa3a12b31a31b1aa7477752e1eafd1e6c4cec75551e53ce1f6d447bed8f295371dc20b032888a5175af0f2eb808e03c0a8993930
diff --git a/sci-physics/pyhf/metadata.xml b/sci-physics/pyhf/metadata.xml
new file mode 100644
index 000000000..47738d1db
--- /dev/null
+++ b/sci-physics/pyhf/metadata.xml
@@ -0,0 +1,18 @@
+<?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">
+ The HistFactory p.d.f. template [CERN-OPEN-2012-016] is per-se independent of its implementation in ROOT and sometimes, it’s useful to be able to run statistical analysis outside of ROOT, RooFit, RooStats framework.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">particle</remote-id>
+ <remote-id type="github">scikit-hep/particle</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/pyhf/pyhf-0.7.3.ebuild b/sci-physics/pyhf/pyhf-0.7.3.ebuild
new file mode 100644
index 000000000..d97cd71f9
--- /dev/null
+++ b/sci-physics/pyhf/pyhf-0.7.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_11 )
+DISTUTILS_USE_PEP517=hatchling
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="pure-python fitting/limit-setting/interval estimation HistFactory-style"
+HOMEPAGE="
+ https://github.com/scikit-hep/pyhf
+ https://doi.org/10.5281/zenodo.1169739
+ https://zenodo.org/record/8256635
+ https://doi.org/10.21105/joss.02823
+ https://inspirehep.net/literature/2598491
+ https://arxiv.org/abs/2211.15838
+ https://doi.org/10.22323/1.414.0245
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/scipy-1.5.1[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+ >=dev-python/tqdm-4.56.0[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-4.15.0[${PYTHON_USEDEP}]
+ >=dev-python/jsonpatch-1.15[${PYTHON_USEDEP}]
+ >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
diff --git a/sci-physics/pylhe/Manifest b/sci-physics/pylhe/Manifest
new file mode 100644
index 000000000..11dbc6d26
--- /dev/null
+++ b/sci-physics/pylhe/Manifest
@@ -0,0 +1,2 @@
+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
diff --git a/sci-physics/pylhe/files/pylhe-0.7.0-coverage.patch b/sci-physics/pylhe/files/pylhe-0.7.0-coverage.patch
new file mode 100644
index 000000000..ea678ce8c
--- /dev/null
+++ b/sci-physics/pylhe/files/pylhe-0.7.0-coverage.patch
@@ -0,0 +1,8 @@
+--- a/pytest.ini 2024-03-20 07:36:32.600030197 +0100
++++ b/pytest.ini 2024-03-20 07:36:45.896874886 +0100
+@@ -1,4 +1,4 @@
+ [pytest]
+ docstyle_convention = numpy
+ junit_family = xunit2
+-addopts = --ignore=setup.py --ignore=binder/ --ignore=docs/ --cov=pylhe --cov-report=term-missing --cov-config=.coveragerc --cov-report xml --doctest-modules --doctest-glob='*.rst'
++addopts = --ignore=setup.py --ignore=binder/ --ignore=docs/ --doctest-modules --doctest-glob='*.rst'
diff --git a/sci-physics/pylhe/metadata.xml b/sci-physics/pylhe/metadata.xml
new file mode 100644
index 000000000..86ede8deb
--- /dev/null
+++ b/sci-physics/pylhe/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">
+ Small and thin Python interface to read Les Houches Event (LHE) files.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">pylhe</remote-id>
+ <remote-id type="github">scikit-hep/pylhe</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/pylhe/pylhe-0.7.0.ebuild b/sci-physics/pylhe/pylhe-0.7.0.ebuild
new file mode 100644
index 000000000..45ef91695
--- /dev/null
+++ b/sci-physics/pylhe/pylhe-0.7.0.ebuild
@@ -0,0 +1,35 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=setuptools
+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}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools-scm[${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/pylhe/pylhe-0.8.0.ebuild b/sci-physics/pylhe/pylhe-0.8.0.ebuild
new file mode 100644
index 000000000..45ef91695
--- /dev/null
+++ b/sci-physics/pylhe/pylhe-0.8.0.ebuild
@@ -0,0 +1,35 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=setuptools
+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}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools-scm[${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
new file mode 100644
index 000000000..84ca31226
--- /dev/null
+++ b/sci-physics/qcdloop/Manifest
@@ -0,0 +1,2 @@
+DIST qcdloop-2.0.5.tar.gz 199141 BLAKE2B b16c193bd267b838535a572dd3b1cf50ac9af03b65347877b550bcbdcc9cfdd42f08e198732c513cff8298632ea65be82f2986701de75cee80cec2f9c30e3368 SHA512 9bfa3bad7a8c808b2db5eda32a755da4dadf67eba10845eb798d447fd47062bd40aa877929b60d95ec6b4e3b4a2cbba6384a3d1b13f92cfdec06e76177532c0f
+DIST qcdloop-2.0.9.tar.gz 214697 BLAKE2B 19d426cc61b8a8f08fc56522b5a2d48c7fea7027225e1317c2e2908b8a87367ff69077bfe5508ee50ee585d8d0f68ae4c1fdad312b4cbc73ca4f3fd735fa94c9 SHA512 c8031dbee1c83d2bd0fcca0b1d94f18e7d07b77c247ca7a15cfec9bc402391e89036a64507c48e743eeecb3a19fe25d4e766ff13ede9f042d4d723adc8adb238
diff --git a/sci-physics/qcdloop/files/qcdloop-2.0.5-cxx.patch b/sci-physics/qcdloop/files/qcdloop-2.0.5-cxx.patch
new file mode 100644
index 000000000..56a665de2
--- /dev/null
+++ b/sci-physics/qcdloop/files/qcdloop-2.0.5-cxx.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2022-09-19 11:13:08.777453946 +0200
++++ b/CMakeLists.txt 2022-09-19 11:13:27.315507011 +0200
+@@ -20,7 +20,7 @@
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+ set(VERSION "\"2.0.5\"")
+-set(CMAKE_CXX_FLAGS "-Wall -Wextra -march=nocona -mtune=haswell -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -fext-numeric-literals")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fext-numeric-literals")
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address -fPIC ${CMAKE_CXX_FLAGS}" CACHE STRING "debug compile flags" FORCE)
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fsanitize=address" CACHE STRING "debug linker flags" FORCE)
+ set(prefix ${CMAKE_INSTALL_PREFIX})
diff --git a/sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch b/sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch
new file mode 100644
index 000000000..b3babf764
--- /dev/null
+++ b/sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2022-09-19 11:13:08.777453946 +0200
++++ b/CMakeLists.txt 2022-09-19 11:13:27.315507011 +0200
+@@ -20,7 +20,7 @@
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+ set(VERSION "\"2.0.9\"")
+-set(CMAKE_CXX_FLAGS "-Wall -Wextra -march=nocona -mtune=haswell -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -fext-numeric-literals")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fext-numeric-literals")
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address -fPIC ${CMAKE_CXX_FLAGS}" CACHE STRING "debug compile flags" FORCE)
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fsanitize=address" CACHE STRING "debug linker flags" FORCE)
+ set(prefix ${CMAKE_INSTALL_PREFIX})
diff --git a/sci-physics/qcdloop/metadata.xml b/sci-physics/qcdloop/metadata.xml
new file mode 100644
index 000000000..84c79dc3b
--- /dev/null
+++ b/sci-physics/qcdloop/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ QCDLoop is a library of one-loop scalar Feynman integrals, evaluated close to four dimensions. First documented in arXiv:0712.1851 and recently in arXiv:1605.03181.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">scarrazza/qcdloop</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild b/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
new file mode 100644
index 000000000..19a247ba2
--- /dev/null
+++ b/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+DESCRIPTION="An object-oriented one-loop scalar Feynman integrals framework"
+HOMEPAGE="https://qcdloop.web.cern.ch/qcdloop/"
+SRC_URI="https://github.com/scarrazza/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/fortran
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cxx.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${ESYSROOT}/usr/$(get_libdir)"
+ )
+ cmake_src_configure
+}
diff --git a/sci-physics/qcdloop/qcdloop-2.0.9.ebuild b/sci-physics/qcdloop/qcdloop-2.0.9.ebuild
new file mode 100644
index 000000000..ccea20aa5
--- /dev/null
+++ b/sci-physics/qcdloop/qcdloop-2.0.9.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+DESCRIPTION="An object-oriented one-loop scalar Feynman integrals framework"
+HOMEPAGE="https://qcdloop.web.cern.ch/qcdloop/"
+SRC_URI="https://github.com/scarrazza/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/fortran
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cxx.patch
+)
+
+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
+ -DENABLE_FORTRAN_WRAPPER=ON
+ )
+ cmake_src_configure
+}
diff --git a/sci-physics/qgraf/Manifest b/sci-physics/qgraf/Manifest
new file mode 100644
index 000000000..7d1dcedad
--- /dev/null
+++ b/sci-physics/qgraf/Manifest
@@ -0,0 +1,2 @@
+DIST qgraf-3.6.5.tgz 449818 BLAKE2B 630cbd798423f17a1a20ab80f65c88e755347c9583a70cf43e3914186bc7c71bb8b854227197b9705c2d6538627fe56bf3fe497b3823a7130ff660192d2270c8 SHA512 b98fbc8c2fa64b5f3596b4a8b68bfab75a0bebf74615fc680d5b4487ec3c8de40ed4a7b310f2036c25f3fd91a76cb57db7c647b38e8580eed2b9d8bd0c50bcc7
+DIST qgraf-3.6.6.tgz 460385 BLAKE2B 0bff10ba3f28214692420d0297b638848d0a8c66905fc2cb926cb574f27894fb31c3ff6f6ee2853dcf393dad124d555f9381df9e87464d48e1e9ccf93e012f75 SHA512 551ecaea8331cc164afd2ef507e0c568661432626f001b387427cd48e9a7ac9e2d63e935fb56f56eed3d96e97c3ab94033af05b72a0b99528c1eac3370e02f67
diff --git a/sci-physics/qgraf/metadata.xml b/sci-physics/qgraf/metadata.xml
new file mode 100644
index 000000000..3fa7c9624
--- /dev/null
+++ b/sci-physics/qgraf/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Qgraf is a computer program that generates Feynman diagrams for various types of QFT models — it is a research tool created with the obvious aim of contributing to extend the range of feasible, perturbative QFT calculations. It generates neither 0-point nor non-connected diagrams, though. Diagrams are represented by symbolic expressions only; nevertheless, if some kind of graphical representation is required, have a look at the external links.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-physics/qgraf/qgraf-3.6.5.ebuild b/sci-physics/qgraf/qgraf-3.6.5.ebuild
new file mode 100644
index 000000000..68e0ebf97
--- /dev/null
+++ b/sci-physics/qgraf/qgraf-3.6.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="qgraf generates Feynman diagrams for various types of QFT models"
+HOMEPAGE="http://cfif.ist.utl.pt/~paulo/qgraf.html"
+SRC_URI="http://anonymous:anonymous@qgraf.tecnico.ulisboa.pt/v$(ver_cut 1-2)/qgraf-${PV}.tgz"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+RESTRICT="bindist mirror"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+
+DEPEND="virtual/fortran"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile() {
+ $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS}
+}
+
+src_install() {
+ dobin ${PN}
+
+ use doc && dodoc *.pdf
+ if use examples; then
+ docinto examples
+ dodoc phi3 qed qcd *.sty *.dat
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/sci-physics/qgraf/qgraf-3.6.6.ebuild b/sci-physics/qgraf/qgraf-3.6.6.ebuild
new file mode 100644
index 000000000..4194295a4
--- /dev/null
+++ b/sci-physics/qgraf/qgraf-3.6.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs fortran-2
+
+DESCRIPTION="qgraf generates Feynman diagrams for various types of QFT models"
+HOMEPAGE="http://cfif.ist.utl.pt/~paulo/qgraf.html"
+SRC_URI="http://anonymous:anonymous@qgraf.tecnico.ulisboa.pt/v$(ver_cut 1-2)/qgraf-${PV}.tgz"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+RESTRICT="bindist mirror"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+
+src_compile() {
+ $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to compile"
+}
+
+src_install() {
+ dobin ${PN}
+
+ use doc && dodoc *.pdf
+ if use examples; then
+ docinto examples
+ dodoc phi3 qed qcd *.sty *.dat
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/sci-physics/quinoa/quinoa-9999.ebuild b/sci-physics/quinoa/quinoa-9999.ebuild
deleted file mode 100644
index 18ba346a4..000000000
--- a/sci-physics/quinoa/quinoa-9999.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="doc"
-DOCS_CONFIG_NAME="${PN}.doxy"
-
-inherit cmake docs git-r3
-
-DESCRIPTION="Adaptive computational fluid dynamics"
-HOMEPAGE="https://quinoacomputing.org/"
-EGIT_REPO_URI="git://github.com/quinoacomputing/${PN}.git"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-
-DEPEND="
- dev-cpp/highwayhash
- dev-cpp/pstreams
- dev-cpp/random123
- dev-libs/boost
- dev-libs/boost-mpl-cartesian_product
- >=dev-libs/pegtl-2
- dev-libs/pugixml
- dev-libs/tut
- dev-util/mad-numdiff
- sci-libs/gmsh
- sci-libs/h5part
- sci-libs/hypre[mpi]
- sci-libs/mkl
- >=sci-libs/trilinos-12.10.1[netcdf]
- >=sys-cluster/charm-6.7.1[mpi]
- virtual/lapacke
-"
-RDEPEND="${DEPEND}"
-
-CMAKE_USE_DIR="${S}/src"
-
-src_compile() {
- docs_compile
- cmake_src_compile
-}
diff --git a/sci-physics/scikit-hep-testdata/Manifest b/sci-physics/scikit-hep-testdata/Manifest
new file mode 100644
index 000000000..1051bc85d
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/Manifest
@@ -0,0 +1 @@
+DIST scikit-hep-testdata-0.4.39.gh.tar.gz 340561478 BLAKE2B 9d0fc60c8bd9c11b5cd786389489b095a5498c7e08c744106d3bacd3f203f4b186f50a5e1ef6cbdcb23fc5d975807277cc25397ea8049e2acccbbc06c53f65d2 SHA512 fe31302178b8148b0486fe314a9d40c7a4318e53113878769484cc79dd55e5adb977357a175ffad887a205e1ea3e99a4f5be192581cca61554ba2187daad3bd2
diff --git a/sci-physics/scikit-hep-testdata/metadata.xml b/sci-physics/scikit-hep-testdata/metadata.xml
new file mode 100644
index 000000000..ea2e37599
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/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 common package to provide example files (e.g. ROOT) for testing and developing packages against. The sample of files is representative of typical files found "in the wild".
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">scikit-hep-testdata</remote-id>
+ <remote-id type="github">scikit-hep/scikit-hep-testdata</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild
new file mode 100644
index 000000000..47d0f0bbd
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/scikit-hep-testdata-0.4.39.ebuild
@@ -0,0 +1,30 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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"
+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}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/spheno/Manifest b/sci-physics/spheno/Manifest
new file mode 100644
index 000000000..5db72217b
--- /dev/null
+++ b/sci-physics/spheno/Manifest
@@ -0,0 +1,2 @@
+DIST spheno-3.3.8.tar.gz 1415645 BLAKE2B 830cdbcd8f213f0de0cd0b72455d5919e390069f097bca5a0cabdbfb77ec21549c9455139ff960a0cdbd425368805c1f2d11384c240a8e82f66e33864f4fce7b SHA512 e6c923586eae198f62121e0410f9f1f87e7badfd58d90e3b5f600e8364ea054dfb8b58c1c39d74ec6067112fa6cad727797230bce6cfc6040e2bf4c6d01b0eae
+DIST spheno-4.0.5.tar.gz 1587855 BLAKE2B d3cb92740be416934a928147d980e180be623dbbfeac7a1b0b16e7e4a36d2b3088e455b5348f6e65cfa2ac8d90286c0b65a81498527419ed4eaa42622651408b SHA512 387099c3d9c9c7baf4a5da6d46b819d53dc703f72cc3a73fac7c2e63b66623e328294ac131e128253002ab03a81e96c686702ac90a58479ae573f228d3a51379
diff --git a/sci-physics/spheno/files/spheno-3.3.8-gfortran.patch b/sci-physics/spheno/files/spheno-3.3.8-gfortran.patch
new file mode 100644
index 000000000..8f6fa7e19
--- /dev/null
+++ b/sci-physics/spheno/files/spheno-3.3.8-gfortran.patch
@@ -0,0 +1,32 @@
+--- a/src/Makefile 2022-07-20 11:47:44.078639381 +0200
++++ b/src/Makefile 2022-07-24 02:16:38.972041809 +0200
+@@ -9,10 +9,11 @@
+ # options for various compilers
+ #
+
+-# Intels ifort, default in optimized mode
+-F90 = ifort
+-comp = -c -O -module ${Mdir} -I${InDir}
+-LFlagsB = -O
++
++# gentoo toolchain
++F90 = ${F90}
++comp = -c -O -J${Mdir} -I${InDir} ${FFLAGS} ${FCFLAGS} ${CFLAGS}
++LFlagsB = -O ${LDFLAGS}
+
+ # Intels ifort, debug modus
+ ifeq (${F90},ifortg)
+@@ -70,11 +71,11 @@
+ #
+ .f90.a:
+ ${F90} ${comp} $<
+- ar -ruc $@ $*.o
++ $(AR) -ruc $@ $*.o
+ rm -f $*.o
+ .F90.a:
+ ${F90} ${comp} ${PreDef} $<
+- ar -ruc $@ $*.o
++ $(AR) -ruc $@ $*.o
+ rm -f $*.o
+ .f90.o:
+ ${F90} ${comp} $<
diff --git a/sci-physics/spheno/files/spheno-4.0.5-gfortran.patch b/sci-physics/spheno/files/spheno-4.0.5-gfortran.patch
new file mode 100644
index 000000000..1abf36367
--- /dev/null
+++ b/sci-physics/spheno/files/spheno-4.0.5-gfortran.patch
@@ -0,0 +1,29 @@
+--- a/src/Makefile 2023-05-04 12:33:44.804394098 +0200
++++ b/src/Makefile 2023-05-04 12:34:37.023776033 +0200
+@@ -21,9 +21,9 @@
+ #
+
+ # Intels ifort, default in optimized mode
+-F90 = ifort
+-comp = -c -O -module ${Mdir} -I${InDir}
+-LFlagsB = -O
++F90 = ${F90}
++comp = -c -O -J${Mdir} -I${InDir} ${FFLAGS} ${FCFLAGS} ${CFLAGS}
++LFlagsB = -O ${LDFLAGS}
+
+ # Intels ifort, debug modus
+ ifeq (${F90},ifortg)
+@@ -81,11 +81,11 @@
+ #
+ .f90.a:
+ ${F90} ${comp} $<
+- ar ${linker} $@ $*.o
++ $(AR) ${linker} $@ $*.o
+ rm -f $*.o
+ .F90.a:
+ ${F90} ${comp} ${PreDef} $<
+- ar ${linker} $@ $*.o
++ $(AR) ${linker} $@ $*.o
+ rm -f $*.o
+ .f90.o:
+ ${F90} ${comp} $<
diff --git a/sci-physics/spheno/metadata.xml b/sci-physics/spheno/metadata.xml
new file mode 100644
index 000000000..277841e1a
--- /dev/null
+++ b/sci-physics/spheno/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="project">
+ <email>sci-physics@gentoo.org</email>
+ <name>Gentoo Physics Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexander@neuwirth-informatik.de</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <longdescription lang="en">
+The code calculates the SUSY spectrum using low energy data and a user supplied high scale model as input. The spectrum is used to calculate two- and three body decay modes of supersymmetric particle as well as of Higgs bosons. In addition the production cross sections for supersymmetric particle and Higgs bosons in e^+ e^- annihilation is calculated. Moreover, the branching of the decay $b \to s \gamma$, the SUSY contribution to anomalous magnetic moment of the muon as well as the SUSY contributions to the rho parameter due to sfermions are calculated. The code is written in F90 with an emphasis on easy generalisability. The structure is set such that complex phases as well as the extension to include the flavour structure can be done in a straight forward way. The 2-loop renormalization group equations as well as the one-loop finite corrections a la Bagger, Matchev, Pierce and Zhang are included. In addition the two-loop corrections to the neutral Higgs boson masses (a la Brignole, Degrassi, Slavich and Zwirner) and to the mu-parameter (a la Dedes and Slavich) are included. Starting with version 2.2.2 the SUSY Les Houches Accord is supported as well as the SPA conventions (for details see hep-ph/0511344).
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-physics/spheno/spheno-3.3.8-r1.ebuild b/sci-physics/spheno/spheno-3.3.8-r1.ebuild
new file mode 100644
index 000000000..7ed53c4c7
--- /dev/null
+++ b/sci-physics/spheno/spheno-3.3.8-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2
+
+MY_PN=SPheno
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="SPheno stands for S(upersymmetric) Pheno(menology)"
+HOMEPAGE="https://spheno.hepforge.org/"
+SRC_URI="https://spheno.hepforge.org/downloads/?f=${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="all-rights-reserved"
+RESTRICT="bindist mirror"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=( "${FILESDIR}"/${P}-gfortran.patch )
+
+src_compile() {
+ # single thread force needed since fortan mods depend on each other
+ emake -j1 F90="${FC}"
+}
+
+src_install() {
+ dobin bin/${MY_PN}
+ # convenience symlink since the package is lowercase but the default produced binary is uppercase
+ dosym ${MY_PN} /usr/bin/${PN}
+ dolib.a lib/lib${MY_PN}.a
+ mv include ${PN}
+ doheader -r ${PN}
+ dodoc doc/*
+ docinto examples
+ dodoc input/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
diff --git a/sci-physics/spheno/spheno-4.0.5.ebuild b/sci-physics/spheno/spheno-4.0.5.ebuild
new file mode 100644
index 000000000..7ed53c4c7
--- /dev/null
+++ b/sci-physics/spheno/spheno-4.0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2
+
+MY_PN=SPheno
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="SPheno stands for S(upersymmetric) Pheno(menology)"
+HOMEPAGE="https://spheno.hepforge.org/"
+SRC_URI="https://spheno.hepforge.org/downloads/?f=${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="all-rights-reserved"
+RESTRICT="bindist mirror"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=( "${FILESDIR}"/${P}-gfortran.patch )
+
+src_compile() {
+ # single thread force needed since fortan mods depend on each other
+ emake -j1 F90="${FC}"
+}
+
+src_install() {
+ dobin bin/${MY_PN}
+ # convenience symlink since the package is lowercase but the default produced binary is uppercase
+ dosym ${MY_PN} /usr/bin/${PN}
+ dolib.a lib/lib${MY_PN}.a
+ mv include ${PN}
+ doheader -r ${PN}
+ dodoc doc/*
+ docinto examples
+ dodoc input/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
diff --git a/sci-physics/tauola/tauola-1.1.8.ebuild b/sci-physics/tauola/tauola-1.1.8.ebuild
index 61ec51d9f..4d4742dd1 100644
--- a/sci-physics/tauola/tauola-1.1.8.ebuild
+++ b/sci-physics/tauola/tauola-1.1.8.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
doc? (
- app-doc/doxygen[dot]
+ app-text/doxygen[dot]
app-text/ghostscript-gpl
app-text/texlive
)
diff --git a/sci-physics/uproot/Manifest b/sci-physics/uproot/Manifest
new file mode 100644
index 000000000..bb52077be
--- /dev/null
+++ b/sci-physics/uproot/Manifest
@@ -0,0 +1 @@
+DIST uproot-5.3.1.tar.gz 919910 BLAKE2B 6c138a56ecabb08905e1edde8c776c3dfae6cca3213bbc3546e7241979052178e1c9718c1fcf298573669bcc4c004806cd54ab16050405038f76f3ef356fb184 SHA512 2525f372caa3b25e3a11b170ce981ce253a7b9ca1fdb2c04b6bb1093b166d206a28e9bc22ffa19dead76870f521cee44a812cbf41a087b34fb9a3bc52c210733
diff --git a/sci-physics/uproot/metadata.xml b/sci-physics/uproot/metadata.xml
new file mode 100644
index 000000000..1b293facb
--- /dev/null
+++ b/sci-physics/uproot/metadata.xml
@@ -0,0 +1,21 @@
+<?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">
+ Uproot is a library for reading and writing ROOT files in pure Python and NumPy.
+
+ Unlike the standard C++ ROOT implementation, Uproot is only an I/O library, primarily intended to stream data into machine learning libraries in Python. Unlike PyROOT and root_numpy, Uproot does not depend on C++ ROOT. Instead, it uses Numpy to cast blocks of data from the ROOT file as Numpy arrays.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">uproot</remote-id>
+ <remote-id type="github">scikit-hep/uproot5</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-physics/uproot/uproot-5.3.1.ebuild b/sci-physics/uproot/uproot-5.3.1.ebuild
new file mode 100644
index 000000000..cfc3880e9
--- /dev/null
+++ b/sci-physics/uproot/uproot-5.3.1.ebuild
@@ -0,0 +1,28 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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"
+
+RDEPEND="
+ >=dev-python/awkward-2.4.6[${PYTHON_USEDEP}]
+ >=dev-python/cramjam-2.5.0[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/fsspec[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+# way too many missing packages, isal, deflate, xxhash, http servers etc
+# distutils_enable_tests pytest