Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc/py-hist: Re-add port: Histogramming for analysis powered by boos…
…t-histogram
- Loading branch information
Showing
4 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |