aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-10-11 12:53:42 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-10-11 12:53:42 +0000
commit277308333dafd29a2ea7cb6e5e5755492246f736 (patch)
tree21ed380a0d1f0e946df61aa45e97ad585a645dce
parent686b8c12ee3e1a3faa20999c4b84974e1203b630 (diff)
downloadports-277308333dafd29a2ea7cb6e5e5755492246f736.tar.gz
ports-277308333dafd29a2ea7cb6e5e5755492246f736.zip
math/py-hepstats: Add py-hepstats 0.7.0
hepstats is a library for statistical inference aiming to cover the needs High Energy Physics. It is part of the Scikit-HEP project.
-rw-r--r--math/Makefile1
-rw-r--r--math/py-hepstats/Makefile30
-rw-r--r--math/py-hepstats/distinfo3
-rw-r--r--math/py-hepstats/pkg-descr2
4 files changed, 36 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index c27681c2c120..71788b9e5e6c 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -945,6 +945,7 @@
SUBDIR += py-gym-notices
SUBDIR += py-hdbscan
SUBDIR += py-hdmedians
+ SUBDIR += py-hepstats
SUBDIR += py-heyoka
SUBDIR += py-igraph
SUBDIR += py-iminuit
diff --git a/math/py-hepstats/Makefile b/math/py-hepstats/Makefile
new file mode 100644
index 000000000000..ad94e83b7f78
--- /dev/null
+++ b/math/py-hepstats/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= hepstats
+PORTVERSION= 0.7.0
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Statistics tools and utilities
+WWW= https://scikit-hep.org/hepstats/ \
+ https://github.com/scikit-hep/hepstats
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSES/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asdf>=0:science/py-asdf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}uhi>=0:misc/py-uhi@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-hepstats/distinfo b/math/py-hepstats/distinfo
new file mode 100644
index 000000000000..9d946b9ef88f
--- /dev/null
+++ b/math/py-hepstats/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696904098
+SHA256 (hepstats-0.7.0.tar.gz) = dae50a739afb4e80c4118bbd13ff1c959d9de96b45fd9cab31a75f4b96b66288
+SIZE (hepstats-0.7.0.tar.gz) = 16677799
diff --git a/math/py-hepstats/pkg-descr b/math/py-hepstats/pkg-descr
new file mode 100644
index 000000000000..17e3cb71954b
--- /dev/null
+++ b/math/py-hepstats/pkg-descr
@@ -0,0 +1,2 @@
+hepstats is a library for statistical inference aiming to cover the needs High
+Energy Physics. It is part of the Scikit-HEP project.