git: ca06520d3db4 - main - science/py-mplhep-data: New port: Font (Data) sub-package for mplhep

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 23 Jun 2024 10:59:38 UTC
The branch main has been updated by yuri:

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

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

    science/py-mplhep-data: New port: Font (Data) sub-package for mplhep
---
 science/Makefile                 |  1 +
 science/py-mplhep-data/Makefile  | 24 ++++++++++++++++++++++++
 science/py-mplhep-data/distinfo  |  3 +++
 science/py-mplhep-data/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index 0455d6c14621..8817e880bd1d 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-data
     SUBDIR += py-mrchem
     SUBDIR += py-ncrystal
     SUBDIR += py-netCDF4
diff --git a/science/py-mplhep-data/Makefile b/science/py-mplhep-data/Makefile
new file mode 100644
index 000000000000..c3725d0cc2e0
--- /dev/null
+++ b/science/py-mplhep-data/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	mplhep-data
+DISTVERSION=	0.0.3
+CATEGORIES=	science python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Font (Data) sub-package for mplhep
+WWW=		https://github.com/Scikit-HEP/mplhep_data
+
+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}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-mplhep-data/distinfo b/science/py-mplhep-data/distinfo
new file mode 100644
index 000000000000..adaa42791f80
--- /dev/null
+++ b/science/py-mplhep-data/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1719139008
+SHA256 (mplhep_data-0.0.3.tar.gz) = b54d257f3f53c93a442cda7a6681ce267277e09173c0b41fd78820f78321772f
+SIZE (mplhep_data-0.0.3.tar.gz) = 5764026
diff --git a/science/py-mplhep-data/pkg-descr b/science/py-mplhep-data/pkg-descr
new file mode 100644
index 000000000000..8d1846f454c4
--- /dev/null
+++ b/science/py-mplhep-data/pkg-descr
@@ -0,0 +1,3 @@
+mplhep_data is a sub-package to hold data (fonts) for mplhep.
+
+Fonts distributed in this package have open licenses and can be redistributed.