git: 5f09224333f9 - main - science/py-boutdata: New port: Python package for collecting BOUT++ data

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 24 Dec 2022 11:31:58 UTC
The branch main has been updated by yuri:

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

commit 5f09224333f9c36cd36f3fa53805ead582f8884f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-24 11:31:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-24 11:31:56 +0000

    science/py-boutdata: New port: Python package for collecting BOUT++ data
---
 science/Makefile              |  1 +
 science/py-boutdata/Makefile  | 30 ++++++++++++++++++++++++++++++
 science/py-boutdata/distinfo  |  3 +++
 science/py-boutdata/pkg-descr |  2 ++
 4 files changed, 36 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index d7eae134e04c..a922e9909dae 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -297,6 +297,7 @@
     SUBDIR += py-ase
     SUBDIR += py-atomium
     SUBDIR += py-avogadrolibs
+    SUBDIR += py-boutdata
     SUBDIR += py-boututils
     SUBDIR += py-cdo
     SUBDIR += py-chainer
diff --git a/science/py-boutdata/Makefile b/science/py-boutdata/Makefile
new file mode 100644
index 000000000000..0330f421594d
--- /dev/null
+++ b/science/py-boutdata/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	boutdata
+DISTVERSION=	0.1.10
+CATEGORIES=	science education
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python package for collecting BOUT++ data
+WWW=		https://github.com/boutproject/boutdata
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boututils>0:science/py-boututils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=3.2.1:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}natsort>=8.1.0:devel/py-natsort@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.4.1:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sympy>=1.5.1:math/py-sympy@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \
+		${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-boutdata/distinfo b/science/py-boutdata/distinfo
new file mode 100644
index 000000000000..9ffbfb2b668f
--- /dev/null
+++ b/science/py-boutdata/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671867262
+SHA256 (boutdata-0.1.10.tar.gz) = f33858b7c742c8f2b1540499fa01ef12382541deb9995d1752bd38c0f4d9edb6
+SIZE (boutdata-0.1.10.tar.gz) = 73859
diff --git a/science/py-boutdata/pkg-descr b/science/py-boutdata/pkg-descr
new file mode 100644
index 000000000000..add0b6282cc6
--- /dev/null
+++ b/science/py-boutdata/pkg-descr
@@ -0,0 +1,2 @@
+boutdata is a Python library that manipulates simulation data produced by
+BOUT++, plasma fluid finite-difference simulation code.