commit:     2ab41c43e46466f6c6ee93829863a186ea89a570
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Fri Sep  1 08:01:15 2023 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Sat Oct 28 10:00:36 2023 +0000
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 <alexander <AT> 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 000000000..47738d1db
--- /dev/null
+++ b/sci-physics/pyhf/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM 
"http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>alexan...@neuwirth-informatik.de</email>
+               <name>Alexander Puck Neuwirth</name>
+       </maintainer>
+       <longdescription lang="en">
+       The HistFactory p.d.f. template [CERN-OPEN-2012-016] is per-se 
independent of its implementation in ROOT and sometimes, it’s useful to be able 
to run statistical analysis outside of ROOT, RooFit, RooStats framework.
+       </longdescription>
+       <upstream>
+               <remote-id type="pypi">particle</remote-id>
+               <remote-id type="github">scikit-hep/particle</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/sci-physics/pyhf/pyhf-0.7.3.ebuild 
b/sci-physics/pyhf/pyhf-0.7.3.ebuild
new file mode 100644
index 000000000..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}"

Reply via email to