aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-06-23 10:42:21 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-06-23 10:54:13 +0000
commitca06520d3db4081390704d2ec6545de275f24a1f (patch)
tree70074e4b7f32d8615e0f62f1db9cf48c5e837d9c
parent88fdefc4dfabe4c7344166a279884e5ff48a357f (diff)
science/py-mplhep-data: New port: Font (Data) sub-package for mplhep
-rw-r--r--science/Makefile1
-rw-r--r--science/py-mplhep-data/Makefile24
-rw-r--r--science/py-mplhep-data/distinfo3
-rw-r--r--science/py-mplhep-data/pkg-descr3
4 files changed, 31 insertions, 0 deletions
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.