[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: 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}"