misc/py-hist: Re-add port: Histogramming for analysis powered by boost-histogram
This commit is contained in:
parent
0b8922c45c
commit
b6b41ba191
4 changed files with 47 additions and 0 deletions
|
@ -417,6 +417,7 @@
|
|||
SUBDIR += py-gluoncv
|
||||
SUBDIR += py-gluonnlp
|
||||
SUBDIR += py-halo
|
||||
SUBDIR += py-hist
|
||||
SUBDIR += py-histoprint
|
||||
SUBDIR += py-huepy
|
||||
SUBDIR += py-icoextract
|
||||
|
|
39
misc/py-hist/Makefile
Normal file
39
misc/py-hist/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
PORTNAME= hist
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.7.1
|
||||
CATEGORIES= misc python
|
||||
#MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Histogramming for analysis powered by boost-histogram
|
||||
WWW= https://hist.readthedocs.io/en/latest/
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-histogram>=1.3.1:misc/py-boost-histogram@${PY_FLAVOR} \
|
||||
${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}histoprint>=2.2.0:misc/py-histoprint@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=2022:devel/py-dask@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dask-histogram>=2023.1:devel/py-dask-histogram@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-mpl>=0.12:devel/py-pytest-mpl@${PY_FLAVOR}
|
||||
# tests and plotting also need mplhep>=0.2.16 which isn't yet ported
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= pep517 autoplist pytest
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= scikit-hep
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${DISTVERSION}
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
BINARY_ALIAS= git=false
|
||||
|
||||
.include <bsd.port.mk>
|
3
misc/py-hist/distinfo
Normal file
3
misc/py-hist/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1690000714
|
||||
SHA256 (scikit-hep-hist-v2.7.1_GH0.tar.gz) = 4cf53706252ad2cafbdd1f4695ded4bca126718239e569e749ccfb9928b945bc
|
||||
SIZE (scikit-hep-hist-v2.7.1_GH0.tar.gz) = 990922
|
4
misc/py-hist/pkg-descr
Normal file
4
misc/py-hist/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
Hist is a powerful Histogramming tool for analysis based on boost-histogram
|
||||
(the Python binding of the Histogram library in Boost). It is a friendly
|
||||
analysis-focused project that uses boost-histogram as a backend to do the
|
||||
work, but provides plotting tools, shortcuts, and new ideas.
|
Loading…
Reference in a new issue