Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2024 10:59:39 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 788eadd602c9 - main - science/py-mplhep: New port: Matplotlib styles for HEP
Message-ID:  <202406231059.45NAxd5V066457@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=788eadd602c9e40c2422fde9342abbbc1f706fbe

commit 788eadd602c9e40c2422fde9342abbbc1f706fbe
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-23 10:51:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-23 10:54:13 +0000

    science/py-mplhep: New port: Matplotlib styles for HEP
---
 science/Makefile            |  1 +
 science/py-mplhep/Makefile  | 29 +++++++++++++++++++++++++++++
 science/py-mplhep/distinfo  |  3 +++
 science/py-mplhep/pkg-descr |  3 +++
 4 files changed, 36 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 8817e880bd1d..ddbfcac05382 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -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
diff --git a/science/py-mplhep/Makefile b/science/py-mplhep/Makefile
new file mode 100644
index 000000000000..b55550701ea9
--- /dev/null
+++ b/science/py-mplhep/Makefile
@@ -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>
diff --git a/science/py-mplhep/distinfo b/science/py-mplhep/distinfo
new file mode 100644
index 000000000000..6f48ca520258
--- /dev/null
+++ b/science/py-mplhep/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1719138020
+SHA256 (mplhep-0.3.49.tar.gz) = 1f1aa4d1e4843964a9a26ad2fef4dd255f7fd66290ff208940e0699bdb40beaa
+SIZE (mplhep-0.3.49.tar.gz) = 1532306
diff --git a/science/py-mplhep/pkg-descr b/science/py-mplhep/pkg-descr
new file mode 100644
index 000000000000..6f23acfaad10
--- /dev/null
+++ b/science/py-mplhep/pkg-descr
@@ -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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406231059.45NAxd5V066457>