aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-24 11:31:33 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-24 11:31:56 +0000
commit5f09224333f9c36cd36f3fa53805ead582f8884f (patch)
treef5a0024359e7e4736c911f2952410cd2e7499896
parentc1f19973e4bf7fb96b277e746a96a1e1c0d9ec95 (diff)
downloadports-5f09224333f9c36cd36f3fa53805ead582f8884f.tar.gz
ports-5f09224333f9c36cd36f3fa53805ead582f8884f.zip
science/py-boutdata: New port: Python package for collecting BOUT++ data
-rw-r--r--science/Makefile1
-rw-r--r--science/py-boutdata/Makefile30
-rw-r--r--science/py-boutdata/distinfo3
-rw-r--r--science/py-boutdata/pkg-descr2
4 files changed, 36 insertions, 0 deletions
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.