1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

science/py-mplhep: New port: Matplotlib styles for HEP

This commit is contained in:
Yuri Victorovich 2024-06-23 03:51:51 -07:00
parent ca06520d3d
commit 788eadd602
4 changed files with 36 additions and 0 deletions

View File

@ -368,6 +368,7 @@
SUBDIR += py-moltemplate
SUBDIR += py-mp-api
SUBDIR += py-mpcontribs-client
SUBDIR += py-mplhep
SUBDIR += py-mplhep-data
SUBDIR += py-mrchem
SUBDIR += py-ncrystal

View File

@ -0,0 +1,29 @@
PORTNAME= mplhep
DISTVERSION= 0.3.49
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Matplotlib styles for HEP
WWW= https://mplhep.readthedocs.io/en/latest/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${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}cycler>0:devel/py-cycler@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mplhep-data>0:science/py-mplhep-data@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1719138020
SHA256 (mplhep-0.3.49.tar.gz) = 1f1aa4d1e4843964a9a26ad2fef4dd255f7fd66290ff208940e0699bdb40beaa
SIZE (mplhep-0.3.49.tar.gz) = 1532306

View File

@ -0,0 +1,3 @@
mplhep is a set of helpers for matplotlib to more easily produce plots typically
needed in HEP as well as style them in way that's compatible with current
collaboration requirements (ROOT-like plots for CMS, ATLAS, LHCb, ALICE).