[gentoo-commits] proj/sci:master commit in: dev-python/awkward-cpp/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 6aaca8ed648c3eaf05f64be78ace42d7db0ecaba
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Jun 27 15:48:09 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 15:48:09 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6aaca8ed

dev-python/awkward-cpp: add 35

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/awkward-cpp/awkward-cpp-35.ebuild | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/dev-python/awkward-cpp/awkward-cpp-35.ebuild 
b/dev-python/awkward-cpp/awkward-cpp-35.ebuild
new file mode 100644
index 0..57634d120
--- /dev/null
+++ b/dev-python/awkward-cpp/awkward-cpp-35.ebuild
@@ -0,0 +1,26 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+DISTUTILS_USE_PEP517=scikit-build-core
+PYPI_NO_NORMALIZE=1
+
+inherit pypi distutils-r1
+
+DESCRIPTION="awkward-cpp bindings for Python"
+HOMEPAGE="https://github.com/scikit-hep/awkward/";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+   >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   >=dev-python/scikit-build-core-0.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: dev-python/awkward/

2024-06-27 Thread Alexander Puck Neuwirth
commit: fe4938466d4ed8d54fb1b4501220b78feec057e4
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Jun 27 15:48:53 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 15:48:53 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=fe493846

dev-python/awkward: add 2.6.6

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/awkward/awkward-2.6.6.ebuild | 44 +
 1 file changed, 44 insertions(+)

diff --git a/dev-python/awkward/awkward-2.6.6.ebuild 
b/dev-python/awkward/awkward-2.6.6.ebuild
new file mode 100644
index 0..bd393bcd2
--- /dev/null
+++ b/dev-python/awkward/awkward-2.6.6.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms."
+HOMEPAGE="https://github.com/scikit-hep/awkward";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+   ~dev-python/awkward-cpp-35[${PYTHON_USEDEP}]
+   dev-python/fsspec[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   $(python_gen_cond_dep '
+   >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+   ' python3_10)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+   dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+   test? (
+   dev-libs/apache-arrow[zstd]
+   dev-python/pyarrow[${PYTHON_USEDEP}]
+   dev-python/numexpr[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_IGNORE=(
+   tests-cuda/
+   tests-cuda-kernels/
+)
+
+distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: dev-python/archspec/

2024-06-27 Thread Alexander Puck Neuwirth
commit: c52bb278a1b5831f0af48dfff1f6629015b7a213
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Jun 27 15:16:14 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 15:18:54 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c52bb278

dev-python/archspec: add 0.2.4, drop 0.2.2, drop 0.1.4

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/archspec/archspec-0.1.4.ebuild | 19 ---
 .../{archspec-0.2.2.ebuild => archspec-0.2.4.ebuild}  | 10 +-
 2 files changed, 9 insertions(+), 20 deletions(-)

diff --git a/dev-python/archspec/archspec-0.1.4.ebuild 
b/dev-python/archspec/archspec-0.1.4.ebuild
deleted file mode 100644
index 35500e00d..0
--- a/dev-python/archspec/archspec-0.1.4.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 pypi
-
-DESCRIPTION="labels for various aspects of a system architecture like CPU, 
etc."
-HOMEPAGE="https://archspec.readthedocs.io/en/latest/index.html";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   >=dev-python/six-1.16.0[${PYTHON_USEDEP}]
-   <=dev-python/six-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/click-7.1.2[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"

diff --git a/dev-python/archspec/archspec-0.2.2.ebuild 
b/dev-python/archspec/archspec-0.2.4.ebuild
similarity index 58%
rename from dev-python/archspec/archspec-0.2.2.ebuild
rename to dev-python/archspec/archspec-0.2.4.ebuild
index a7287fc72..002a57ba1 100644
--- a/dev-python/archspec/archspec-0.2.2.ebuild
+++ b/dev-python/archspec/archspec-0.2.4.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 DISTUTILS_USE_PEP517=poetry
 inherit distutils-r1 pypi
 
@@ -11,3 +11,11 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
+BDEPEND="
+   test? (
+   dev-python/typing-extensions[${PYTHON_USEDEP}]
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/

2024-06-27 Thread Alexander Puck Neuwirth
commit: de672e4833e05d5ad2c042bf6112992d36c4c2fb
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Jun 27 15:00:55 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 15:00:55 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=de672e48

dev-python/boost-histogram: add 1.4.1, drop 1.4.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../{boost-histogram-1.4.0.ebuild => boost-histogram-1.4.1.ebuild}   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild 
b/dev-python/boost-histogram/boost-histogram-1.4.1.ebuild
similarity index 97%
rename from dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
rename to dev-python/boost-histogram/boost-histogram-1.4.1.ebuild
index 96950ebe5..679109b59 100644
--- a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
+++ b/dev-python/boost-histogram/boost-histogram-1.4.1.ebuild
@@ -2,6 +2,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
 inherit distutils-r1 pypi
 
 DESCRIPTION="Python bindings for the C++14 Boost::Histogram library"



[gentoo-commits] proj/sci:master commit in: sci-mathematics/Oid/files/, sci-mathematics/Oid/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 1fcfb0a871880d7a30b08ec85c33707220da11d1
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 21:07:46 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 14:35:27 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=1fcfb0a8

sci-mathematics/Oid: Fix java, update URLs

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1240
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../Oid/{Oid-4.0.ebuild => Oid-4.0-r1.ebuild}  | 26 +++---
 sci-mathematics/Oid/files/Oid-4.0-bezier.patch | 11 +
 2 files changed, 29 insertions(+), 8 deletions(-)

diff --git a/sci-mathematics/Oid/Oid-4.0.ebuild 
b/sci-mathematics/Oid/Oid-4.0-r1.ebuild
similarity index 55%
rename from sci-mathematics/Oid/Oid-4.0.ebuild
rename to sci-mathematics/Oid/Oid-4.0-r1.ebuild
index ce967fd46..2c02ef51b 100644
--- a/sci-mathematics/Oid/Oid-4.0.ebuild
+++ b/sci-mathematics/Oid/Oid-4.0-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit java-pkg-2
 
@@ -9,28 +9,38 @@ MY_PV="${PV//./-}"
 MY_P="${PN}${MY_PV}"
 
 DESCRIPTION="An interactive, extensible software system for experimenting with 
matroids"
-HOMEPAGE="https://sites.google.com/site/wwwmatroids/";
+HOMEPAGE="http://userhome.brooklyn.cuny.edu/skingan/matroids/software.html";
 SRC_URI="
-   https://sites.google.com/site/wwwmatroids/${MY_P}.tar.gz -> ${P}.tar.gz
-   https://sites.google.com/site/wwwmatroids/${PN}UserManual${MY_PV}.pdf
+   http://userhome.brooklyn.cuny.edu/skingan/matroids/${MY_P}.tar.gz -> 
${P}.tar.gz
+   
http://userhome.brooklyn.cuny.edu/skingan/matroids/${PN}UserManual${MY_PV}.pdf
 "
 
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 LICENSE="GPL-2"
 
-DEPEND=">=virtual/jdk-1.4:*"
-RDEPEND=">=virtual/jre-1.4:*"
+DEPEND=">=virtual/jdk-1.7:*"
+RDEPEND=">=virtual/jre-1.7:*"
 
 # The source uses 'enum' as an identifier, therefore:
-JAVA_PKG_WANT_SOURCE="1.4"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
 S="${WORKDIR}"
 
+PATCHES=(
+   "${FILESDIR}/${P}-bezier.patch"
+)
+
 src_prepare () {
mkdir classes || die
 
# change path names
sed -i -e 's:NAME = ":NAME = "/usr/share/Oid/:' MatroidToolkit.java || 
die
+   # replace all enum, since after 1.4 java it is a keywords
+   sed -i -e 's:enum:enum_as_a_key_is_no_longer_allowed:g' \
+   Oid/PGFactory.java  \
+   DisplayGeom.java \
+   VisRank3ModularCuts.java || die
 
default
 }
@@ -45,7 +55,7 @@ src_install () {
 
java-pkg_dojar Oid.jar
java-pkg_dolauncher
-   dodoc "${DISTDIR}"/OidUserManual4-0.pdf
+   dodoc "${DISTDIR}"/${PN}UserManual${MY_PV}.pdf
 
insinto /usr/share/Oid
doins matroid*.txt

diff --git a/sci-mathematics/Oid/files/Oid-4.0-bezier.patch 
b/sci-mathematics/Oid/files/Oid-4.0-bezier.patch
new file mode 100644
index 0..56dd64a99
--- /dev/null
+++ b/sci-mathematics/Oid/files/Oid-4.0-bezier.patch
@@ -0,0 +1,11 @@
+--- a/DisplayGeom.java 2024-02-16 22:01:22.213390949 +0100
 b/DisplayGeom.java 2024-02-16 22:01:26.106781457 +0100
+@@ -7844,7 +7844,7 @@
+  // are c1 and c2. The tangent of the curve at p1 is 
determined
+  // by the line between p1 and c1. Likewise, the 
tangent at p2 
+  // is determined by a line from p2 to c2. These 
curves are also
+- // called B�zier curves.
++ // called Bezier curves.
+ 
+ //permStorage.removeAllElements();
+ //finalStorage.removeAllElements();



[gentoo-commits] proj/sci:master commit in: sci-physics/sherpa/

2024-06-27 Thread Alexander Puck Neuwirth
commit: c3ee0bf6659bb881b68b85a576ef98c85ec65c9d
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Jun 27 12:56:00 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 14:31:06 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c3ee0bf6

sci-physics/sherpa: new package, add 3.0.0_beta1, 

Closes: https://github.com/gentoo/sci/pull/1279
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/sherpa/metadata.xml  | 27 
 sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild | 94 
 sci-physics/sherpa/sherpa-.ebuild| 94 
 3 files changed, 215 insertions(+)

diff --git a/sci-physics/sherpa/metadata.xml b/sci-physics/sherpa/metadata.xml
new file mode 100644
index 0..8018d7c68
--- /dev/null
+++ b/sci-physics/sherpa/metadata.xml
@@ -0,0 +1,27 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   apn-pu...@users.noreply.github.com
+   APN-Pucky
+   
+   
+   Sherpa is a Monte Carlo event generator for the Simulation of 
High-Energy Reactions of PArticles in lepton-lepton, lepton-photon, 
photon-photon, lepton-hadron and hadron-hadron collisions. Simulation programs 
- also dubbed event generators - like Sherpa are indispensable work horses for 
current particle physics phenomenology and are (at) the interface between 
theory and experiment.
+   
+   
+   sherpa-team/sherpa
+   
+   
+   Build with HepMC2
+   Build with FastJet
+   Build with Pythia6
+   Build with Pythia8
+   Build with Rivet
+   Build with Root
+   UFO python interface
+   lhole support
+   analysis support
+   Openloops support
+   
+
+

diff --git a/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild 
b/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild
new file mode 100644
index 0..79f0efccd
--- /dev/null
+++ b/sci-physics/sherpa/sherpa-3.0.0_beta1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake fortran-2 python-single-r1
+
+MY_PN="SHERPA-MC"
+MY_PV=${PV//_/}
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="Simulation of High-Energy Reactions of PArticles"
+HOMEPAGE="
+   https://sherpa-team.gitlab.io/
+   https://gitlab.com/sherpa-team/sherpa
+"
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/sherpa-team/sherpa";
+   EGIT_BRANCH="master"
+else
+   #SRC_URI="https://www.hepforge.org/archive/sherpa/${MY_P}.tar.gz";
+   
SRC_URI="https://gitlab.com/sherpa-team/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.bz2";
+   S="${WORKDIR}/${PN}-v${MY_PV}"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+IUSE="+fastjet +pythia6 pythia8 rivet ufo hepmc2 root gzip mpi lhole analysis 
openloops" # blackhat recola gosam hztool madloop pgs mcfm
+REQUIRED_USE="
+   ufo? ( ${PYTHON_REQUIRED_USE} )
+"
+
+DEPEND="
+   sci-physics/lhapdf
+   dev-db/sqlite:3=
+   sci-physics/hepmc:3=
+   dev-libs/libzip
+   rivet? ( sci-physics/rivet )
+   gzip? ( app-arch/gzip )
+   pythia8? ( sci-physics/pythia:8= )
+   hepmc2?  ( sci-physics/hepmc:2= )
+   fastjet? ( sci-physics/fastjet )
+   root? ( sci-physics/root )
+   mpi? ( virtual/mpi[cxx,fortran] )
+   ufo? ( ${PYTHON_DEPS} )
+   openloops? ( sci-physics/openloops )
+"
+#  blackhat? ( sci-physics/blackhat )
+#  gosam? ( sci-physics/gosam )
+#  recola? ( sci-physics/recola )
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+   use ufo && python-single-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DSHERPA_ENABLE_THREADING=ON
+   -DSHERPA_ENABLE_ANALYSIS=$(usex analysis ON OFF)
+   -DSHERPA_ENABLE_GZIP=$(usex gzip ON OFF)
+   -DSHERPA_ENABLE_HEPMC2=$(usex hepmc2 ON OFF)
+   -DSHERPA_ENABLE_HEPMC3=ON
+   -DSHERPA_ENABLE_LHAPDF=ON
+   -DSHERPA_ENABLE_LHOLE=$(usex lhole ON OFF)
+   -DSHERPA_ENABLE_MPI=$(usex mpi ON OFF)
+   $(usex mpi -DCMAKE_C_COMPILER=mpicc)
+   $(usex mpi -DCMAKE_CXX_COMPILER=mpic++)
+   $(usex mpi -DCMAKE_Fortran_COMPILER=mpif90)
+   -DSHERPA_ENABLE_PYTHIA6=$(usex pythia6 ON OFF)
+   -DSHERPA_ENABLE_PYTHIA8=$(usex pythia8 ON OFF)
+   -DSHERPA_ENABLE_RIVET=$(usex rivet ON OFF)
+   -DSHERPA_ENABLE_ROOT=$(usex root ON OFF)
+   -DSHERPA_EN

[gentoo-commits] proj/sci:master commit in: sci-physics/evtgen/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 3ae32aae9627d1e379da3e3a6cec9063ff54f67f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 20:16:00 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:20:40 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=3ae32aae

sci-physics/evtgen: new package, 02.02.01

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/evtgen/evtgen-02.02.01.ebuild | 39 +++
 sci-physics/evtgen/metadata.xml   | 23 ++
 2 files changed, 62 insertions(+)

diff --git a/sci-physics/evtgen/evtgen-02.02.01.ebuild 
b/sci-physics/evtgen/evtgen-02.02.01.ebuild
new file mode 100644
index 0..32c0ab3a8
--- /dev/null
+++ b/sci-physics/evtgen/evtgen-02.02.01.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+MY_PN="EvtGen"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="EvtGen is a Monte Carlo event generator that simulates the decays"
+HOMEPAGE="https://evtgen.hepforge.org/";
+SRC_URI="https://evtgen.hepforge.org/downloads?f=${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}/R$(ver_rs 1-2 '-')"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+hepmc3 pythia photos tauola"
+
+RDEPEND="
+   !hepmc3? ( sci-physics/hepmc:2= )
+   hepmc3? ( sci-physics/hepmc:3= )
+   pythia? ( >=sci-physics/pythia-8.3.0:= )
+   photos? ( >=sci-physics/photos-3.64:= )
+   tauola? ( >=sci-physics/tauola-1.1.8:= )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DEVTGEN_HEPMC3=$(usex hepmc3 ON OFF)
+   -DHEPMC3_ROOT_DIR="${ESYSROOT}/usr"
+   -DEVTGEN_PYTHIA=$(usex pythia ON OFF)
+   $(usex pythia -DPYTHIA8_ROOT_DIR="${ESYSROOT}/usr")
+   -DEVTGEN_PHOTOS=$(usex photos ON OFF)
+   -DEVTGEN_TAUOLA=$(usex tauola ON OFF)
+   )
+   cmake_src_configure
+}

diff --git a/sci-physics/evtgen/metadata.xml b/sci-physics/evtgen/metadata.xml
new file mode 100644
index 0..08f4b4aec
--- /dev/null
+++ b/sci-physics/evtgen/metadata.xml
@@ -0,0 +1,23 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+
+   
+   EvtGen is a Monte Carlo event generator that simulates the decays of 
heavy flavour particles, primarily B and D mesons. It contains a range of decay 
models for intermediate and final states containing scalar, vector and tensor 
mesons or resonances, as well as leptons, photons and baryons. Decay amplitudes 
are used to generate each branch of a given full decay tree, taking into 
account angular and time-dependent correlations which allows for the simulation 
of CP-violating processes. Originally written by Anders Ryd and David Lange, 
this package is used by many particle physics experiments worldwide, including 
ATLAS, BaBar, Belle(-II), BES III, CDF, CLEO(-c), CMS, D0, and LHCb. The 
maintenance and development of the package is now performed by the particle 
physics group at the University of Warwick (in particular by John Back, Michal 
Kreps, and Thomas Latham).
+   
+
+   
+   Build with pythia
+   Build with photos
+   Build with tauola
+   Build with hepmc version 3 support, else 
hepmc version2 is used
+   
+



[gentoo-commits] proj/sci:master commit in: sci-physics/photos/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 2442677d17ad8ece249e6418c64477a3ff29290d
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 20:12:47 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:20:34 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2442677d

sci-physics/photos: new package, add 3.64

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/photos/metadata.xml   | 23 ++
 sci-physics/photos/photos-3.64.ebuild | 82 +++
 2 files changed, 105 insertions(+)

diff --git a/sci-physics/photos/metadata.xml b/sci-physics/photos/metadata.xml
new file mode 100644
index 0..0a24d3422
--- /dev/null
+++ b/sci-physics/photos/metadata.xml
@@ -0,0 +1,23 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+
+   
+   The main application of PHOTOS is the generation of QED radiative 
corrections in decays of any resonances, simulated by a "host" Monte Carlo 
generator
+   
+
+   
+   Build with pythia
+   Build with hepmc 2
+   Build with hepmc 3
+   Build with tauola
+   
+

diff --git a/sci-physics/photos/photos-3.64.ebuild 
b/sci-physics/photos/photos-3.64.ebuild
new file mode 100644
index 0..32c09af64
--- /dev/null
+++ b/sci-physics/photos/photos-3.64.ebuild
@@ -0,0 +1,82 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2 autotools
+
+MY_PN="PHOTOS"
+MY_P=${MY_PN}.${PV}
+
+DESCRIPTION="Monte Carlo for bremsstrahlung in the decay of particles and 
resonances"
+HOMEPAGE="
+   https://gitlab.cern.ch/photospp/photospp
+   http://photospp.web.cern.ch/photospp/
+"
+SRC_URI="https://photospp.web.cern.ch/resources/${MY_P}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples hepmc2 hepmc3 pythia tauola"
+
+RDEPEND="
+   hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
+   hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+   pythia? ( sci-physics/pythia:8= )
+   tauola? ( sci-physics/tauola[hepmc2?,hepmc3?,pythia?] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-text/doxygen[dot]
+   app-text/ghostscript-gpl
+   app-text/texlive
+   )
+"
+REQUIRED_USE=" || ( hepmc2 hepmc3 )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --without-mc-tester \
+   $(use_with hepmc3 hepmc3 "${EPREFIX}/usr") \
+   $(use_with hepmc2 hepmc "${EPREFIX}/usr") \
+   $(use_with pythia pythia8 "${EPREFIX}/usr") \
+   $(use_with tauola tauola "${EPREFIX}/usr")
+   # weird autoconf + Makefile
+   cat <<-EOF >> make.inc || die
+   LDFLAGS += ${LDFLAGS}
+   CFLAGS += ${CFLAGS}
+   FFLAGS += ${FFLAGS}
+   EOF
+}
+
+src_compile() {
+   emake -j1
+
+   if use doc; then
+   cd "${S}/documentation/doxy_documentation" || die
+   default
+   cd "${S}/documentation/latex_documentation" || die
+   default
+   fi
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   if use doc; then
+   dodoc documentation/doxy_documentation/html/*
+   dodoc documentation/latex_documentation/*.pdf
+   fi
+
+   if use examples; then
+   dodoc -r examples
+   fi
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/tauola/, sci-physics/tauola/files/

2024-06-27 Thread Alexander Puck Neuwirth
commit: c00c3966a7b556235042f75038aa7507a61e8063
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 20:06:23 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:20:28 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c00c3966

sci-physics/tauola: update EAPI 7 -> 8

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 ...tauola-1.1.8-tau-spinner-makefile-install.patch | 22 ++
 sci-physics/tauola/metadata.xml| 13 +++-
 sci-physics/tauola/tauola-1.1.8-r1.ebuild  | 80 ++
 3 files changed, 113 insertions(+), 2 deletions(-)

diff --git 
a/sci-physics/tauola/files/tauola-1.1.8-tau-spinner-makefile-install.patch 
b/sci-physics/tauola/files/tauola-1.1.8-tau-spinner-makefile-install.patch
new file mode 100644
index 0..2d93959c5
--- /dev/null
+++ b/sci-physics/tauola/files/tauola-1.1.8-tau-spinner-makefile-install.patch
@@ -0,0 +1,22 @@
+--- a/Makefile 2020-01-28 18:43:43.0 +0100
 b/Makefile 2024-05-07 21:51:01.306908458 +0200
+@@ -48,7 +48,7 @@
+   mkdir -p $(DESTDIR)/$(PREFIX)/include/Tauola
+   install -m 644  include/Tauola/* $(DESTDIR)/$(PREFIX)/include/Tauola/.
+   mkdir -p $(DESTDIR)/$(LIBDIR)
+-  install lib/*so.$(LIB_VER) $(DESTDIR)/$(LIBDIR)/
++  install lib/*so.* $(DESTDIR)/$(LIBDIR)/
+   install lib/*a $(DESTDIR)/$(LIBDIR)/
+   cp -P lib/*so $(DESTDIR)/$(LIBDIR)/
+ 
+--- a/TauSpinner/Makefile  2024-05-07 21:57:58.542875180 +0200
 b/TauSpinner/Makefile  2024-05-07 21:58:42.993509785 +0200
+@@ -52,7 +52,7 @@
+ 
+ libTauSpinner: $(TAU_SPINNER_OBJECTS)
+   ar cr lib/$(LIB_TAU_SPINNER_A) $(TAU_SPINNER_OBJECTS)
+-  $(LD) $(LDFLAGS) $(SOFLAGS) $(TAU_SPINNER_OBJECTS) -o 
lib/$(LIB_TAU_SPINNER_SO).$(LIB_VER)
++  $(LD) $(LDFLAGS) $(SOFLAGS) $(TAU_SPINNER_OBJECTS) -o 
lib/$(LIB_TAU_SPINNER_SO).$(LIB_VER)  -Wl,-soname,$(LIB_TAU_SPINNER_SO)
+   ln -sf $(LIB_TAU_SPINNER_SO).$(LIB_VER) lib/$(LIB_TAU_SPINNER_SO)
+ 
+ clean:

diff --git a/sci-physics/tauola/metadata.xml b/sci-physics/tauola/metadata.xml
index b0f8228f8..fcbc9de77 100644
--- a/sci-physics/tauola/metadata.xml
+++ b/sci-physics/tauola/metadata.xml
@@ -2,14 +2,23 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 

-   piatli...@gmail.com
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth


sci-phys...@gentoo.org
Gentoo Physics Project

+
+   
+   TAUOLA is a program that simulates the decays of polarized tau leptons, 
which are elementary particles that belong to the lepton family. Tau leptons 
are heavier than electrons and muons, and they can decay into various final 
states, such as hadrons, leptons, and neutrinos. TAUOLA can generate Monte 
Carlo events for tau lepton decays, taking into account the polarization, spin 
correlations, and radiative corrections. TAUOLA can also model anomalous and 
lepton flavor violating decays, which are beyond the standard model of particle 
physics. 
+   

-   Compile sci-physics/hepmc 
interface
+Compile with sci-physics/hepmc 
version 2 interface 
+Compile with sci-physics/hepmc 
version 2 interface 
+Compile with sci-physics/hepmc 
version 3 interface 
+Compile with sci-physics/pythia 
connection 
+Compile with sci-physics/lhapdf 
connection 
Compile with TauSpinner library

 

diff --git a/sci-physics/tauola/tauola-1.1.8-r1.ebuild 
b/sci-physics/tauola/tauola-1.1.8-r1.ebuild
new file mode 100644
index 0..0e2b3fc3a
--- /dev/null
+++ b/sci-physics/tauola/tauola-1.1.8-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2
+
+MY_PN="TAUOLA"
+MY_P=${MY_PN}.${PV}
+
+DESCRIPTION="Tau decay Monte Carlo generator"
+HOMEPAGE="http://tauolapp.web.cern.ch/";
+SRC_URI="https://tauolapp.web.cern.ch/resources/${MY_P}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+hepmc3 +lhapdf doc examples hepmc2 pythia tau-spinner"
+REQUIRED_USE=" || ( hepmc2 hepmc3 ) tau-spinner? ( lhapdf )"
+
+RDEPEND="
+   hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
+   hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+   pythia? ( sci-physics/pythia:8= )
+   lhapdf? ( sci-physics/lhapdf )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   doc? (
+   app-text/doxygen[dot]
+   app-text/ghostscript-gpl
+   app-text/texlive
+   )
+"
+

[gentoo-commits] proj/sci:master commit in: sci-physics/herwig/

2024-06-27 Thread Alexander Puck Neuwirth
commit: bbb29d63503456863de7a523a9e260073427190b
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 20:32:02 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:20:46 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=bbb29d63

sci-physics/herwig: new package, add 7.3.0

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1271
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/herwig/herwig-7.3.0.ebuild | 65 ++
 sci-physics/herwig/metadata.xml| 26 ++
 2 files changed, 91 insertions(+)

diff --git a/sci-physics/herwig/herwig-7.3.0.ebuild 
b/sci-physics/herwig/herwig-7.3.0.ebuild
new file mode 100644
index 0..5576f3cf7
--- /dev/null
+++ b/sci-physics/herwig/herwig-7.3.0.ebuild
@@ -0,0 +1,65 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit fortran-2 python-single-r1 autotools
+
+MY_PN="Herwig"
+MY_PF=${MY_PN}-${PV}
+
+DESCRIPTION="Herwig is a multi-purpose particle physics event generator."
+HOMEPAGE="https://herwig.hepforge.org/";
+SRC_URI="https://herwig.hepforge.org/downloads?f=${MY_PF}.tar.bz2 -> 
${P}.tar.bz2"
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="GPL-3+"
+SLOT="7"
+KEYWORDS="~amd64"
+IUSE="+pythia" # madgraph openloops gosam vbfnlo njet
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+"
+
+RDEPEND="
+   >=dev-libs/boost-1.62
+   >=sci-libs/gsl-2.6
+   sci-physics/fastjet
+   sci-physics/lhapdf-sets[lhapdf_sets_ct14lo,lhapdf_sets_ct14nlo]
+   >=sci-physics/lhapdf-6.1.6[python(+),${PYTHON_SINGLE_USEDEP}]
+   >=sci-physics/thepeg-2.1.0[lhapdf,fastjet,-hepmc2(-),hepmc3(-),rivet(-)]
+   >=sci-physics/evtgen-02.02.00[pythia]
+   pythia? ( sci-physics/pythia:8= )
+   ${PYTHON_DEPS}
+"
+#  madgraph? ( sci-physics/madgraph5 )
+#  openloops? ( sci-physics/openloops )
+#  gosam? ( sci-physics/gosam )
+#  vbfnlo? ( sci-physics/vbfnlo )
+#  njet? ( sci-physics/njet )
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+# https://herwig.hepforge.org/tutorials/installation/manual.html
+# Minimal installation for now
+src_configure() {
+   CONFIG_SHELL=${ESYSROOT}/bin/bash \
+   econf \
+   --with-evtgen="${EPREFIX}"/usr \
+   --with-fastjet="${EPREFIX}"/usr \
+   --with-thepeg="${EPREFIX}"/usr \
+   --with-boost="${EPREFIX}"/usr \
+   $(use_with pythia pythia "${EPREFIX}"/usr) \
+   # $(use_with madgraph madgraph "${EPREFIX}"/opt/MadGraph5/ ) \
+   # $(use_with openloops openloops "${EPREFIX}"/opt/OpenLoops2/ ) 
\
+   # $(use_with gosam gosam "${EPREFIX}"/usr) \
+   # $(use_with vbfnlo vbfnlo "${EPREFIX}"/usr) \
+   # $(use_with njet njet "${EPREFIX}"/usr)
+}
+
+src_install() {
+   default
+}

diff --git a/sci-physics/herwig/metadata.xml b/sci-physics/herwig/metadata.xml
new file mode 100644
index 0..804bc3361
--- /dev/null
+++ b/sci-physics/herwig/metadata.xml
@@ -0,0 +1,26 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+
+   
+   Herwig provides significantly improved and extended physics 
capabilities when compared to both its predecessors, HERWIG 6 and Herwig++ 2, 
while keeping the key model motivations such as coherent parton showers 
(including angular-ordered and dipole-based evolution), the cluster 
hadronization model, an eikonal multiple-interaction model, highly flexible BSM 
capabilities and improved perturbative input using next-to-leading order QCD.
+   
+   
+   Build with pythia support 
+
+   
+



[gentoo-commits] proj/sci:master commit in: sci-physics/openloops/, sci-physics/openloops/files/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 83da0e64de65d33f34dd35972c2b444dfe889f96
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 17:41:00 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:16:40 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=83da0e64

sci-physics/openloops: new package, add 2.1.2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../openloops/files/openloops-2.1.2-ldflags.patch  |  11 +++
 .../files/openloops-2.1.2-python3.12.patch |  34 +++
 sci-physics/openloops/metadata.xml |  23 +
 sci-physics/openloops/openloops-2.1.3.ebuild   | 108 +
 4 files changed, 176 insertions(+)

diff --git a/sci-physics/openloops/files/openloops-2.1.2-ldflags.patch 
b/sci-physics/openloops/files/openloops-2.1.2-ldflags.patch
new file mode 100644
index 0..5f5076581
--- /dev/null
+++ b/sci-physics/openloops/files/openloops-2.1.2-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/pyol/tools/OLBaseConfig.py   2024-05-07 17:59:46.060792049 +0200
 b/pyol/tools/OLBaseConfig.py   2024-05-07 18:02:07.269403340 +0200
+@@ -182,7 +182,7 @@
+ parse_option(config, 'f90_flags', interpolate=True, converter=split_list)
+ parse_option(config, 'f_flags', interpolate=True, converter=split_list)
+ parse_option(config, 'common_flags', interpolate=True, 
converter=split_list)
+-parse_option(config, 'link_flags', interpolate=True, converter=split_list)
++parse_option(config, 'link_flags', interpolate=True, converter=str.split)
+ parse_option(config, 'debug_flags_1', converter=split_list)
+ parse_option(config, 'debug_flags_4', interpolate=True,
+  converter=split_list)

diff --git a/sci-physics/openloops/files/openloops-2.1.2-python3.12.patch 
b/sci-physics/openloops/files/openloops-2.1.2-python3.12.patch
new file mode 100644
index 0..1e76a1835
--- /dev/null
+++ b/sci-physics/openloops/files/openloops-2.1.2-python3.12.patch
@@ -0,0 +1,34 @@
+--- a/SConstruct   2024-05-07 15:56:26.162295325 +0200
 b/SConstruct   2024-05-07 15:56:14.115460655 +0200
+@@ -404,8 +404,9 @@
+   F90FLAGS = config['f90_flags'] + 
config['generic_optimisation'],
+   LINKFLAGS = config['link_flags'],
+   LIBPATH = [config['generic_lib_dir']],
+-  DOLLAR = '\$$',
+-  RPATH = [HashableLiteral('\$$ORIGIN')],
++  DOLLAR = '\\$$',
++  RPATH = [HashableLiteral('\\$$ORIGIN')],
++  SHLIBVERSION = release_version,
+   F90 = config['fortran_compiler'],
+   FORTRAN = config['fortran_compiler'],
+   CC = config['cc'])
+@@ -719,7 +719,7 @@
+ processes_seen[processlib] = loops
+ process_list = process_list_nodup
+ 
+-env.Append(RPATH = [HashableLiteral('\$$ORIGIN/../lib')])
++env.Append(RPATH = [HashableLiteral('\\$$ORIGIN/../lib')])
+ 
+ 
+ for (loops, process_api, processlib) in process_list:
+--- a/SConstruct   2024-05-07 15:59:46.808415000 +0200
 b/SConstruct   2024-05-07 16:00:46.839244667 +0200
+@@ -796,7 +796,7 @@
+ env = env,
+ shared = config['shared_libraries'],
+ env_mod = [
+-  ('^(virtual_\d|tensorsum_|loop_)',
++  ('^(virtual_\\d|tensorsum_|loop_)',
+{'F90FLAGS': config['f90_flags'] + 
config['loop_optimisation']}),
+   ('',
+{'F90FLAGS': config['f90_flags'] + 
config['born_optimisation']})]

diff --git a/sci-physics/openloops/metadata.xml 
b/sci-physics/openloops/metadata.xml
new file mode 100644
index 0..5bec6ac4c
--- /dev/null
+++ b/sci-physics/openloops/metadata.xml
@@ -0,0 +1,23 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+alexan...@neuwirth-informatik.de
+Alexander Puck Neuwirth
+  
+  
+sci-phys...@gentoo.org
+Gentoo Physics Project
+  
+  
+  The OpenLoops 2 program is a fully automated implementation of the Open 
Loops algorithm combined with on-the-fly reduction methods, which allows for 
the fast and stable numerical evaluation of tree and one-loop matrix elements 
for any Standard Model process at NLO QCD and NLO EW.
+  
+  
+openloops/OpenLoops
+  
+  
+Build with collier
+Build libs with extra
+Build with cuttools
+  
+

diff --git a/sci-physics/openloops/openloops-2.1.3.ebuild 
b/sci-physics/openloops/openloops-2.1.3.ebuild
new file mode 100644
index 0..a53eb1f9e
--- /dev/null
+++ b/sci-physics/openloops/openloops-2.1.3.ebuild
@@ -0,0 +1,108 @@
+# Copyri

[gentoo-commits] proj/sci:master commit in: sci-physics/cuttools/files/, sci-physics/cuttools/

2024-06-27 Thread Alexander Puck Neuwirth
commit: f2f3260046e35a2ec6983821e7fc2cdae39cf05b
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 17:37:23 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:16:32 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f2f32600

sci-physics/cuttools: new package, add 1.8.2

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/cuttools/cuttools-1.8.2.ebuild | 52 ++
 sci-physics/cuttools/files/mpnumdummy.f90  | 26 +++
 sci-physics/cuttools/metadata.xml  | 22 +
 3 files changed, 100 insertions(+)

diff --git a/sci-physics/cuttools/cuttools-1.8.2.ebuild 
b/sci-physics/cuttools/cuttools-1.8.2.ebuild
new file mode 100644
index 0..d72b6def0
--- /dev/null
+++ b/sci-physics/cuttools/cuttools-1.8.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fortran-2 toolchain-funcs
+
+DESCRIPTION="Computing 1-loop amplitudes at the integrand level"
+HOMEPAGE="https://www.ugr.es/~pittau/CutTools/";
+SRC_URI="https://www.ugr.es/~pittau/CutTools/${PN}_v${PV}.tar.gz";
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+dummy"
+DEPEND="
+   sci-physics/qcdloop
+   sci-physics/oneloop[dpkind,qpkind16,-qpkind,-tlevel]
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   sed -i 's/^ALL =.*$/ALL = $(CTS)/' src/makefile ||  die
+   if use dummy ; then 
+   cp "${FILESDIR}"/mpnumdummy.f90 src/cts/mpnumdummy.f90 || die
+   fi
+   if use dummy ; then
+   sed -i 's/CTS =/CTS = mpnumdummy.o/' src/makefile || die
+   fi
+}
+
+src_compile() {
+   emake -j1 FFLAGS="${FFLAGS} -I${ESYSROOT}/usr/include -fPIC -std=legacy"
+   tc-export AR CXX
+   cd includects || die
+   ${AR} -x libcts.a || die
+   ${CXX} ${CXXFLAGS} -shared *.o -o lib${PN}.so || die
+}
+
+src_install() {
+   cd includects || die
+   dolib.so lib${PN}.so
+   cd .. || die
+   mv includects ${PN} || die
+   rm ${PN}/*.a || die
+   rm ${PN}/*.so || die
+   rm ${PN}/*.o || die
+   doheader -r ${PN}
+}

diff --git a/sci-physics/cuttools/files/mpnumdummy.f90 
b/sci-physics/cuttools/files/mpnumdummy.f90
new file mode 100644
index 0..be1e0d52b
--- /dev/null
+++ b/sci-physics/cuttools/files/mpnumdummy.f90
@@ -0,0 +1,26 @@
+
+module cts_numdummies
+  implicit none
+  contains
+
+  subroutine dpnumdummy(q,amp)
+! dummy numerator in double precision. Always returns zero.
+implicit none
+include 'cts_dpc.h'
+  , intent(in), dimension(0:3) :: q
+include 'cts_dpc.h'
+  , intent(out) :: amp
+amp = 0
+  end subroutine dpnumdummy
+
+  subroutine mpnumdummy(q,amp)
+! dummy numerator in quad precision. Always returns zero.
+include 'cts_mprec.h'
+implicit none
+include 'cts_mpc.h'
+  , intent(in), dimension(0:3) :: q
+include 'cts_mpc.h'
+  , intent(out) :: amp
+amp = 0
+  end subroutine mpnumdummy
+end module cts_numdummies

diff --git a/sci-physics/cuttools/metadata.xml 
b/sci-physics/cuttools/metadata.xml
new file mode 100644
index 0..ceddefcf0
--- /dev/null
+++ b/sci-physics/cuttools/metadata.xml
@@ -0,0 +1,22 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+alexan...@neuwirth-informatik.de
+Alexander Puck Neuwirth
+  
+  
+sci-phys...@gentoo.org
+Gentoo Physics Project
+  
+  
+  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.
+  
+  
+Add dummy module for OpenLoops
+  
+



[gentoo-commits] proj/sci:master commit in: sci-physics/mcfm/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 5d4faf9e535d371d7574f316e3b3c59e854c4667
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 21:01:16 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:16:46 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=5d4faf9e

sci-physics/mcfm: Adjust oneloop version

Closes: https://github.com/gentoo/sci/pull/1267
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/mcfm/mcfm-10.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-physics/mcfm/mcfm-10.2.1.ebuild 
b/sci-physics/mcfm/mcfm-10.2.1.ebuild
index bfc795247..e2b3b0bcb 100644
--- a/sci-physics/mcfm/mcfm-10.2.1.ebuild
+++ b/sci-physics/mcfm/mcfm-10.2.1.ebuild
@@ -25,7 +25,7 @@ DEPEND="
sci-physics/lhapdf
>=sci-libs/qd-2.3.22
>=sci-physics/qcdloop-2.0.5
-   >=sci-physics/oneloop-2020.07.31
+   >=sci-physics/oneloop-3.6_p20200731
>=sci-libs/handyg-0.1.5
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] proj/sci:master commit in: sci-physics/oneloop/, sci-physics/oneloop/files/

2024-06-27 Thread Alexander Puck Neuwirth
commit: 78d3b300e874a7d0553553d32e2c3387ea03f5c2
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Apr 17 16:56:43 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Jun 27 12:16:23 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=78d3b300

sci-physics/oneloop: add 3.6, drop 2020.07.31

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 ...ig.patch => oneloop-3.6_p20200731-config.patch} |   0
 sci-physics/oneloop/metadata.xml   |  16 
 sci-physics/oneloop/oneloop-2020.07.31.ebuild  |  46 -
 sci-physics/oneloop/oneloop-3.6.ebuild | 106 +
 sci-physics/oneloop/oneloop-3.6_p20200731.ebuild   | 104 
 5 files changed, 226 insertions(+), 46 deletions(-)

diff --git a/sci-physics/oneloop/files/oneloop-2020.07.31-config.patch 
b/sci-physics/oneloop/files/oneloop-3.6_p20200731-config.patch
similarity index 100%
rename from sci-physics/oneloop/files/oneloop-2020.07.31-config.patch
rename to sci-physics/oneloop/files/oneloop-3.6_p20200731-config.patch

diff --git a/sci-physics/oneloop/metadata.xml b/sci-physics/oneloop/metadata.xml
index 35b6c2bd9..40e059101 100644
--- a/sci-physics/oneloop/metadata.xml
+++ b/sci-physics/oneloop/metadata.xml
@@ -9,7 +9,23 @@
sci-phys...@gentoo.org
Gentoo Physics Project

+   
+   Library of one-loop scalar functions by Andreas van Hameren.
+   Commonly named avh_olo and used by/for cuttools.
+   

hameren/oneloop

+   
+   double precision
+   quad precision
+   double16 precision
+   quad16 precision
+   double use sci-libs/qd
+   quad use sci-libs/qd
+use sci-libs/arprec
+use sci-libs/mpfun90
+enable tlevel
+enable cppintf
+   
 

diff --git a/sci-physics/oneloop/oneloop-2020.07.31.ebuild 
b/sci-physics/oneloop/oneloop-2020.07.31.ebuild
deleted file mode 100644
index 9344d1513..0
--- a/sci-physics/oneloop/oneloop-2020.07.31.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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 fortran-2
-
-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"
-
-BDEPEND="
-   ${PYTHON_DEPS}
-   app-arch/unzip
-"
-
-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/oneloop/oneloop-3.6.ebuild 
b/sci-physics/oneloop/oneloop-3.6.ebuild
new file mode 100644
index 0..1a7f5d864
--- /dev/null
+++ b/sci-physics/oneloop/oneloop-3.6.ebuild
@@ -0,0 +1,106 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P=OneLOop-${PV}
+
+# python only needed for create.py to get binaries
+PYTHON_COMPAT=( python3_{10..12} )
+inherit fortran-2 python-any-r1 toolchain-funcs
+
+DESCRIPTION="Library of one-loop scalar functions"
+HOMEPAGE="
+   https://helac-phegas.web.cern.ch/OneLOop.html
+   https://bitbucket.org/hameren/oneloop
+"
+SRC_URI="http://helac-phegas.web.cern.ch/helac-phegas/tar-files/${MY_P}.tgz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+dpkind +qpkind qpkind16 dpkind16 qdcpp ddcpp mpfun90 arprec tlevel 
cppintf"
+REQUIRED_USE="
+   ?? ( dpkind dpkind16 ddcpp )
+   ?? ( qpkind qpkind16 qdcpp )
+   ?? ( arprec mpfun90 )
+   || ( dpkind dpkind16 ddcpp qpkind qpkind16 qdcpp )
+"
+
+DEPEND="
+   qpkind? ( sci-libs/qd )
+   qpkind16? ( sci-libs/qd )
+   arprec? ( sci-libs/arprec )
+   mpfun90? ( sci-libs/mpfun90 )
+"
+RDEPEND="${DEPEND}"
+BDEPEN

[gentoo-commits] proj/sci:master commit in: dev-python/vector/

2024-06-11 Thread Alexander Puck Neuwirth
commit: b63f6f4141dca363e339c8096cb686a8397f8bcf
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Jun 11 10:22:35 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Jun 11 10:22:52 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b63f6f41

dev-python/vector: add 1.4.1, drop 1.4.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/vector/{vector-1.4.0.ebuild => vector-1.4.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/vector/vector-1.4.0.ebuild 
b/dev-python/vector/vector-1.4.1.ebuild
similarity index 100%
rename from dev-python/vector/vector-1.4.0.ebuild
rename to dev-python/vector/vector-1.4.1.ebuild



[gentoo-commits] proj/sci:master commit in: dev-python/hist/

2024-06-03 Thread Alexander Puck Neuwirth
commit: e193385eaeb6594e8be0d1077bcfb13c1b64f282
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Jun  3 08:07:50 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Jun  3 08:07:50 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e193385e

dev-python/hist: add 2.7.3

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/hist/hist-2.7.3.ebuild | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/dev-python/hist/hist-2.7.3.ebuild 
b/dev-python/hist/hist-2.7.3.ebuild
new file mode 100644
index 0..082844a5f
--- /dev/null
+++ b/dev-python/hist/hist-2.7.3.ebuild
@@ -0,0 +1,26 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="Histogramming for analysis powered by boost-histogram "
+HOMEPAGE="https://github.com/scikit-hep/hist";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/boost-histogram-1.3.1[${PYTHON_USEDEP}]
+   >=dev-python/histoprint-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+RESTRICT="test"
+# needs mplhep and dask_histogram ...
+#distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: sci-physics/qgraf/

2024-06-03 Thread Alexander Puck Neuwirth
commit: 24d14a4e6503d194dd298113c6905f061db36c5d
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Jun  3 08:06:34 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Jun  3 08:06:34 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=24d14a4e

sci-physics/qgraf: add 4.0.1

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/qgraf/qgraf-4.0.1.ebuild | 32 
 1 file changed, 32 insertions(+)

diff --git a/sci-physics/qgraf/qgraf-4.0.1.ebuild 
b/sci-physics/qgraf/qgraf-4.0.1.ebuild
new file mode 100644
index 0..942ef732a
--- /dev/null
+++ b/sci-physics/qgraf/qgraf-4.0.1.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:anonym...@qgraf.tecnico.ulisboa.pt/v$(ver_cut 
1-2)/qgraf-${PV}.tgz"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+RESTRICT="bindist mirror"
+
+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
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/madgraph5/, sci-physics/madgraph5/files/

2024-05-16 Thread Alexander Puck Neuwirth
commit: f5adbcfabe52b1e36bc357dd54339905f776c3d8
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue May  7 18:44:35 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu May 16 14:01:53 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f5adbcfa

sci-physics/madgraph5: new package, add 3.5.3

Closes: https://github.com/gentoo/sci/pull/1270
Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/madgraph5/files/cuttools.patch   | 44 +
 sci-physics/madgraph5/madgraph5-3.5.3.ebuild | 93 
 sci-physics/madgraph5/metadata.xml   | 32 ++
 3 files changed, 169 insertions(+)

diff --git a/sci-physics/madgraph5/files/cuttools.patch 
b/sci-physics/madgraph5/files/cuttools.patch
new file mode 100644
index 0..0d6249af8
--- /dev/null
+++ b/sci-physics/madgraph5/files/cuttools.patch
@@ -0,0 +1,44 @@
+diff -Naru MG5_aMC_v2_9_6.orig/vendor/CutTools/makefile 
MG5_aMC_v2_9_6/vendor/CutTools/makefile
+--- MG5_aMC_v2_9_6.orig/vendor/CutTools/makefile   2022-04-13 
11:13:28.277248753 +0200
 MG5_aMC_v2_9_6/vendor/CutTools/makefile2022-04-13 11:13:43.702292725 
+0200
+@@ -42,15 +42,15 @@
+ endif
+ 
+ cpmp:   
+-  cp  -p ./src/cts/cts_mpr.in ./src/cts/cts_mpr.h
+-  cp  -p ./src/cts/cts_mpc.in ./src/cts/cts_mpc.h
+-  cp  -p ./src/cts/cts_mprec.in ./src/cts/cts_mprec.h 
+-  cp  -p ./src/cts/cts_mpinit.in ./src/cts/cts_mpinit.h
++  cp   ./src/cts/cts_mpr.in ./src/cts/cts_mpr.h
++  cp   ./src/cts/cts_mpc.in ./src/cts/cts_mpc.h
++  cp   ./src/cts/cts_mprec.in ./src/cts/cts_mprec.h 
++  cp   ./src/cts/cts_mpinit.in ./src/cts/cts_mpinit.h
+ cpqp:   
+-  cp  -p ./src/cts/cts_qpr.in ./src/cts/cts_mpr.h
+-  cp  -p ./src/cts/cts_qpc.in ./src/cts/cts_mpc.h
+-  cp  -p ./src/cts/cts_qprec.in ./src/cts/cts_mprec.h
+-  cp  -p ./src/cts/cts_qpinit.in ./src/cts/cts_mpinit.h
++  cp   ./src/cts/cts_qpr.in ./src/cts/cts_mpr.h
++  cp   ./src/cts/cts_qpc.in ./src/cts/cts_mpc.h
++  cp   ./src/cts/cts_qprec.in ./src/cts/cts_mprec.h
++  cp   ./src/cts/cts_qpinit.in ./src/cts/cts_mpinit.h
+ 
+ clean$(BLD): default
+   rm -fr  $(BLD)/*.f
+@@ -68,11 +68,11 @@
+ 
+ $(BLD)/version.h: 
+   -mkdir -p $(BLD)
+-  cp  -p ./src/avh/* $(BLD)/ 
+-  cp  -p ./src/cts/* $(BLD)/ 
+-  cp  -p ./src/mpfun90/* $(BLD)/ 
+-  cp  -p ./src/qcdloop/* $(BLD)/ 
+-  cp  -p ./src/makefile $(BLD)/ 
++  cp   ./src/avh/* $(BLD)/ 
++  cp   ./src/cts/* $(BLD)/ 
++  cp   ./src/mpfun90/* $(BLD)/ 
++  cp   ./src/qcdloop/* $(BLD)/ 
++  cp   ./src/makefile $(BLD)/ 
+ 
+ tar:
+   tar -czvf $(CTS_TAR) *

diff --git a/sci-physics/madgraph5/madgraph5-3.5.3.ebuild 
b/sci-physics/madgraph5/madgraph5-3.5.3.ebuild
new file mode 100644
index 0..3ced7918c
--- /dev/null
+++ b/sci-physics/madgraph5/madgraph5-3.5.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# does not escape strings properly, so no python3_12 for now
+PYTHON_COMPAT=( python3_11 )
+inherit fortran-2 python-single-r1
+
+MY_PNN="MadGraph5"
+MY_PV=$(ver_rs 1-3 '_')
+MY_PN="MG5_aMC_v"
+MY_PF=${MY_PN}${MY_PV}
+
+DESCRIPTION="MadGraph5_aMC@NLO"
+HOMEPAGE="https://launchpad.net/mg5amcnlo";
+SRC_URI="https://launchpad.net/mg5amcnlo/$(ver_cut 1).0/$(ver_cut 
1-2).x/+download/${MY_PN}${PV}.tar.gz -> ${MY_PNN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="UoI-NCSA"
+SLOT="3"
+KEYWORDS="~amd64"
+# TODO add pineapple, herwig, syscalc, pjfrym, pineappl
+IUSE="+hepmc2 +lhapdf +fastjet pythia collier thepeg" # td madanalysis5 ninja 
samurai golem95
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sys-libs/zlib
+   sys-devel/gcc:*[fortran]
+   $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   ')
+   lhapdf? ( sci-physics/lhapdf[${PYTHON_SINGLE_USEDEP}] )
+   fastjet? ( sci-physics/fastjet[${PYTHON_SINGLE_USEDEP}] )
+   pythia? ( sci-physics/pythia:8=[examples] )
+   hepmc2? ( sci-physics/hepmc:2 )
+   collier? ( sci-physics/collier[static-libs] )
+   thepeg? (
+ sci-physics/thepeg[hepmc3(-),fastjet?,lhapdf?]
+   )
+"
+#   madanalysis5? ( sci-physics/madanalysis5 )
+#  td? ( sci-physics/topdrawer )
+#  ninja? ( sci-physics/ninja[static-libs] )
+#  samurai? ( sci-physics/samurai )
+#  golem95? ( sci-physics/golem95 )
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/cuttools.patch )
+
+src_unpack() {
+   # Perserve permissions
+   tar xvzf "${DISTDIR}/${MY_PNN}-${PV}.tar.gz" -C "${WORK

[gentoo-commits] proj/sci:master commit in: sci-physics/jaxodraw-bin/

2024-05-06 Thread Alexander Puck Neuwirth
commit: 55493841dd75a1cdd15199aaf38337334fdc7d90
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun May  5 10:24:44 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon May  6 11:59:42 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=55493841

sci-physics/jaxodraw-bin: new package, add 2.1.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/sci/pull/1269

 sci-physics/jaxodraw-bin/jaxodraw-bin-2.1.0.ebuild | 54 ++
 sci-physics/jaxodraw-bin/metadata.xml  | 15 ++
 2 files changed, 69 insertions(+)

diff --git a/sci-physics/jaxodraw-bin/jaxodraw-bin-2.1.0.ebuild 
b/sci-physics/jaxodraw-bin/jaxodraw-bin-2.1.0.ebuild
new file mode 100644
index 0..e23381514
--- /dev/null
+++ b/sci-physics/jaxodraw-bin/jaxodraw-bin-2.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+JAVA_PKG_IUSE="doc source"
+
+inherit desktop java-pkg-2 latex-package
+
+MY_PN="jaxodraw"
+MY_PV=$(ver_rs 2 '-')
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="Java program for drawing Feynman diagrams"
+HOMEPAGE="
+   https://jaxodraw.sourceforge.io/index.html
+   http://jaxodraw.sourceforge.net/
+"
+SRC_URI="
+   https://${MY_PN}.sourceforge.net/download/pkgs/${MY_P}-bin.tar.gz
+   https://${MY_PN}.sourceforge.net/download/pkgs/${MY_P}-src.tar.gz
+   latex? ( 
https://downloads.sourceforge.net/${MY_PN}/axodraw4j_2008_11_19.tar.gz )
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+latex"
+
+DEPEND="
+   >=virtual/jdk-1.8
+   latex? ( dev-texlive/texlive-pstricks:0 )
+"
+
+RDEPEND=">=virtual/jre-1.8"
+
+src_install() {
+   java-pkg_newjar ${MY_P}.jar
+
+   newicon src/site/resources/images/favicon.ico jaxodraw.ico
+   make_desktop_entry jaxodraw JaxoDraw jaxodraw.ico
+
+   use source && java-pkg_dosrc src/main/java/net
+
+   dodoc src/doc/BUGS src/doc/CHANGELOG src/doc/README src/doc/TODO
+   use doc && java-pkg_dojavadoc build/javadoc
+
+   java-pkg_dolauncher "${MY_P}"
+
+   if use latex; then
+   cd "${WORKDIR}" || die "Failed to cd ${WORKDIR}"
+   latex-package_src_doinstall
+   fi
+}

diff --git a/sci-physics/jaxodraw-bin/metadata.xml 
b/sci-physics/jaxodraw-bin/metadata.xml
new file mode 100644
index 0..7a665fa37
--- /dev/null
+++ b/sci-physics/jaxodraw-bin/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+   
+   jaxodraw
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/histoprint/

2024-05-06 Thread Alexander Puck Neuwirth
commit: 773b0fb36a5644343e8592ea6a34472524234e06
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 21:16:28 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon May  6 08:23:18 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=773b0fb3

dev-python/histoprint: new package, add 2.4.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/histoprint/histoprint-2.4.0.ebuild | 20 
 dev-python/histoprint/metadata.xml| 19 +++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/histoprint/histoprint-2.4.0.ebuild 
b/dev-python/histoprint/histoprint-2.4.0.ebuild
new file mode 100644
index 0..b6395b898
--- /dev/null
+++ b/dev-python/histoprint/histoprint-2.4.0.ebuild
@@ -0,0 +1,20 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pretty print histograms to the console"
+HOMEPAGE="https://github.com/scikit-hep/histoprint";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/click-7.0.0[${PYTHON_USEDEP}]
+   >=dev-python/uhi-0.2.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/histoprint/metadata.xml 
b/dev-python/histoprint/metadata.xml
new file mode 100644
index 0..78373f05f
--- /dev/null
+++ b/dev-python/histoprint/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Histoprint uses a mix of terminal color codes and Unicode trickery 
(i.e. combining characters) to plot overlaying histograms. Some terminals are 
not able to display Unicode combining characters correctly. Histoprint can 
still be used in those terminals, but the character set needs to be constrained 
to the non-combining ones (see below).
+   
+   
+   histoprint
+   scikit-hep/histoprint
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/hist/

2024-05-06 Thread Alexander Puck Neuwirth
commit: 3a4aefebff189bf3eea674c215827925240f418f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 21:18:32 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon May  6 08:23:31 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=3a4aefeb

dev-python/hist: new package, add 2.7.2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/sci/pull/1259

 dev-python/hist/hist-2.7.2.ebuild | 26 ++
 dev-python/hist/metadata.xml  | 19 +++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/hist/hist-2.7.2.ebuild 
b/dev-python/hist/hist-2.7.2.ebuild
new file mode 100644
index 0..082844a5f
--- /dev/null
+++ b/dev-python/hist/hist-2.7.2.ebuild
@@ -0,0 +1,26 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="Histogramming for analysis powered by boost-histogram "
+HOMEPAGE="https://github.com/scikit-hep/hist";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/boost-histogram-1.3.1[${PYTHON_USEDEP}]
+   >=dev-python/histoprint-2.2.0[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+RESTRICT="test"
+# needs mplhep and dask_histogram ...
+#distutils_enable_tests pytest

diff --git a/dev-python/hist/metadata.xml b/dev-python/hist/metadata.xml
new file mode 100644
index 0..566083fe3
--- /dev/null
+++ b/dev-python/hist/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Hist is an analyst-friendly front-end for boost-histogram, designed for 
Python 3.7+ (3.6 users get version 2.4)
+   
+   
+   hist
+   scikit-hep/hist
+   
+



[gentoo-commits] proj/sci:master commit in: sci-physics/pyhf/

2024-04-29 Thread Alexander Puck Neuwirth
commit: 7057468421337302f4dd9f9086c501496474402e
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Apr 29 11:14:29 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Apr 29 11:14:29 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=70574684

sci-physics/pyhf: add 0.7.5

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/pyhf/pyhf-0.7.5.ebuild | 37 +
 1 file changed, 37 insertions(+)

diff --git a/sci-physics/pyhf/pyhf-0.7.5.ebuild 
b/sci-physics/pyhf/pyhf-0.7.5.ebuild
new file mode 100644
index 0..22a36af7f
--- /dev/null
+++ b/sci-physics/pyhf/pyhf-0.7.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+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"
+# test needs missing scrapbook papermill pydocstyle ...
+RESTRICT="test"
+
+RDEPEND="
+   >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
+   >=dev-python/jsonpatch-1.15[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-4.15.0[${PYTHON_USEDEP}]
+   >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+   >=dev-python/scipy-1.5.2[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.56.0[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"



[gentoo-commits] proj/sci:master commit in: dev-python/vector/

2024-04-25 Thread Alexander Puck Neuwirth
commit: 281eaa53826e68185d854a988365ca50503ceb5f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Apr 25 12:28:34 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Apr 25 12:29:52 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=281eaa53

dev-python/vector: add 1.4.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/vector/vector-1.4.0.ebuild | 34 ++
 1 file changed, 34 insertions(+)

diff --git a/dev-python/vector/vector-1.4.0.ebuild 
b/dev-python/vector/vector-1.4.0.ebuild
new file mode 100644
index 0..a57240b49
--- /dev/null
+++ b/dev-python/vector/vector-1.4.0.ebuild
@@ -0,0 +1,34 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi optfeature
+
+DESCRIPTION="Vector classes and utilities"
+HOMEPAGE="
+   https://github.com/scikit-hep/vector
+   https://vector.readthedocs.io/
+   https://doi.org/10.5281/zenodo.7054478
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+# tests need numba
+RESTRICT="test"
+
+RDEPEND="
+   >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-19[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+pkg_postinst() {
+   optfeature "awkward array support" dev-python/awkward
+   optfeature "sympy support" dev-python/sympy
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/cernlib/

2024-04-24 Thread Alexander Puck Neuwirth
commit: 55da92a78fb0bf296acf20a2b09ae8290c53426d
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Apr 23 14:50:25 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Apr 24 14:12:19 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=55da92a7

sci-physics/cernlib: Fix test failures

Closes: https://github.com/gentoo/sci/pull/1268
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 ...-2023.10.31.0-r1.ebuild => cernlib-2023.10.31.0-r2.ebuild} | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild 
b/sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild
similarity index 82%
rename from sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
rename to sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild
index c5c919678..93220dffb 100644
--- a/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
+++ b/sci-physics/cernlib/cernlib-2023.10.31.0-r2.ebuild
@@ -1,7 +1,7 @@
 EAPI=8
 
 CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake fortran-2
+inherit cmake fortran-2 flag-o-matic
 
 DESCRIPTION="CERN program library for High Energy Physics"
 HOMEPAGE="https://cernlib.web.cern.ch/cernlib/";
@@ -16,7 +16,8 @@ LICENSE="
 "
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+free"
+# static-libs as default since otherwise test fail...
+IUSE="+free +static-libs"
 RESTRICT="mirror"
 
 RDEPEND="
@@ -59,6 +60,12 @@ 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
+   # with -O2 some tests fail
+   # let upstream decide on optimization (-O0) since code is fragile
+   filter-flags -O1 -O2 -O3 -Os -Oz -Og -Ofast
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
+   )
cmake_src_configure
 }
 



[gentoo-commits] proj/sci:master commit in: sci-physics/particle/

2024-04-23 Thread Alexander Puck Neuwirth
commit: 0d6d40c476ef48c4e25a87f97426399dfb657438
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Apr 23 13:53:46 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Apr 23 13:53:46 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d6d40c4

sci-physics/particle: add 0.24.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/particle/particle-0.24.0.ebuild | 44 +
 1 file changed, 44 insertions(+)

diff --git a/sci-physics/particle/particle-0.24.0.ebuild 
b/sci-physics/particle/particle-0.24.0.ebuild
new file mode 100644
index 0..43f1e67ca
--- /dev/null
+++ b/sci-physics/particle/particle-0.24.0.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} ==  ]]; 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
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/cernlib/

2024-04-23 Thread Alexander Puck Neuwirth
commit: 76470804a085b752ebcae40c612f16fc32699379
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Apr 23 13:15:14 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Apr 23 13:15:14 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=76470804

sci-physics/cernlib: Drop var MY_P

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild 
b/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
index 326fadde3..c5c919678 100644
--- a/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
+++ b/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
@@ -3,7 +3,6 @@ EAPI=8
 CMAKE_MAKEFILE_GENERATOR="emake"
 inherit cmake fortran-2
 
-MY_P="${P}"
 DESCRIPTION="CERN program library for High Energy Physics"
 HOMEPAGE="https://cernlib.web.cern.ch/cernlib/";
 SRC_URI="



[gentoo-commits] proj/sci:master commit in: sci-physics/formcalc/

2024-04-17 Thread Alexander Puck Neuwirth
commit: 74771d4deed5bff927bf492fdc1d86bf2f099dce
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Apr 10 19:17:08 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Apr 17 10:20:18 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=74771d4d

sci-physics/formcalc: inherit fortran-2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/formcalc/formcalc-9.10-r1.ebuild | 2 ++
 sci-physics/formcalc/formcalc-9.9-r1.ebuild  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sci-physics/formcalc/formcalc-9.10-r1.ebuild 
b/sci-physics/formcalc/formcalc-9.10-r1.ebuild
index cefbd13bf..fb57ea648 100644
--- a/sci-physics/formcalc/formcalc-9.10-r1.ebuild
+++ b/sci-physics/formcalc/formcalc-9.10-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit fortran-2
+
 MY_PN=FormCalc
 MY_P=${MY_PN}-${PV}
 

diff --git a/sci-physics/formcalc/formcalc-9.9-r1.ebuild 
b/sci-physics/formcalc/formcalc-9.9-r1.ebuild
index 6ccb521fb..91d88dd99 100644
--- a/sci-physics/formcalc/formcalc-9.9-r1.ebuild
+++ b/sci-physics/formcalc/formcalc-9.9-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit fortran-2
+
 MY_PN=FormCalc
 MY_P=${MY_PN}-${PV}
 



[gentoo-commits] proj/sci:master commit in: sci-physics/qcdloop/

2024-04-17 Thread Alexander Puck Neuwirth
commit: 21613b44a78c29aa0db553380a15ae494b19d314
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Apr 10 19:16:41 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Apr 17 10:20:17 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=21613b44

sci-physics/qcdloop: inherit fortran-2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/qcdloop/qcdloop-2.0.5.ebuild | 8 +---
 sci-physics/qcdloop/qcdloop-2.0.9.ebuild | 8 +---
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild 
b/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
index 19a247ba2..672957c56 100644
--- a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
+++ b/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake
+inherit cmake fortran-2
 
 DESCRIPTION="An object-oriented one-loop scalar Feynman integrals framework"
 HOMEPAGE="https://qcdloop.web.cern.ch/qcdloop/";
@@ -15,12 +15,6 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/fortran
-"
-
 PATCHES=(
"${FILESDIR}"/${P}-cxx.patch
 )

diff --git a/sci-physics/qcdloop/qcdloop-2.0.9.ebuild 
b/sci-physics/qcdloop/qcdloop-2.0.9.ebuild
index ccea20aa5..6486e70b9 100644
--- a/sci-physics/qcdloop/qcdloop-2.0.9.ebuild
+++ b/sci-physics/qcdloop/qcdloop-2.0.9.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake
+inherit cmake fortran-2
 
 DESCRIPTION="An object-oriented one-loop scalar Feynman integrals framework"
 HOMEPAGE="https://qcdloop.web.cern.ch/qcdloop/";
@@ -15,12 +15,6 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/fortran
-"
-
 PATCHES=(
"${FILESDIR}"/${P}-cxx.patch
 )



[gentoo-commits] proj/sci:master commit in: sci-physics/collier/

2024-04-17 Thread Alexander Puck Neuwirth
commit: 26fd6b8a5e827b48ef11d067c324f4c5fe5601c7
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Apr 10 19:17:49 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Apr 17 10:20:20 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=26fd6b8a

sci-physics/collier: drop virtual/fortran

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/collier/collier-1.2.8.ebuild | 6 ++
 sci-physics/collier/metadata.xml | 3 ---
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/sci-physics/collier/collier-1.2.8.ebuild 
b/sci-physics/collier/collier-1.2.8.ebuild
index b50f9a279..c9410cf34 100644
--- a/sci-physics/collier/collier-1.2.8.ebuild
+++ b/sci-physics/collier/collier-1.2.8.ebuild
@@ -19,11 +19,9 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 IUSE="static-libs"
-BDEPEND="
-   virtual/fortran
-"
+
 PATCHES=(
-"${FILESDIR}/${PN}-1.2.7-mod.patch"
+   "${FILESDIR}/${PN}-1.2.7-mod.patch"
 )
 
 src_configure() {

diff --git a/sci-physics/collier/metadata.xml b/sci-physics/collier/metadata.xml
index f863d8237..72f8361a4 100644
--- a/sci-physics/collier/metadata.xml
+++ b/sci-physics/collier/metadata.xml
@@ -16,7 +16,4 @@
   to the scalar one-loop functions of FF and in addition provides 
   the 2-, 3-, and 4-point tensor coefficient functions.
   
-  
-Build static library
-  
 



[gentoo-commits] proj/sci:master commit in: sci-physics/mcfm/

2024-04-17 Thread Alexander Puck Neuwirth
commit: 98c2b6d99ac3f38f22f7927b54f09527a2cf27a7
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Apr 10 19:19:22 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Apr 17 10:20:22 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=98c2b6d9

sci-physics/mcfm: inherit fortran-2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/mcfm/mcfm-10.2.1.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sci-physics/mcfm/mcfm-10.2.1.ebuild 
b/sci-physics/mcfm/mcfm-10.2.1.ebuild
index 9a928e4c9..bfc795247 100644
--- a/sci-physics/mcfm/mcfm-10.2.1.ebuild
+++ b/sci-physics/mcfm/mcfm-10.2.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake
+inherit cmake fortran-2
 
 MY_PN=MCFM
 MY_P=${MY_PN}-${PV}
@@ -29,9 +29,6 @@ DEPEND="
>=sci-libs/handyg-0.1.5
 "
 RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/fortran
-"
 
 PATCHES=(
"${FILESDIR}"/${P}-rest.patch



[gentoo-commits] proj/sci:master commit in: sci-physics/oneloop/

2024-04-17 Thread Alexander Puck Neuwirth
commit: 6d3d25d39b4f3ab569cc836491e3b3abf8994b49
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Apr 10 19:19:59 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Apr 17 10:20:23 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6d3d25d3

sci-physics/oneloop: add bitbucket upstream metadata

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/oneloop/metadata.xml  | 3 +++
 sci-physics/oneloop/oneloop-2020.07.31.ebuild | 5 +
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-physics/oneloop/metadata.xml b/sci-physics/oneloop/metadata.xml
index bdee6992b..35b6c2bd9 100644
--- a/sci-physics/oneloop/metadata.xml
+++ b/sci-physics/oneloop/metadata.xml
@@ -9,4 +9,7 @@
sci-phys...@gentoo.org
Gentoo Physics Project

+   
+   hameren/oneloop
+   
 

diff --git a/sci-physics/oneloop/oneloop-2020.07.31.ebuild 
b/sci-physics/oneloop/oneloop-2020.07.31.ebuild
index 8b98d1e1d..9344d1513 100644
--- a/sci-physics/oneloop/oneloop-2020.07.31.ebuild
+++ b/sci-physics/oneloop/oneloop-2020.07.31.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # python only needed for create.py to get binaries
 PYTHON_COMPAT=( python3_{10..11} )
-inherit toolchain-funcs python-any-r1
+inherit toolchain-funcs python-any-r1 fortran-2
 
 DESCRIPTION="Library of one-loop scalar functions"
 HOMEPAGE="https://bitbucket.org/hameren/oneloop";
@@ -16,12 +16,9 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
 BDEPEND="
${PYTHON_DEPS}
app-arch/unzip
-   virtual/fortran
 "
 
 PATCHES=(



[gentoo-commits] proj/sci:master commit in: sci-physics/cernlib/

2024-04-09 Thread Alexander Puck Neuwirth
commit: d92a65a7066fd6bc6467e88a26c33e9e5a152a8e
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Apr  8 11:32:34 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Apr  9 13:05:35 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d92a65a7

sci-physics/cernlib: split free and non-free

Closes: https://github.com/gentoo/sci/pull/1265
Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 31.0.ebuild => cernlib-2023.10.31.0-r1.ebuild} | 28 +-
 sci-physics/cernlib/metadata.xml   |  3 +++
 2 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/sci-physics/cernlib/cernlib-2023.10.31.0.ebuild 
b/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
similarity index 70%
rename from sci-physics/cernlib/cernlib-2023.10.31.0.ebuild
rename to sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
index 697a25ef0..326fadde3 100644
--- a/sci-physics/cernlib/cernlib-2023.10.31.0.ebuild
+++ b/sci-physics/cernlib/cernlib-2023.10.31.0-r1.ebuild
@@ -3,14 +3,22 @@ EAPI=8
 CMAKE_MAKEFILE_GENERATOR="emake"
 inherit cmake fortran-2
 
+MY_P="${P}"
 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"
+SRC_URI="
+   free? ( 
https://cernlib.web.cern.ch/download/2023_source/tar/${P}-free.tar.gz )
+   !free? ( 
https://cernlib.web.cern.ch/download/2023_source/tar/${P}.tar.gz )
+"
 
-LICENSE="GPL-3"
+LICENSE="
+   free? ( BSD LGPL-2+ GPL-1+ )
+   !free? ( all-rights-reserved )
+"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="+free"
+RESTRICT="mirror"
 
 RDEPEND="
x11-libs/motif:0
@@ -28,10 +36,18 @@ BDEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}"/$P-cfortran.patch
-   "${FILESDIR}"/$P-ctest.patch
-   "${FILESDIR}"/$P-man.patch
+   "${FILESDIR}"/${P}-cfortran.patch
+   "${FILESDIR}"/${P}-ctest.patch
+   "${FILESDIR}"/${P}-man.patch
 )
+
+src_unpack() {
+   default
+   if use free; then
+   mv ${P}-free ${P} || die
+   fi
+}
+
 src_prepare() {
cmake_src_prepare
# cfortran.patch

diff --git a/sci-physics/cernlib/metadata.xml b/sci-physics/cernlib/metadata.xml
index 887c950bc..dcbfb9b47 100644
--- a/sci-physics/cernlib/metadata.xml
+++ b/sci-physics/cernlib/metadata.xml
@@ -18,4 +18,7 @@
   mathematics, data analysis, detectors simulation, data-handling
   etc... applicable to a wide range of problems.
   
+  
+ Use free sources 
+  
 



[gentoo-commits] proj/sci:master commit in: sci-physics/formcalc/

2024-04-09 Thread Alexander Puck Neuwirth
commit: 59675e1c7f9bdcc501e8be8ebfc13e3c6ca72029
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Apr  2 15:15:13 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Apr  9 13:03:16 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=59675e1c

sci-physics/formcalc: fix chmod cannot access

Closes: https://github.com/gentoo/sci/pull/1264
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/formcalc/formcalc-9.10-r1.ebuild | 9 ++---
 sci-physics/formcalc/formcalc-9.9-r1.ebuild  | 9 ++---
 2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/sci-physics/formcalc/formcalc-9.10-r1.ebuild 
b/sci-physics/formcalc/formcalc-9.10-r1.ebuild
index 6cee48279..cefbd13bf 100644
--- a/sci-physics/formcalc/formcalc-9.10-r1.ebuild
+++ b/sci-physics/formcalc/formcalc-9.10-r1.ebuild
@@ -36,14 +36,9 @@ src_compile() {
 
 src_install() {
MMADIR=/usr/share/Mathematica/Applications
+   # unversioned directory
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
+   mv "${WORKDIR}/${MY_P}" "${ED}${MMADIR}" || die
# 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

diff --git a/sci-physics/formcalc/formcalc-9.9-r1.ebuild 
b/sci-physics/formcalc/formcalc-9.9-r1.ebuild
index a5cd57431..6ccb521fb 100644
--- a/sci-physics/formcalc/formcalc-9.9-r1.ebuild
+++ b/sci-physics/formcalc/formcalc-9.9-r1.ebuild
@@ -38,14 +38,9 @@ src_compile() {
 
 src_install() {
MMADIR=/usr/share/Mathematica/Applications
+   # unversioned directory
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
+   mv "${WORKDIR}/${MY_P}" "${ED}${MMADIR}" || die
# 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



[gentoo-commits] proj/sci:master commit in: sci-physics/qgraf/

2024-04-02 Thread Alexander Puck Neuwirth
commit: ea0d38d766e9a2c50c90a41b92e50c05e1075dc0
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Apr  2 10:07:33 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Apr  2 10:07:33 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ea0d38d7

sci-physics/qgraf: explicit die on fortran compile

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/qgraf/qgraf-3.4.2.ebuild | 2 +-
 sci-physics/qgraf/qgraf-3.5.2.ebuild | 2 +-
 sci-physics/qgraf/qgraf-3.6.7.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-physics/qgraf/qgraf-3.4.2.ebuild 
b/sci-physics/qgraf/qgraf-3.4.2.ebuild
index 364198c4b..cdab94002 100644
--- a/sci-physics/qgraf/qgraf-3.4.2.ebuild
+++ b/sci-physics/qgraf/qgraf-3.4.2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64"
 IUSE="doc examples"
 
 src_compile() {
-   $(tc-getFC) ${P}.f -o ${PN} ${FFLAGS} ${LDFLAGS}
+   $(tc-getFC) ${P}.f -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to 
compile"
 }
 
 src_install() {

diff --git a/sci-physics/qgraf/qgraf-3.5.2.ebuild 
b/sci-physics/qgraf/qgraf-3.5.2.ebuild
index 7e9f88328..4194295a4 100644
--- a/sci-physics/qgraf/qgraf-3.5.2.ebuild
+++ b/sci-physics/qgraf/qgraf-3.5.2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64"
 IUSE="doc examples"
 
 src_compile() {
-   $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS}
+   $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to 
compile"
 }
 
 src_install() {

diff --git a/sci-physics/qgraf/qgraf-3.6.7.ebuild 
b/sci-physics/qgraf/qgraf-3.6.7.ebuild
index 7e9f88328..4194295a4 100644
--- a/sci-physics/qgraf/qgraf-3.6.7.ebuild
+++ b/sci-physics/qgraf/qgraf-3.6.7.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64"
 IUSE="doc examples"
 
 src_compile() {
-   $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS}
+   $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to 
compile"
 }
 
 src_install() {



[gentoo-commits] proj/sci:master commit in: sci-physics/qgraf/

2024-03-31 Thread Alexander Puck Neuwirth
commit: 5792303c3f9635dc69da36987634196975d1a6af
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 31 19:46:08 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sun Mar 31 19:49:13 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=5792303c

sci-physics/qgraf: add 3.4.2, 3.5.2, 3.6.7, drop 3.6.5, 3.6.6

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/qgraf/{qgraf-3.6.6.ebuild => qgraf-3.4.2.ebuild} | 2 +-
 sci-physics/qgraf/{qgraf-3.6.5.ebuild => qgraf-3.5.2.ebuild} | 6 +-
 sci-physics/qgraf/{qgraf-3.6.5.ebuild => qgraf-3.6.7.ebuild} | 6 +-
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/sci-physics/qgraf/qgraf-3.6.6.ebuild 
b/sci-physics/qgraf/qgraf-3.4.2.ebuild
similarity index 89%
rename from sci-physics/qgraf/qgraf-3.6.6.ebuild
rename to sci-physics/qgraf/qgraf-3.4.2.ebuild
index 4194295a4..364198c4b 100644
--- a/sci-physics/qgraf/qgraf-3.6.6.ebuild
+++ b/sci-physics/qgraf/qgraf-3.4.2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64"
 IUSE="doc examples"
 
 src_compile() {
-   $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to 
compile"
+   $(tc-getFC) ${P}.f -o ${PN} ${FFLAGS} ${LDFLAGS}
 }
 
 src_install() {

diff --git a/sci-physics/qgraf/qgraf-3.6.5.ebuild 
b/sci-physics/qgraf/qgraf-3.5.2.ebuild
similarity index 89%
copy from sci-physics/qgraf/qgraf-3.6.5.ebuild
copy to sci-physics/qgraf/qgraf-3.5.2.ebuild
index 68e0ebf97..7e9f88328 100644
--- a/sci-physics/qgraf/qgraf-3.6.5.ebuild
+++ b/sci-physics/qgraf/qgraf-3.5.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+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";
@@ -16,10 +16,6 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="doc examples"
 
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
 src_compile() {
$(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS}
 }

diff --git a/sci-physics/qgraf/qgraf-3.6.5.ebuild 
b/sci-physics/qgraf/qgraf-3.6.7.ebuild
similarity index 89%
rename from sci-physics/qgraf/qgraf-3.6.5.ebuild
rename to sci-physics/qgraf/qgraf-3.6.7.ebuild
index 68e0ebf97..7e9f88328 100644
--- a/sci-physics/qgraf/qgraf-3.6.5.ebuild
+++ b/sci-physics/qgraf/qgraf-3.6.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+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";
@@ -16,10 +16,6 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="doc examples"
 
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
 src_compile() {
$(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS}
 }



[gentoo-commits] proj/sci:master commit in: sci-physics/cernlib/, sci-physics/cernlib/files/

2024-03-22 Thread Alexander Puck Neuwirth
commit: 2ba82f4414b79a0fd2473c45f0b6701e632e40bd
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 13:34:57 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Fri Mar 22 16:37:26 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2ba82f44

sci-physics/cernlib: new package, add 2023.10.31.0

Closes: https://github.com/gentoo/sci/pull/1243
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/cernlib/cernlib-2023.10.31.0.ebuild| 57 ++
 .../files/cernlib-2023.10.31.0-cfortran.patch  | 21 
 .../cernlib/files/cernlib-2023.10.31.0-ctest.patch | 31 
 .../cernlib/files/cernlib-2023.10.31.0-man.patch   | 22 +
 sci-physics/cernlib/metadata.xml   | 21 
 5 files changed, 152 insertions(+)

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 0..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 0..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 0..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} 
{MYC

[gentoo-commits] proj/sci:master commit in: sci-physics/scikit-hep-testdata/

2024-03-20 Thread Alexander Puck Neuwirth
commit: a00db1fc41fc8e3850be968e1f3b1907e3920eaf
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Mar 20 07:08:31 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Mar 20 10:22:16 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=a00db1fc

sci-physics/scikit-hep-testdata: new package, add 0.4.39

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/scikit-hep-testdata/metadata.xml   | 19 ++
 .../scikit-hep-testdata-0.4.39.ebuild  | 30 ++
 2 files changed, 49 insertions(+)

diff --git a/sci-physics/scikit-hep-testdata/metadata.xml 
b/sci-physics/scikit-hep-testdata/metadata.xml
new file mode 100644
index 0..ea2e37599
--- /dev/null
+++ b/sci-physics/scikit-hep-testdata/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   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".
+   
+   
+   scikit-hep-testdata
+   scikit-hep/scikit-hep-testdata
+   
+

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 0..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



[gentoo-commits] proj/sci:master commit in: sci-physics/pylhe/, sci-physics/pylhe/files/

2024-03-20 Thread Alexander Puck Neuwirth
commit: c1dc06bee3b7aa287ba0d417a5676ad63c07d57e
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Mar 20 07:10:54 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Mar 20 10:22:27 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1dc06be

sci-physics/pylhe: new package, add 0.7.0, 0.8.0

Closes: https://github.com/gentoo/sci/pull/1262
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/pylhe/files/pylhe-0.7.0-coverage.patch |  8 +
 sci-physics/pylhe/metadata.xml | 19 
 sci-physics/pylhe/pylhe-0.7.0.ebuild   | 35 ++
 sci-physics/pylhe/pylhe-0.8.0.ebuild   | 35 ++
 4 files changed, 97 insertions(+)

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 0..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 0..86ede8deb
--- /dev/null
+++ b/sci-physics/pylhe/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Small and thin Python interface to read Les Houches Event (LHE) files.
+   
+   
+   pylhe
+   scikit-hep/pylhe
+   
+

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 0..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 0..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



[gentoo-commits] proj/sci:master commit in: sci-physics/uproot/

2024-03-20 Thread Alexander Puck Neuwirth
commit: c765189268610d7516a1a83d82f7e8bd482ce84b
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Mar 19 19:30:45 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Mar 20 10:21:24 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c7651892

sci-physics/uproot: new package, add 5.3.1

Closes: https://github.com/gentoo/sci/pull/1261
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/uproot/metadata.xml| 21 +
 sci-physics/uproot/uproot-5.3.1.ebuild | 28 
 2 files changed, 49 insertions(+)

diff --git a/sci-physics/uproot/metadata.xml b/sci-physics/uproot/metadata.xml
new file mode 100644
index 0..1b293facb
--- /dev/null
+++ b/sci-physics/uproot/metadata.xml
@@ -0,0 +1,21 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   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.
+   
+   
+   uproot
+   scikit-hep/uproot5
+   
+

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 0..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



[gentoo-commits] proj/sci:master commit in: dev-python/awkward/

2024-03-19 Thread Alexander Puck Neuwirth
commit: 0d7ad5db16dcdab71f94d4b39fc3599aaffa
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Mar 19 20:59:06 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Mar 19 20:59:06 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d7ad5db

dev-python/awkward: add missing test dependency

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/awkward/awkward-2.5.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/awkward/awkward-2.5.2.ebuild 
b/dev-python/awkward/awkward-2.5.2.ebuild
index 75c754dda..c11095214 100644
--- a/dev-python/awkward/awkward-2.5.2.ebuild
+++ b/dev-python/awkward/awkward-2.5.2.ebuild
@@ -22,6 +22,7 @@ BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
test? (
+   dev-libs/apache-arrow[zstd]
dev-python/pyarrow[${PYTHON_USEDEP}]
dev-python/fsspec[${PYTHON_USEDEP}]
dev-python/numexpr[${PYTHON_USEDEP}]



[gentoo-commits] proj/sci:master commit in: sci-physics/particle/

2024-03-19 Thread Alexander Puck Neuwirth
commit: d41f019755193ba78fdffe64e1d6bd726d810b7e
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Mar 19 19:42:10 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Mar 19 19:42:10 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d41f0197

sci-physics/particle: add 0.23.1, enable py3.12

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/particle/{particle-.ebuild => particle-0.23.1.ebuild} | 2 +-
 sci-physics/particle/particle-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/particle/particle-.ebuild 
b/sci-physics/particle/particle-0.23.1.ebuild
similarity index 95%
copy from sci-physics/particle/particle-.ebuild
copy to sci-physics/particle/particle-0.23.1.ebuild
index 88da33c3e..43f1e67ca 100644
--- a/sci-physics/particle/particle-.ebuild
+++ b/sci-physics/particle/particle-0.23.1.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 

diff --git a/sci-physics/particle/particle-.ebuild 
b/sci-physics/particle/particle-.ebuild
index 88da33c3e..43f1e67ca 100644
--- a/sci-physics/particle/particle-.ebuild
+++ b/sci-physics/particle/particle-.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 



[gentoo-commits] proj/sci:master commit in: sci-libs/vegas/

2024-03-19 Thread Alexander Puck Neuwirth
commit: 071a47e6cd9c931e84da4fc67dbc35903f5f0750
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sat Mar 16 09:33:21 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Mar 19 17:02:45 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=071a47e6

sci-libs/vegas: new package, add 6.0.1

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-libs/vegas/metadata.xml   | 19 +++
 sci-libs/vegas/vegas-6.0.1.ebuild | 24 
 2 files changed, 43 insertions(+)

diff --git a/sci-libs/vegas/metadata.xml b/sci-libs/vegas/metadata.xml
new file mode 100644
index 0..8ae183900
--- /dev/null
+++ b/sci-libs/vegas/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   The vegas package is for evaluating multidimensional integrals using an 
improved version of the adaptive Monte Carlo vegas algorithm (G. P. Lepage, J. 
Comput. Phys. 27(1978) 192). 
+   
+   
+   vegas
+   gplepage/vegas
+   
+

diff --git a/sci-libs/vegas/vegas-6.0.1.ebuild 
b/sci-libs/vegas/vegas-6.0.1.ebuild
new file mode 100644
index 0..7654563e4
--- /dev/null
+++ b/sci-libs/vegas/vegas-6.0.1.ebuild
@@ -0,0 +1,24 @@
+EAPI=8
+
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Adaptive multidimensional Monte Carlo integration."
+HOMEPAGE="https://github.com/gplepage/vegas";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+   >=dev-python/numpy-1.16[${PYTHON_USEDEP}]
+   >=sci-libs/gvar-13.0.2[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   >=dev-python/cython-0.17[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest



[gentoo-commits] proj/sci:master commit in: sci-libs/gvar/

2024-03-19 Thread Alexander Puck Neuwirth
commit: c511ece6ebd84adcb0e5211b587c9196f3f43fed
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sat Mar 16 08:12:33 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Mar 19 17:02:43 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c511ece6

sci-libs/gvar: new package, add 13.0.2

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-libs/gvar/gvar-13.0.2.ebuild | 22 ++
 sci-libs/gvar/metadata.xml   | 19 +++
 2 files changed, 41 insertions(+)

diff --git a/sci-libs/gvar/gvar-13.0.2.ebuild b/sci-libs/gvar/gvar-13.0.2.ebuild
new file mode 100644
index 0..b9d9121e4
--- /dev/null
+++ b/sci-libs/gvar/gvar-13.0.2.ebuild
@@ -0,0 +1,22 @@
+EAPI=8
+
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Gaussian random variables."
+HOMEPAGE="https://github.com/gplepage/gvar";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+   >=dev-python/cython-0.17[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.16[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest

diff --git a/sci-libs/gvar/metadata.xml b/sci-libs/gvar/metadata.xml
new file mode 100644
index 0..31346f0dd
--- /dev/null
+++ b/sci-libs/gvar/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+       
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   This package facilitates the creation and manipulation of arbitrarily 
complicated (correlated) multi-dimensional Gaussian random variables. The 
random variables are represented by a new data type (gvar.GVar) that can be 
used in arithmetic expressions and pure Python functions. Such 
expressions/functions create new Gaussian random variables while automatically 
tracking statistical correlations between the new and old variables. This data 
type is useful for simple error propagation, but also is heavily used by the 
Bayesian least-squares fitting module lsqfit.py to define priors and specify 
fit results, while accounting for correlations between all variables.
+   
+   
+   gvar
+   gplepage/gvar
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/awkward/

2024-03-19 Thread Alexander Puck Neuwirth
commit: 0a7d66b3d22bf305ebf01ba53239c9d9ed2caa46
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sat Mar 16 12:07:34 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Mar 19 16:33:24 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0a7d66b3

dev-python/awkward: new package, add 2.5.2

Closes: https://github.com/gentoo/sci/pull/1257
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/awkward/awkward-2.5.2.ebuild | 37 +
 dev-python/awkward/metadata.xml | 19 +
 2 files changed, 56 insertions(+)

diff --git a/dev-python/awkward/awkward-2.5.2.ebuild 
b/dev-python/awkward/awkward-2.5.2.ebuild
new file mode 100644
index 0..75c754dda
--- /dev/null
+++ b/dev-python/awkward/awkward-2.5.2.ebuild
@@ -0,0 +1,37 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms."
+HOMEPAGE="https://github.com/scikit-hep/awkward";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+   ~dev-python/awkward-cpp-28[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+   dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pyarrow[${PYTHON_USEDEP}]
+   dev-python/fsspec[${PYTHON_USEDEP}]
+   dev-python/numexpr[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_IGNORE=(
+   tests-cuda/
+   tests-cuda-kernels/
+)
+
+distutils_enable_tests pytest

diff --git a/dev-python/awkward/metadata.xml b/dev-python/awkward/metadata.xml
new file mode 100644
index 0..b3ac679d3
--- /dev/null
+++ b/dev-python/awkward/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Awkward Array is a library for nested, variable-sized data, 
including arbitrary-length lists, records, mixed types, and missing data, using 
NumPy-like idioms.
+   
+   
+   awkward
+   scikit-hep/awkward
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/pyerfa/, dev-python/jacobi/, sci-physics/pyhf/, dev-python/astropy/, ...

2024-03-18 Thread Alexander Puck Neuwirth
commit: e6d660269eebd2767ec6d66c123a77f39f4b74f5
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Mar 18 19:40:53 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Mar 18 21:01:35 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e6d66026

*/*: fix BDEPEND -> DEPEND

Closes: https://github.com/gentoo/sci/pull/1260
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/archspec/archspec-0.1.4.ebuild| 2 +-
 dev-python/astropy/astropy-5.2.1.ebuild  | 3 ++-
 dev-python/jacobi/jacobi-0.8.1.ebuild| 2 +-
 dev-python/jacobi/jacobi-0.9.2.ebuild| 2 +-
 dev-python/pyerfa/pyerfa-2.0.0.1-r2.ebuild   | 3 ++-
 dev-python/vector/vector-1.1.1.ebuild| 4 +++-
 dev-python/vector/vector-1.3.1.ebuild| 4 +++-
 sci-mathematics/lie/lie-2.2.2.ebuild | 2 +-
 sci-physics/hepunits/hepunits-2.3.2.ebuild   | 2 +-
 sci-physics/hepunits/hepunits-2.3.3.ebuild   | 2 +-
 sci-physics/hepunits/hepunits-.ebuild| 2 +-
 sci-physics/particle/particle-0.23.0.ebuild  | 4 +++-
 sci-physics/particle/particle-.ebuild| 4 +++-
 sci-physics/pyhf/pyhf-0.7.3.ebuild   | 2 +-
 sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.6.2.ebuild   | 2 +-
 sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild   | 2 +-
 sys-cluster/easybuild-easyblocks/easybuild-easyblocks-.ebuild| 2 +-
 sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-4.6.2.ebuild | 2 +-
 sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-4.9.0.ebuild | 2 +-
 sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-.ebuild  | 2 +-
 sys-cluster/easybuild-framework/easybuild-framework-4.6.2.ebuild | 2 +-
 sys-cluster/easybuild-framework/easybuild-framework-4.9.0.ebuild | 2 +-
 sys-cluster/easybuild-framework/easybuild-framework-.ebuild  | 2 +-
 sys-cluster/easybuild/easybuild-4.6.2.ebuild | 2 +-
 sys-cluster/easybuild/easybuild-4.9.0.ebuild | 2 +-
 sys-cluster/easybuild/easybuild-.ebuild  | 2 +-
 26 files changed, 36 insertions(+), 26 deletions(-)

diff --git a/dev-python/archspec/archspec-0.1.4.ebuild 
b/dev-python/archspec/archspec-0.1.4.ebuild
index f1b1cb0f1..35500e00d 100644
--- a/dev-python/archspec/archspec-0.1.4.ebuild
+++ b/dev-python/archspec/archspec-0.1.4.ebuild
@@ -16,4 +16,4 @@ RDEPEND="
<=dev-python/six-2.0.0[${PYTHON_USEDEP}]
>=dev-python/click-7.1.2[${PYTHON_USEDEP}]
 "
-BDEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}"

diff --git a/dev-python/astropy/astropy-5.2.1.ebuild 
b/dev-python/astropy/astropy-5.2.1.ebuild
index ac5c388b0..b52d1e6f5 100644
--- a/dev-python/astropy/astropy-5.2.1.ebuild
+++ b/dev-python/astropy/astropy-5.2.1.ebuild
@@ -33,7 +33,8 @@ RDEPEND="
>=sci-libs/cfitsio-3.350:0=
sys-libs/zlib:0=
 "
-BDEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-python/astropy-helpers[${PYTHON_USEDEP}]
dev-python/extension-helpers[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]

diff --git a/dev-python/jacobi/jacobi-0.8.1.ebuild 
b/dev-python/jacobi/jacobi-0.8.1.ebuild
index 404e8c2ca..93afcbf16 100644
--- a/dev-python/jacobi/jacobi-0.8.1.ebuild
+++ b/dev-python/jacobi/jacobi-0.8.1.ebuild
@@ -14,7 +14,7 @@ KEYWORDS="~amd64"
 RDEPEND="
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
 "
-BDEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}"
 
 distutils_enable_tests pytest
 

diff --git a/dev-python/jacobi/jacobi-0.9.2.ebuild 
b/dev-python/jacobi/jacobi-0.9.2.ebuild
index f8605063c..806967a38 100644
--- a/dev-python/jacobi/jacobi-0.9.2.ebuild
+++ b/dev-python/jacobi/jacobi-0.9.2.ebuild
@@ -14,7 +14,7 @@ KEYWORDS="~amd64"
 RDEPEND="
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
 "
-BDEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}"
 
 distutils_enable_tests pytest
 

diff --git a/dev-python/pyerfa/pyerfa-2.0.0.1-r2.ebuild 
b/dev-python/pyerfa/pyerfa-2.0.0.1-r2.ebuild
index b52026473..11a68c169 100644
--- a/dev-python/pyerfa/pyerfa-2.0.0.1-r2.ebuild
+++ b/dev-python/pyerfa/pyerfa-2.0.0.1-r2.ebuild
@@ -22,7 +22,8 @@ RDEPEND="
sci-astronomy/erfa:0=
>=dev-python/numpy-1.17[${PYTHON_USEDEP}]
 "
-BDEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-doctestplus[${PYTHON_USEDEP}]

diff -

[gentoo-commits] proj/sci:master commit in: dev-python/vector/

2024-03-17 Thread Alexander Puck Neuwirth
commit: 26a7c9da38c6e72435e63e70cc559d461232d467
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 16:00:37 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sun Mar 17 16:00:37 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=26a7c9da

dev-python/vector: add 1.3.1

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/vector/vector-1.3.1.ebuild | 20 
 1 file changed, 20 insertions(+)

diff --git a/dev-python/vector/vector-1.3.1.ebuild 
b/dev-python/vector/vector-1.3.1.ebuild
new file mode 100644
index 0..936578e50
--- /dev/null
+++ b/dev-python/vector/vector-1.3.1.ebuild
@@ -0,0 +1,20 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Vector classes and utilities"
+HOMEPAGE="https://github.com/scikit-hep/vector";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}



[gentoo-commits] proj/sci:master commit in: dev-python/uhi/

2024-03-17 Thread Alexander Puck Neuwirth
commit: fefc0c6312315941eb86943101f0655f9c692f30
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 15:59:19 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sun Mar 17 15:59:19 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=fefc0c63

dev-python/uhi: enable py3.12

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/uhi/uhi-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/uhi/uhi-0.4.0.ebuild b/dev-python/uhi/uhi-0.4.0.ebuild
index 89db57b1c..380e3bdbd 100644
--- a/dev-python/uhi/uhi-0.4.0.ebuild
+++ b/dev-python/uhi/uhi-0.4.0.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=hatchling
 SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
 inherit distutils-r1 pypi



[gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/

2024-03-17 Thread Alexander Puck Neuwirth
commit: c08d995df501ca71f6150272ad36908c97a4adfe
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Mar 17 15:59:07 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sun Mar 17 15:59:07 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c08d995d

dev-python/boost-histogram: enable py3.12

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/boost-histogram/boost-histogram-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild 
b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
index 0336c4e87..96950ebe5 100644
--- a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
+++ b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1 pypi
 



[gentoo-commits] proj/sci:master commit in: dev-python/jacobi/

2024-03-16 Thread Alexander Puck Neuwirth
commit: ef9974941a17891d7023b2a1bff931ff60a198bc
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sat Mar 16 18:46:20 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Mar 16 18:59:16 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ef997494

dev-python/jacobi: add 0.9.2

Closes: https://github.com/gentoo/sci/pull/1258
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/jacobi/jacobi-0.9.2.ebuild | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/dev-python/jacobi/jacobi-0.9.2.ebuild 
b/dev-python/jacobi/jacobi-0.9.2.ebuild
new file mode 100644
index 0..f8605063c
--- /dev/null
+++ b/dev-python/jacobi/jacobi-0.9.2.ebuild
@@ -0,0 +1,26 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Numerical derivatives for analytic functions with arbitrary 
precision."
+HOMEPAGE="https://github.com/HDembinski/jacobi";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.10[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   tests/bench.py
+   )
+   epytest
+}



[gentoo-commits] proj/sci:master commit in: dev-python/awkward-cpp/

2024-03-16 Thread Alexander Puck Neuwirth
commit: b7335c04383c2c65bf7601cce8795d0672be3f94
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 14:05:19 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Mar 16 11:58:43 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b7335c04

dev-python/awkward-cpp: new package, add 28

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1246
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/awkward-cpp/awkward-cpp-28.ebuild | 26 ++
 dev-python/awkward-cpp/metadata.xml  | 19 +++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/awkward-cpp/awkward-cpp-28.ebuild 
b/dev-python/awkward-cpp/awkward-cpp-28.ebuild
new file mode 100644
index 0..57634d120
--- /dev/null
+++ b/dev-python/awkward-cpp/awkward-cpp-28.ebuild
@@ -0,0 +1,26 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+DISTUTILS_USE_PEP517=scikit-build-core
+PYPI_NO_NORMALIZE=1
+
+inherit pypi distutils-r1
+
+DESCRIPTION="awkward-cpp bindings for Python"
+HOMEPAGE="https://github.com/scikit-hep/awkward/";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+   >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   >=dev-python/scikit-build-core-0.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/awkward-cpp/metadata.xml 
b/dev-python/awkward-cpp/metadata.xml
new file mode 100644
index 0..a94e99f4b
--- /dev/null
+++ b/dev-python/awkward-cpp/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   awkward-cpp provides precompiled routines for the awkward package. It 
is not useful on its own, only as a dependency for awkward .
+   
+   
+   awkward
+   scikit-hep/awkward
+   
+



[gentoo-commits] proj/sci:master commit in: sci-physics/qgraf/

2024-03-14 Thread Alexander Puck Neuwirth
commit: 7c3c47e94fcbdc3b4abddcbb4bf005ab5cd48a39
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Mar 12 20:41:41 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Mar 14 12:32:11 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7c3c47e9

sci-physics/qgraf: add 3.6.6

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1253
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/qgraf/qgraf-3.6.6.ebuild | 32 
 1 file changed, 32 insertions(+)

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 0..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:anonym...@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
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/spheno/files/, sci-physics/spheno/

2024-03-14 Thread Alexander Puck Neuwirth
commit: f582ca64c1dff0d61b9b012515f84887cc227959
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Mar 12 22:05:26 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Mar 14 12:29:46 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f582ca64

sci-physics/spheno: add 4.0.5

Closes: https://github.com/gentoo/sci/pull/1254
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../spheno/files/spheno-4.0.5-gfortran.patch   | 29 ++
 ...{spheno-3.3.8.ebuild => spheno-3.3.8-r1.ebuild} | 14 ---
 .../{spheno-3.3.8.ebuild => spheno-4.0.5.ebuild}   | 14 ---
 3 files changed, 39 insertions(+), 18 deletions(-)

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 0..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/spheno-3.3.8.ebuild 
b/sci-physics/spheno/spheno-3.3.8-r1.ebuild
similarity index 84%
copy from sci-physics/spheno/spheno-3.3.8.ebuild
copy to sci-physics/spheno/spheno-3.3.8-r1.ebuild
index 9a740b89e..7ed53c4c7 100644
--- a/sci-physics/spheno/spheno-3.3.8.ebuild
+++ b/sci-physics/spheno/spheno-3.3.8-r1.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+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";
+SRC_URI="https://spheno.hepforge.org/downloads/?f=${MY_P}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="all-rights-reserved"
@@ -18,16 +18,11 @@ RESTRICT="bindist mirror"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"
-
 PATCHES=( "${FILESDIR}"/${P}-gfortran.patch )
 
 src_compile() {
# single thread force needed since fortan mods depend on each other
-   export MAKEOPTS=-j1
-   tc-export FC AR
-   emake AR="${AR}" F90="${FC}"
+   emake -j1 F90="${FC}"
 }
 
 src_install() {
@@ -35,7 +30,8 @@ src_install() {
# 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
-   doheader include/*
+   mv include ${PN}
+   doheader -r ${PN}
dodoc doc/*
docinto examples
dodoc input/*

diff --git a/sci-physics/spheno/spheno-3.3.8.ebuild 
b/sci-physics/spheno/spheno-4.0.5.ebuild
similarity index 84%
rename from sci-physics/spheno/spheno-3.3.8.ebuild
rename to sci-physics/spheno/spheno-4.0.5.ebuild
index 9a740b89e..7ed53c4c7 100644
--- a/sci-physics/spheno/spheno-3.3.8.ebuild
+++ b/sci-physics/spheno/spheno-4.0.5.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+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";
+SRC_URI="https://spheno.hepforge.org/downloads/?f=${MY_P}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="all-rights-reserved"
@@ -18,16 +18,11 @@ RESTRICT="bindist mirror"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="virtual/fortran"
-RDEPEND="${DEPEND}"
-
 PATCHES=( "${FILESDIR}"/${P}-gfortran.patch )
 
 src_compile() {
# single thread force needed since fortan mods depend on each other
-   export MAKEOPTS=-j1
-   tc-export FC AR
-   emake AR="${AR}" F90="${FC}"
+   emake -j1 F90="${FC}"
 }
 
 src_install() {
@@ -35,7 +30,8 @@ src_install() {
# 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
-   doheader include/*
+   mv include ${PN}
+   doheader -r ${PN}
dodoc doc/*
docinto examples
dodoc input/*



[gentoo-commits] proj/sci:master commit in: sci-physics/hepunits/

2024-03-14 Thread Alexander Puck Neuwirth
commit: 0770aa2dcd1651ec567469c9bdca147ec4b17b6c
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Mar 14 09:40:12 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Thu Mar 14 12:24:32 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0770aa2d

sci-physics/hepunits: add 2.3.3, python3_12

Closes: https://github.com/gentoo/sci/pull/1255
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/hepunits/{hepunits-.ebuild => hepunits-2.3.3.ebuild} | 4 +++-
 sci-physics/hepunits/hepunits-.ebuild| 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-physics/hepunits/hepunits-.ebuild 
b/sci-physics/hepunits/hepunits-2.3.3.ebuild
similarity index 86%
copy from sci-physics/hepunits/hepunits-.ebuild
copy to sci-physics/hepunits/hepunits-2.3.3.ebuild
index 9816df84b..6e9ada04b 100644
--- a/sci-physics/hepunits/hepunits-.ebuild
+++ b/sci-physics/hepunits/hepunits-2.3.3.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 
@@ -21,3 +21,5 @@ RDEPEND="
>=dev-python/attrs-19.2[${PYTHON_USEDEP}]
 "
 BDEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest

diff --git a/sci-physics/hepunits/hepunits-.ebuild 
b/sci-physics/hepunits/hepunits-.ebuild
index 9816df84b..6e9ada04b 100644
--- a/sci-physics/hepunits/hepunits-.ebuild
+++ b/sci-physics/hepunits/hepunits-.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 
@@ -21,3 +21,5 @@ RDEPEND="
>=dev-python/attrs-19.2[${PYTHON_USEDEP}]
 "
 BDEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: dev-python/nptyping/

2024-02-28 Thread Alexander Puck Neuwirth
commit: 564661cd321e2a05582ea2d02ed2f27d740260b1
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 20:10:18 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Feb 28 09:41:41 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=564661cd

dev-python/nptyping: update maintainers

Closes: https://bugs.gentoo.org/922385
Closes: https://github.com/gentoo/sci/pull/1252
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/nptyping/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/nptyping/metadata.xml b/dev-python/nptyping/metadata.xml
index 8cbc6e175..45345f0dc 100644
--- a/dev-python/nptyping/metadata.xml
+++ b/dev-python/nptyping/metadata.xml
@@ -9,6 +9,7 @@
gen...@chymera.eu
Horea Christian

+   
nptyping
ramonhagenaars/nptyping




[gentoo-commits] proj/sci:master commit in: sci-libs/mpfun90/

2024-02-27 Thread Alexander Puck Neuwirth
commit: 6207d8fa844029e500e904fa9060392dc0882238
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 14:27:03 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Feb 27 16:11:48 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6207d8fa

sci-libs/mpfun90: new package, add 2023.02.26

Closes: https://github.com/gentoo/sci/pull/1250
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-libs/mpfun90/metadata.xml  | 18 ++
 sci-libs/mpfun90/mpfun90-2023.02.26.ebuild | 29 +
 2 files changed, 47 insertions(+)

diff --git a/sci-libs/mpfun90/metadata.xml b/sci-libs/mpfun90/metadata.xml
new file mode 100644
index 0..e3eb0d9c1
--- /dev/null
+++ b/sci-libs/mpfun90/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+   
+   This package permits one to perform floating-point computations (real 
and complex) to arbitrarily high numeric precision
+   
+   
+   APN-Pucky/mpfun90
+   
+

diff --git a/sci-libs/mpfun90/mpfun90-2023.02.26.ebuild 
b/sci-libs/mpfun90/mpfun90-2023.02.26.ebuild
new file mode 100644
index 0..4f885fa2c
--- /dev/null
+++ b/sci-libs/mpfun90/mpfun90-2023.02.26.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs fortran-2
+
+DESCRIPTION="High-Precision Software"
+HOMEPAGE="
+   https://www.davidhbailey.com/dhbsoftware/
+   https://github.com/APN-Pucky/mpfun90
+"
+MY_PV=$(ver_rs 1- '-')
+SRC_URI="https://github.com/APN-Pucky/mpfun90/archive/refs/tags/${MY_PV}.tar.gz";
+S="${WORKDIR}/mpfun90-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+   emake -j1 dynamic
+}
+
+src_install() {
+   doheader *.mod
+   dolib.so libmpfun90.so
+   dolib.a libmpfun90.a
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/collier/, sci-physics/collier/files/

2024-02-27 Thread Alexander Puck Neuwirth
commit: cc8a759de134ec89f2272ec173bc96c53e98594b
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 14:17:47 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Feb 27 16:10:07 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=cc8a759d

sci-physics/collier: new package, add 1.2.8

Closes: https://github.com/gentoo/sci/pull/1249
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/collier/collier-1.2.8.ebuild  | 36 
 sci-physics/collier/files/collier-1.2.7-mod.patch | 40 +++
 sci-physics/collier/metadata.xml  | 22 +
 3 files changed, 98 insertions(+)

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 0..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 0..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 0..f863d8237
--- /dev/null
+++ b/sci-physics/collier/metadata.xml
@@ -0,0 +1,22 @@
+
+https://www.gentoo.org/

[gentoo-commits] proj/sci:master commit in: dev-python/archspec/

2024-02-27 Thread Alexander Puck Neuwirth
commit: d339bf57b4986531b167e379c24097d613408faa
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 13:55:11 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Feb 27 16:08:48 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d339bf57

dev-python/archspec: add 0.2.2

Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1244
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/archspec/archspec-0.2.2.ebuild | 13 +
 1 file changed, 13 insertions(+)

diff --git a/dev-python/archspec/archspec-0.2.2.ebuild 
b/dev-python/archspec/archspec-0.2.2.ebuild
new file mode 100644
index 0..a7287fc72
--- /dev/null
+++ b/dev-python/archspec/archspec-0.2.2.ebuild
@@ -0,0 +1,13 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 pypi
+
+DESCRIPTION="Labels for various aspects of a system architecture like CPU, 
etc."
+HOMEPAGE="https://archspec.readthedocs.io/en/latest/index.html";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+



[gentoo-commits] proj/sci:master commit in: dev-python/uhi/

2024-02-27 Thread Alexander Puck Neuwirth
commit: 5edb5364f5454e45df68b8fca3b621352e7905e8
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 14:03:00 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Feb 27 16:07:10 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=5edb5364

dev-python/uhi: new package, add 0.4.0

Closes: https://github.com/gentoo/sci/pull/1245
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/uhi/metadata.xml | 19 +++
 dev-python/uhi/uhi-0.4.0.ebuild | 27 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/uhi/metadata.xml b/dev-python/uhi/metadata.xml
new file mode 100644
index 0..c1ee047a1
--- /dev/null
+++ b/dev-python/uhi/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   This is a package meant primarily for documenting histogram indexing 
and the PlottableHistogram Protocol and any future cross-library standards. It 
also contains the code for the PlottableHistogram Protocol, to be used in type 
checking libraries wanting to conform to the protocol. Eventually, it might 
gain a set of tools for testing conformance to UHI indexing, as well. It is not 
usually a runtime dependency, but only a type checking, testing, and/or docs 
dependency in support of other libraries (such as boost-histogram 0.13+, hist 
2.1+, mplhep 0.2.15+, uproot 4+, and histoprint 2+). There are a few useful 
runtime usable components (listed below). It requires Python 3.6+. See what's 
new.
+   
+   
+   uhi
+   scikit-hep/uhi
+   
+

diff --git a/dev-python/uhi/uhi-0.4.0.ebuild b/dev-python/uhi/uhi-0.4.0.ebuild
new file mode 100644
index 0..89db57b1c
--- /dev/null
+++ b/dev-python/uhi/uhi-0.4.0.ebuild
@@ -0,0 +1,27 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=hatchling
+SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="Universal Histogram Interface"
+HOMEPAGE="https://github.com/scikit-hep/uhi";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/boost-histogram[${PYTHON_USEDEP}]
+   )
+"
+BDEPEND="
+   ${RDEPEND}
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: sci-physics/apfelxx/

2024-02-27 Thread Alexander Puck Neuwirth
commit: fded3a905e1414233d7d90fe95ad7e2affdc1bdb
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 14:08:07 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Feb 27 15:30:41 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=fded3a90

sci-physics/apfelxx: new package, add 4.8.0

Closes: https://github.com/gentoo/sci/pull/1247
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/apfelxx/apfelxx-4.8.0.ebuild | 39 
 sci-physics/apfelxx/metadata.xml | 18 +++
 2 files changed, 57 insertions(+)

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 0..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 0..27c6de8e1
--- /dev/null
+++ b/sci-physics/apfelxx/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+   
+   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++.
+   
+   
+   vbertone/apfelxx 
+   
+



[gentoo-commits] proj/sci:master commit in: profiles/desc/, sci-physics/lhapdf-sets/

2024-02-27 Thread Alexander Puck Neuwirth
commit: d21400c2bb5b7d9f213047df109b7d40fde8e8a8
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Tue Feb 27 14:14:36 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Tue Feb 27 15:29:14 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=d21400c2

sci-physics/lhapdf-sets: Add more PDFs

Closes: https://github.com/gentoo/sci/pull/1248
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 profiles/desc/lhapdf_sets.desc   | 4 +++-
 sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild | 6 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/profiles/desc/lhapdf_sets.desc b/profiles/desc/lhapdf_sets.desc
index 7270fbee7..66da0763c 100644
--- a/profiles/desc/lhapdf_sets.desc
+++ b/profiles/desc/lhapdf_sets.desc
@@ -14,4 +14,6 @@ nnpdf23_nlo_as_0119_qed_mc - NNPDF23_nlo_as_0119_qed_mc 
LHAPDF grid
 nnpdf23_nnlo_as_0119_qed_mc - NNPDF23_nnlo_as_0119_qed_mc LHAPDF grid
 cteq66 - CTEQ66 LHAPDF grid
 cteq6l1 - CTEQ6L1 LHAPDF grid
-mrst2004qed - MRST2004qed LHAPDF grid
\ No newline at end of file
+mrst2004qed - MRST2004qed LHAPDF grid
+nnpdf23_nlo_as_0118 - nnpdf23_nlo_as_0118 grid
+nnpdf31_nnlo_as_0118 - nnpdf31_nnlo_as_0118 grid
\ No newline at end of file

diff --git a/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild 
b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
index edd3639d2..784d94f97 100644
--- a/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
+++ b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
@@ -17,6 +17,8 @@ IUSE_LHAPDF_SETS="
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";
@@ -36,7 +38,9 @@ SRC_URI="
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_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)



[gentoo-commits] proj/sci:master commit in: sci-biology/libBigWig/

2024-02-19 Thread Alexander Puck Neuwirth
commit: daf6e4d3fb358929b93cddec881cb0b1af18a840
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 22:38:18 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Feb 19 16:20:46 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=daf6e4d3

sci-biology/libBigWig: add 0.4.7

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1241

 sci-biology/libBigWig/libBigWig-0.4.7.ebuild | 31 
 1 file changed, 31 insertions(+)

diff --git a/sci-biology/libBigWig/libBigWig-0.4.7.ebuild 
b/sci-biology/libBigWig/libBigWig-0.4.7.ebuild
new file mode 100644
index 0..7dc83ceed
--- /dev/null
+++ b/sci-biology/libBigWig/libBigWig-0.4.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="C library for handling bigWig files (functionally replacing Jim 
Kent's lib)"
+HOMEPAGE="https://github.com/dpryan79/libBigWig";
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/dpryan79/libBigWig";
+else
+   SRC_URI="https://github.com/dpryan79/libBigWig/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="net-misc/curl"
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+   default
+   sed -e 's#/usr/local#$(DESTDIR)/usr#' -i Makefile || die
+   sed -e "s:/lib:/$(get_libdir):" -i Makefile || die
+}
+
+src_install(){
+   emake install DESTDIR="${ED}"
+}



[gentoo-commits] proj/sci:master commit in: sci-mathematics/cipi/files/, sci-mathematics/cipi/

2024-02-19 Thread Alexander Puck Neuwirth
commit: 7f12297f2e52d640f48fba9ed03c923ad913b3b0
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 20:41:53 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Feb 19 16:18:36 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7f12297f

sci-mathematics/cipi: Fix boost linking

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1239

 sci-mathematics/cipi/cipi-1.0-r1.ebuild | 51 +
 sci-mathematics/cipi/files/cipi-1.0-boost.patch | 11 ++
 2 files changed, 62 insertions(+)

diff --git a/sci-mathematics/cipi/cipi-1.0-r1.ebuild 
b/sci-mathematics/cipi/cipi-1.0-r1.ebuild
new file mode 100644
index 0..6cd189e33
--- /dev/null
+++ b/sci-mathematics/cipi/cipi-1.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="Computing information projections iteratively"
+HOMEPAGE="https://github.com/tom111/cipi";
+SRC_URI="https://github.com/tom111/cipi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc"
+
+DEPEND="
+   dev-libs/boost:=
+   doc? ( virtual/latex-base )"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS README"
+
+CMAKE_IN_SOURCE_BUILD="yes"
+
+PATCHES=(
+   "${FILESDIR}/${P}-boost.patch"
+)
+
+src_prepare() {
+   cmake_src_prepare
+   append-ldflags -Wl,--copy-dt-needed-entries
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DENABLE_DOC=$(usex doc ON OFF)
+   )
+
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   elog
+   elog "The sample PARAM file has been installed to 
/usr/share/${PN}-${PV}"
+   elog
+   if use doc; then
+   elog "A pdf manual has been installed to /usr/share/${PN}-${PV}"
+   fi
+}

diff --git a/sci-mathematics/cipi/files/cipi-1.0-boost.patch 
b/sci-mathematics/cipi/files/cipi-1.0-boost.patch
new file mode 100644
index 0..66aa9fd3f
--- /dev/null
+++ b/sci-mathematics/cipi/files/cipi-1.0-boost.patch
@@ -0,0 +1,11 @@
+--- a/src/CMakeLists.txt   2024-02-16 21:36:58.808186061 +0100
 b/src/CMakeLists.txt   2024-02-16 21:36:55.288131610 +0100
+@@ -8,7 +8,7 @@
+   Message("Boost found" ${Boost_LIBRARY_DIR})
+   INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
+   #MESSAGE("Boost was found" ${Boost_INCLUDE_DIR})
+-  TARGET_LINK_LIBRARIES (cipi boost_thread-mt)
++  TARGET_LINK_LIBRARIES (cipi boost_thread)
+ ENDIF (Boost_FOUND)
+ 
+ INSTALL(PROGRAMS cipi DESTINATION bin)



[gentoo-commits] proj/sci:master commit in: sci-mathematics/ltl2ba/

2024-02-19 Thread Alexander Puck Neuwirth
commit: 6d580f318cd4b49a97263fb12e8db67119cae0c3
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 20:24:14 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Feb 19 16:15:56 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6d580f31

sci-mathematics/ltl2ba: add 1.2, 1.3

Closes: https://github.com/gentoo/sci/pull/1238
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-mathematics/ltl2ba/ltl2ba-1.2.ebuild | 31 +++
 sci-mathematics/ltl2ba/ltl2ba-1.3.ebuild | 31 +++
 2 files changed, 62 insertions(+)

diff --git a/sci-mathematics/ltl2ba/ltl2ba-1.2.ebuild 
b/sci-mathematics/ltl2ba/ltl2ba-1.2.ebuild
new file mode 100644
index 0..0678dcf8e
--- /dev/null
+++ b/sci-mathematics/ltl2ba/ltl2ba-1.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast LTL to Buechi Automata Translation"
+HOMEPAGE="http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
+SRC_URI="http://www.lsv.ens-cachan.fr/~gastin/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+   default
+   sed -i Makefile \
+   -e "s/CC=gcc/#CC=gcc/g" \
+   -e "s/CFLAGS= -O3 -ansi -DNXT/CFLAGS+= -ansi -DNXT/g" || die
+}
+
+src_configure() {
+   append-cflags -fcommon
+   default
+}
+
+src_install() {
+   dobin ltl2ba
+   dodoc README
+}

diff --git a/sci-mathematics/ltl2ba/ltl2ba-1.3.ebuild 
b/sci-mathematics/ltl2ba/ltl2ba-1.3.ebuild
new file mode 100644
index 0..0678dcf8e
--- /dev/null
+++ b/sci-mathematics/ltl2ba/ltl2ba-1.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="Fast LTL to Buechi Automata Translation"
+HOMEPAGE="http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
+SRC_URI="http://www.lsv.ens-cachan.fr/~gastin/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+   default
+   sed -i Makefile \
+   -e "s/CC=gcc/#CC=gcc/g" \
+   -e "s/CFLAGS= -O3 -ansi -DNXT/CFLAGS+= -ansi -DNXT/g" || die
+}
+
+src_configure() {
+   append-cflags -fcommon
+   default
+}
+
+src_install() {
+   dobin ltl2ba
+   dodoc README
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/hoppet/

2024-02-19 Thread Alexander Puck Neuwirth
commit: 9344a45969aa7cdc27c86c10c17455fabc6a3437
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sun Feb 18 12:17:16 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Mon Feb 19 15:47:17 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=9344a459

sci-physics/hoppet: new package, add 1.2.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Co-authored-by: Andrew Nowa Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1242

 sci-physics/hoppet/hoppet-1.2.0.ebuild | 35 ++
 sci-physics/hoppet/metadata.xml| 19 ++
 2 files changed, 54 insertions(+)

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 0..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 0..37900a238
--- /dev/null
+++ b/sci-physics/hoppet/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   sci-phys...@gentoo.org
+   Gentoo Physics Project
+   
+
+   
+   HOPPET is a Fortran 95 package for carrying out DGLAP evolution and 
other common manipulations of parton distribution functions (PDFs).
+   
+   
+   gavinsalam/hoppet 
+   
+



[gentoo-commits] proj/sci:master commit in: sci-physics/pyhepmc/

2024-02-17 Thread Alexander Puck Neuwirth
commit: 0d902a02e59eecc0dfe2889fd4db098231c4f19b
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb  1 22:13:33 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Feb 17 17:24:46 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d902a02

sci-physics/pyhepmc: new package, add 2.11.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/sci/pull/1237
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/pyhepmc/metadata.xml  | 19 +++
 sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild | 20 
 2 files changed, 39 insertions(+)

diff --git a/sci-physics/pyhepmc/metadata.xml b/sci-physics/pyhepmc/metadata.xml
new file mode 100644
index 0..6f6a9a0bb
--- /dev/null
+++ b/sci-physics/pyhepmc/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   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.
+   
+   
+   pyhepmc
+   scikit-hep/pyhepmc
+   
+

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 0..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
+"



[gentoo-commits] proj/sci:master commit in: dev-python/jacobi/

2024-02-17 Thread Alexander Puck Neuwirth
commit: a1ea11309ac02ea69749e5f5e0b532a1d25a57e4
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb  1 21:59:23 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Feb 17 17:22:47 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=a1ea1130

dev-python/jacobi: new package, add 0.8.1

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Co-authored-by: Andrew Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1236
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/jacobi/jacobi-0.8.1.ebuild | 24 
 dev-python/jacobi/metadata.xml| 21 +
 2 files changed, 45 insertions(+)

diff --git a/dev-python/jacobi/jacobi-0.8.1.ebuild 
b/dev-python/jacobi/jacobi-0.8.1.ebuild
new file mode 100644
index 0..404e8c2ca
--- /dev/null
+++ b/dev-python/jacobi/jacobi-0.8.1.ebuild
@@ -0,0 +1,24 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Numerical derivatives for analytic functions with arbitrary 
precision."
+HOMEPAGE="https://github.com/HDembinski/jacobi";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.10[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+   tests/bench.py
+)
+

diff --git a/dev-python/jacobi/metadata.xml b/dev-python/jacobi/metadata.xml
new file mode 100644
index 0..ebbabb06c
--- /dev/null
+++ b/dev-python/jacobi/metadata.xml
@@ -0,0 +1,21 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Robustly compute the generalised Jacobi matrix for an arbitrary real 
analytic mapping ℝⁿ → ℝⁱ¹ × ... × ℝⁱⁿ
+   Returns error estimates for derivatives
+   Perform statistical error propagation based on numerically computed 
jacobian
+   
+   
+   jacobi
+   HDembinski/jacobi
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/

2024-02-17 Thread Alexander Puck Neuwirth
commit: 4cb594edf14664ac6c2423bbed71f5ccc5f69223
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb  1 21:55:58 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Feb 17 17:21:58 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=4cb594ed

dev-python/boost-histogram: new package, add 1.4.0

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Closes: https://github.com/gentoo/sci/pull/1235
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../boost-histogram/boost-histogram-1.4.0.ebuild   | 39 ++
 dev-python/boost-histogram/metadata.xml| 19 +++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild 
b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
new file mode 100644
index 0..0336c4e87
--- /dev/null
+++ b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python bindings for the C++14 Boost::Histogram library"
+HOMEPAGE="https://github.com/scikit-hep/boost-histogram";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-libs/boost:=[python,${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   test? (
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/hypothesis[${PYTHON_USEDEP}]
+   )
+"
+
+src_prepare() {
+   default
+   sed -i 's/"pytest-benchmark"//g' pyproject.toml || die
+}
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+   tests/test_benchmark_1d.py
+   tests/test_benchmark_2d.py
+   tests/test_benchmark_category_axis.py
+   tests/test_pickle.py
+   tests/test_threaded_fill.py
+)

diff --git a/dev-python/boost-histogram/metadata.xml 
b/dev-python/boost-histogram/metadata.xml
new file mode 100644
index 0..345502cba
--- /dev/null
+++ b/dev-python/boost-histogram/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Python bindings for Boost::Histogram (source), a C++14 library. This is 
one of the fastest libraries for histogramming, while still providing the power 
of a full histogram object. See what's new.
+   
+   
+   boost-histogram
+   scikit-hep/boost-histogram
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/vector/

2024-02-17 Thread Alexander Puck Neuwirth
commit: 7579c62f6059345520e175b41a0cad394db37c1f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb  1 21:45:19 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Feb 17 17:20:21 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7579c62f

dev-python/vector: new package, add 1.1.1

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Co-authored-by: Andrew Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1234
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/vector/metadata.xml| 19 +++
 dev-python/vector/vector-1.1.1.ebuild | 20 
 2 files changed, 39 insertions(+)

diff --git a/dev-python/vector/metadata.xml b/dev-python/vector/metadata.xml
new file mode 100644
index 0..b6aaa9af7
--- /dev/null
+++ b/dev-python/vector/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   Vector is a Python 3.8+ library (Python 3.6 and 3.7 supported till 
v0.9.0 and v1.0.0, respectively) for 2D, 3D, and Lorentz vectors, especially 
arrays of vectors, to solve common physics problems in a NumPy-like way.
+   
+   
+   vector
+   scikit-hep/vector
+   
+

diff --git a/dev-python/vector/vector-1.1.1.ebuild 
b/dev-python/vector/vector-1.1.1.ebuild
new file mode 100644
index 0..936578e50
--- /dev/null
+++ b/dev-python/vector/vector-1.1.1.ebuild
@@ -0,0 +1,20 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Vector classes and utilities"
+HOMEPAGE="https://github.com/scikit-hep/vector";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}



[gentoo-commits] proj/sci:master commit in: dev-python/xgboost/

2024-02-17 Thread Alexander Puck Neuwirth
commit: 10f56e11da1ae35dc560558eacef4b40e06961d8
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb  1 21:35:26 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Feb 17 16:59:17 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=10f56e11

dev-python/xgboost: add 2.0.3

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Co-authored-by: Andrew Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1233

 dev-python/xgboost/xgboost-2.0.3.ebuild | 27 +++
 1 file changed, 27 insertions(+)

diff --git a/dev-python/xgboost/xgboost-2.0.3.ebuild 
b/dev-python/xgboost/xgboost-2.0.3.ebuild
new file mode 100644
index 0..60302a1cb
--- /dev/null
+++ b/dev-python/xgboost/xgboost-2.0.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517="standalone"
+inherit distutils-r1 pypi
+
+DESCRIPTION="XGBoost Python Package"
+HOMEPAGE="
+   https://xgboost.readthedocs.io
+   https://github.com/dmlc/xgboost/
+"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+"



[gentoo-commits] proj/sci:master commit in: sys-cluster/easybuild/

2024-02-17 Thread Alexander Puck Neuwirth
commit: ff4a11344e04fd3e7b74bca15b739178e7399e35
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 19:49:54 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Fri Feb 16 19:49:54 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ff4a1134

sys-cluster/easybuild: add 4.9.0, 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sys-cluster/easybuild/easybuild-4.9.0.ebuild | 40 
 sys-cluster/easybuild/easybuild-.ebuild  | 40 
 2 files changed, 80 insertions(+)

diff --git a/sys-cluster/easybuild/easybuild-4.9.0.ebuild 
b/sys-cluster/easybuild/easybuild-4.9.0.ebuild
new file mode 100644
index 0..c0f284835
--- /dev/null
+++ b/sys-cluster/easybuild/easybuild-4.9.0.ebuild
@@ -0,0 +1,40 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="EasyBuild is a software build and installation framework."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild";
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   dev-libs/openssl
+   dev-tcltk/tclx
+   || ( >=sys-cluster/lmod-6.5.1 >=sys-cluster/modules-4.6.0-r1 )
+   ~sys-cluster/easybuild-framework-${PV}[${PYTHON_USEDEP}]
+   ~sys-cluster/easybuild-easyblocks-${PV}[${PYTHON_USEDEP}]
+   ~sys-cluster/easybuild-easyconfigs-${PV}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+pkg_postinst() {
+   elog "Remember to set the module install path"
+   elog "ml use \$installpath/modules/all"
+   elog "where --installpath is passed to eb"
+
+   optfeature "GitHub PR integration" dev-python/keyring 
dev-python/GitPython
+}

diff --git a/sys-cluster/easybuild/easybuild-.ebuild 
b/sys-cluster/easybuild/easybuild-.ebuild
new file mode 100644
index 0..c0f284835
--- /dev/null
+++ b/sys-cluster/easybuild/easybuild-.ebuild
@@ -0,0 +1,40 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="EasyBuild is a software build and installation framework."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild";
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   dev-libs/openssl
+   dev-tcltk/tclx
+   || ( >=sys-cluster/lmod-6.5.1 >=sys-cluster/modules-4.6.0-r1 )
+   ~sys-cluster/easybuild-framework-${PV}[${PYTHON_USEDEP}]
+   ~sys-cluster/easybuild-easyblocks-${PV}[${PYTHON_USEDEP}]
+   ~sys-cluster/easybuild-easyconfigs-${PV}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+pkg_postinst() {
+   elog "Remember to set the module install path"
+   elog "ml use \$installpath/modules/all"
+   elog "where --installpath is passed to eb"
+
+   optfeature "GitHub PR integration" dev-python/keyring 
dev-python/GitPython
+}



[gentoo-commits] proj/sci:master commit in: sys-cluster/easybuild-easyconfigs/

2024-02-17 Thread Alexander Puck Neuwirth
commit: b085c2dfe903920fe26a5964298ccfc53dea1085
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 19:49:04 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Fri Feb 16 19:49:04 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b085c2df

sys-cluster/easybuild-easyconfigs: add 4.9.0, 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../easybuild-easyconfigs-4.9.0.ebuild | 34 ++
 .../easybuild-easyconfigs-.ebuild  | 34 ++
 2 files changed, 68 insertions(+)

diff --git 
a/sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-4.9.0.ebuild 
b/sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-4.9.0.ebuild
new file mode 100644
index 0..ea069535d
--- /dev/null
+++ b/sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-4.9.0.ebuild
@@ -0,0 +1,34 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+SUB_P=$(ver_cut 1)
+SUB_PP=${SUB_P}.$(ver_cut 2)
+
+DESCRIPTION="Provides a collection of well-tested easyconfig files for 
EasyBuild."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild-easyconfigs
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild-easyconfigs";
+   SUB_P=
+   SUB_PP=
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   >=sys-cluster/easybuild-framework-${SUB_P}[${PYTHON_USEDEP}]
+   >=sys-cluster/easybuild-easyblocks-${SUB_PP}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"

diff --git 
a/sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-.ebuild 
b/sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-.ebuild
new file mode 100644
index 0..ea069535d
--- /dev/null
+++ b/sys-cluster/easybuild-easyconfigs/easybuild-easyconfigs-.ebuild
@@ -0,0 +1,34 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+SUB_P=$(ver_cut 1)
+SUB_PP=${SUB_P}.$(ver_cut 2)
+
+DESCRIPTION="Provides a collection of well-tested easyconfig files for 
EasyBuild."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild-easyconfigs
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild-easyconfigs";
+   SUB_P=
+   SUB_PP=
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   >=sys-cluster/easybuild-framework-${SUB_P}[${PYTHON_USEDEP}]
+   >=sys-cluster/easybuild-easyblocks-${SUB_PP}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"



[gentoo-commits] proj/sci:master commit in: sys-cluster/easybuild-framework/

2024-02-17 Thread Alexander Puck Neuwirth
commit: ffab1c746c92ae11906fa242fc04840757c3dfc8
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 19:46:57 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Fri Feb 16 19:46:57 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ffab1c74

sys-cluster/easybuild-framework: add 4.9.0, 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../easybuild-framework-4.9.0.ebuild   | 40 ++
 .../easybuild-framework-.ebuild| 40 ++
 2 files changed, 80 insertions(+)

diff --git a/sys-cluster/easybuild-framework/easybuild-framework-4.9.0.ebuild 
b/sys-cluster/easybuild-framework/easybuild-framework-4.9.0.ebuild
new file mode 100644
index 0..56dda1fba
--- /dev/null
+++ b/sys-cluster/easybuild-framework/easybuild-framework-4.9.0.ebuild
@@ -0,0 +1,40 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+DESCRIPTION="The easybuild-framework package is the core of EasyBuild."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild-framework
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild-framework";
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   dev-python/flake8[${PYTHON_USEDEP}]
+   dev-python/keyring[${PYTHON_USEDEP}]
+   dev-python/GitPython[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/autopep8[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/archspec[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/rich[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.6.2-test.patch
+)

diff --git a/sys-cluster/easybuild-framework/easybuild-framework-.ebuild 
b/sys-cluster/easybuild-framework/easybuild-framework-.ebuild
new file mode 100644
index 0..56dda1fba
--- /dev/null
+++ b/sys-cluster/easybuild-framework/easybuild-framework-.ebuild
@@ -0,0 +1,40 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+DESCRIPTION="The easybuild-framework package is the core of EasyBuild."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild-framework
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild-framework";
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   dev-python/flake8[${PYTHON_USEDEP}]
+   dev-python/keyring[${PYTHON_USEDEP}]
+   dev-python/GitPython[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/autopep8[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/archspec[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/rich[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.6.2-test.patch
+)



[gentoo-commits] proj/sci:master commit in: sys-cluster/easybuild-easyblocks/

2024-02-17 Thread Alexander Puck Neuwirth
commit: 6c29cd9bbc6ab31e0eee3a10316aeaf00014e5c7
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Feb 16 19:48:00 2024 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Fri Feb 16 19:48:00 2024 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c29cd9b

sys-cluster/easybuild-easyblocks: add 4.9.0, 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 .../easybuild-easyblocks-4.9.0.ebuild  | 36 +
 .../easybuild-easyblocks-.ebuild   | 37 ++
 2 files changed, 73 insertions(+)

diff --git a/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild 
b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild
new file mode 100644
index 0..d97f48696
--- /dev/null
+++ b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-4.9.0.ebuild
@@ -0,0 +1,36 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+SUB_P=$(ver_cut 1)
+
+DESCRIPTION="Provides a collection of easyblocks for EasyBuild."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild-easyblocks
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild-easyblocks";
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   >=sys-cluster/easybuild-framework-${SUB_P}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+src_prepare() {
+   # already there from easybuild_framework
+   rm easybuild/__init__.py || die
+   default
+}

diff --git a/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-.ebuild 
b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-.ebuild
new file mode 100644
index 0..6796cf683
--- /dev/null
+++ b/sys-cluster/easybuild-easyblocks/easybuild-easyblocks-.ebuild
@@ -0,0 +1,37 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+
+inherit distutils-r1
+
+SUB_P=$(ver_cut 1)
+
+DESCRIPTION="Provides a collection of easyblocks for EasyBuild."
+HOMEPAGE="
+   https://easybuild.io/
+   https://github.com/easybuilders/easybuild-easyblocks
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/easybuilders/easybuild-easyblocks";
+   SUB_P=
+else
+   inherit pypi
+   KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+   >=sys-cluster/easybuild-framework-${SUB_P}[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"
+
+src_prepare() {
+   # already there from easybuild_framework
+   rm easybuild/__init__.py || die
+   default
+}



[gentoo-commits] proj/sci:master commit in: profiles/desc/, profiles/, sci-physics/lhapdf-sets/

2023-10-28 Thread Alexander Puck Neuwirth
commit: 2e22079da1c948701180f3665c5a5730f55f18f5
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Mon Oct 23 18:37:10 2023 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Oct 28 10:03:49 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2e22079d

sci-physics/lhapdf-sets: new package, add 0

Closes: https://github.com/gentoo/sci/pull/1219
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 profiles/desc/lhapdf_sets.desc   | 17 +++
 profiles/make.defaults   |  1 +
 sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild | 66 
 sci-physics/lhapdf-sets/metadata.xml | 12 +
 4 files changed, 96 insertions(+)

diff --git a/profiles/desc/lhapdf_sets.desc b/profiles/desc/lhapdf_sets.desc
new file mode 100644
index 0..7270fbee7
--- /dev/null
+++ b/profiles/desc/lhapdf_sets.desc
@@ -0,0 +1,17 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of LHAPDF_SETS USE_EXPAND flags.
+
+nnpdf31_nnlo_as_0118_luxqed - NNPDF31_nnlo_as_0118_luxqed LHAPDF grid
+pdf4lhc15_nlo_asvar - PDF4LHC15_nlo_asvar LHAPDF grid
+ct14qed_proton - CT14qed_proton LHAPDF grid
+ct14lo - CT14lo LHAPDF grid
+ct14nlo - CT14nlo LHAPDF grid
+ct10 - CT10 LHAPDF grid
+mrst2007lomod - MRST2007lomod LHAPDF grid
+nnpdf23_nlo_as_0119_qed_mc - NNPDF23_nlo_as_0119_qed_mc LHAPDF grid
+nnpdf23_nnlo_as_0119_qed_mc - NNPDF23_nnlo_as_0119_qed_mc LHAPDF grid
+cteq66 - CTEQ66 LHAPDF grid
+cteq6l1 - CTEQ6L1 LHAPDF grid
+mrst2004qed - MRST2004qed LHAPDF grid
\ No newline at end of file

diff --git a/profiles/make.defaults b/profiles/make.defaults
new file mode 100644
index 0..88d3fe603
--- /dev/null
+++ b/profiles/make.defaults
@@ -0,0 +1 @@
+USE_EXPAND="LHAPDF_SETS"
\ No newline at end of file

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 0..edd3639d2
--- /dev/null
+++ b/sci-physics/lhapdf-sets/lhapdf-sets-0.ebuild
@@ -0,0 +1,66 @@
+# 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
+"
+
+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  )
+"
+
+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 &quo

[gentoo-commits] proj/sci:master commit in: sci-physics/pyhf/

2023-10-28 Thread Alexander Puck Neuwirth
commit: 2ab41c43e46466f6c6ee93829863a186ea89a570
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Fri Sep  1 08:01:15 2023 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Oct 28 10:00:36 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=2ab41c43

sci-physics/pyhf: new package, add 0.7.3

Closes: https://github.com/gentoo/sci/pull/1216
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/pyhf/metadata.xml  | 18 ++
 sci-physics/pyhf/pyhf-0.7.3.ebuild | 35 +++
 2 files changed, 53 insertions(+)

diff --git a/sci-physics/pyhf/metadata.xml b/sci-physics/pyhf/metadata.xml
new file mode 100644
index 0..47738d1db
--- /dev/null
+++ b/sci-physics/pyhf/metadata.xml
@@ -0,0 +1,18 @@
+ http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   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.
+   
+   
+   particle
+   scikit-hep/particle
+   
+

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 0..8b2d02304
--- /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}]
+"
+BDEPEND="${RDEPEND}"



[gentoo-commits] proj/sci:master commit in: sci-physics/particle/

2023-07-29 Thread Alexander Puck Neuwirth
commit: 7f84924d9383774b9cfa01d9f4d5c395b2ee9fa2
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Jul 26 18:30:36 2023 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Jul 26 22:15:07 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7f84924d

sci-physics/particle: new package, add 0.23.0, 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/particle/metadata.xml   | 19 +
 sci-physics/particle/particle-0.23.0.ebuild | 42 +
 sci-physics/particle/particle-.ebuild   | 42 +
 3 files changed, 103 insertions(+)

diff --git a/sci-physics/particle/metadata.xml 
b/sci-physics/particle/metadata.xml
new file mode 100644
index 0..1ec9e9afb
--- /dev/null
+++ b/sci-physics/particle/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+       Alexander Puck Neuwirth
+   
+   
+   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.
+   
+   
+   particle
+   scikit-hep/particle
+   
+

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 0..c1f823d9d
--- /dev/null
+++ b/sci-physics/particle/particle-0.23.0.ebuild
@@ -0,0 +1,42 @@
+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} ==  ]]; 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}]
+   test? (
+   >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/tabulate[${PYTHON_USEDEP}]
+   )
+"
+BDEPEND="${RDEPEND}"
+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-.ebuild 
b/sci-physics/particle/particle-.ebuild
new file mode 100644
index 0..c1f823d9d
--- /dev/null
+++ b/sci-physics/particle/particle-.ebuild
@@ -0,0 +1,42 @@
+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} ==  ]]; 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}]
+   test? (
+   >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/tabulate[${PYTHON_USEDEP}]
+   )
+"
+BDEPEND="${RDEPEND}"
+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
+}



[gentoo-commits] proj/sci:master commit in: sci-physics/hepunits/

2023-07-29 Thread Alexander Puck Neuwirth
commit: ac4c4a55b40ccb96c3febba0c45ada3a542d326c
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Jul 26 18:28:26 2023 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Jul 26 22:15:06 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ac4c4a55

sci-physics/hepunits: new package, add 2.3.2, 

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/hepunits/hepunits-2.3.2.ebuild | 23 +++
 sci-physics/hepunits/hepunits-.ebuild  | 23 +++
 sci-physics/hepunits/metadata.xml  | 19 +++
 3 files changed, 65 insertions(+)

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 0..9816df84b
--- /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} ==  ]]; 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}]
+"
+BDEPEND="${RDEPEND}"

diff --git a/sci-physics/hepunits/hepunits-.ebuild 
b/sci-physics/hepunits/hepunits-.ebuild
new file mode 100644
index 0..9816df84b
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-.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} ==  ]]; 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}]
+"
+BDEPEND="${RDEPEND}"

diff --git a/sci-physics/hepunits/metadata.xml 
b/sci-physics/hepunits/metadata.xml
new file mode 100644
index 0..41d598fa2
--- /dev/null
+++ b/sci-physics/hepunits/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   alexan...@neuwirth-informatik.de
+   Alexander Puck Neuwirth
+   
+   
+   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
+   
+   
+   hepunits
+   scikit-hep/hepunits
+   
+



[gentoo-commits] proj/sci:master commit in: dev-python/fslpy/

2023-07-26 Thread Alexander Puck Neuwirth
commit: 9a394899bab9bc34f89a41371cc3bb928bb01e5c
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Wed Jul 26 22:10:05 2023 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Wed Jul 26 22:10:05 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=9a394899

dev-python/fslpy: indexed_gzip → indexed-gzip

Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 dev-python/fslpy/fslpy-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/fslpy/fslpy-3.10.0.ebuild 
b/dev-python/fslpy/fslpy-3.10.0.ebuild
index 2cc4e60ff..3f6262707 100644
--- a/dev-python/fslpy/fslpy-3.10.0.ebuild
+++ b/dev-python/fslpy/fslpy-3.10.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="
dev-python/dill[${PYTHON_USEDEP}]
>=dev-python/h5py-2.9[${PYTHON_USEDEP}]
-   >=dev-python/indexed_gzip-0.7.0[${PYTHON_USEDEP}]
+   >=dev-python/indexed-gzip-0.7.0[${PYTHON_USEDEP}]
>=dev-python/numpy-1[${PYTHON_USEDEP}]
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
>=dev-python/trimesh-2.37.29[${PYTHON_USEDEP}]



[gentoo-commits] proj/sci:master commit in: sci-physics/rivet/

2023-04-29 Thread Alexander Puck Neuwirth
commit: 3a54a36607aa7ab4739b52dc0baaa44cf6dab2d0
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Sat Apr 29 10:40:36 2023 +
Commit:     Alexander Puck Neuwirth  neuwirth-informatik  
de>
CommitDate: Sat Apr 29 10:40:36 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=3a54a366

sci-physics/rivet: add 3.1.7

Bug: https://bugs.gentoo.org/897736
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>

 sci-physics/rivet/rivet-3.1.7.ebuild | 78 
 1 file changed, 78 insertions(+)

diff --git a/sci-physics/rivet/rivet-3.1.7.ebuild 
b/sci-physics/rivet/rivet-3.1.7.ebuild
new file mode 100644
index 0..48e47114c
--- /dev/null
+++ b/sci-physics/rivet/rivet-3.1.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-single-r1 flag-o-matic autotools optfeature
+
+MY_PN="Rivet"
+MY_PF=${MY_PN}-${PV}
+
+DESCRIPTION="Rivet toolkit (Robust Independent Validation of Experiment and 
Theory)"
+HOMEPAGE="
+   https://rivet.hepforge.org/
+   https://gitlab.com/hepcedar/rivet
+"
+SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz";
+S=${WORKDIR}/${MY_PF}
+
+LICENSE="GPL-3+"
+SLOT="3"
+KEYWORDS="~amd64"
+IUSE="+hepmc3 hepmc2 +zlib"
+REQUIRED_USE="
+   ^^ ( hepmc3 hepmc2 )
+   ${PYTHON_REQUIRED_USE}
+"
+
+RDEPEND="
+   >=sci-physics/yoda-1.9.5[python(-),${PYTHON_SINGLE_USEDEP}]
+   >=sci-physics/fastjet-3.4.0[plugins]
+   >=sci-physics/fastjet-contrib-1.048
+   hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
+   hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+
+   sci-libs/gsl
+   zlib? ( sys-libs/zlib )
+
+   ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/fortran
+   >=dev-python/cython-0.29.24
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1.6-binreloc.patch
+   "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Eigen complains about alignment (see 
https://gitlab.com/libeigen/eigen/-/issues/2523).
+   # does this affect more cpus?
+   replace-cpu-flags znver1 x86-64
+   econf \
+   $(use_with zlib zlib "${ESYSROOT}/usr") \
+   $(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
+   $(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+   --with-yoda="${ESYSROOT}/usr" \
+   --with-fastjet="${ESYSROOT}/usr"
+}
+
+src_install() {
+   default
+   python_optimize
+   find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinstall() {
+   optfeature "plotting support"   virtual/latex-base  
media-gfx/imagemagick   app-text/ghostscript-gpl
+}