aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-24 11:00:05 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-24 11:06:22 +0000
commit4f2941a0d38ac4611f8a894db2a2e470932a1c09 (patch)
treeb95db48896dfec09446394d4a4581bbb2d66ffd7
parentc441ab0ff6f46a2c8ceb9fb55470483afe607dc0 (diff)
downloadports-4f2941a0d38ac4611f8a894db2a2e470932a1c09.tar.gz
ports-4f2941a0d38ac4611f8a894db2a2e470932a1c09.zip
science/py-boututils: New port: Python package containing BOUT++ utils
-rw-r--r--science/Makefile1
-rw-r--r--science/py-boututils/Makefile31
-rw-r--r--science/py-boututils/distinfo3
-rw-r--r--science/py-boututils/pkg-descr2
4 files changed, 37 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 7192941683d6..d7eae134e04c 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -297,6 +297,7 @@
SUBDIR += py-ase
SUBDIR += py-atomium
SUBDIR += py-avogadrolibs
+ SUBDIR += py-boututils
SUBDIR += py-cdo
SUBDIR += py-chainer
SUBDIR += py-chainer-chemistry
diff --git a/science/py-boututils/Makefile b/science/py-boututils/Makefile
new file mode 100644
index 000000000000..d65d500ff976
--- /dev/null
+++ b/science/py-boututils/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= boututils
+DISTVERSION= 0.1.9
+CATEGORIES= science education
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python package containing BOUT++ utils
+WWW= https://github.com/boutproject/boututils
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.2.1:math/py-matplotlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mayavi>0:graphics/py-mayavi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.5.3:science/py-netCDF4@${PY_FLAVOR} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.4.1:science/py-scipy@${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+ pyqt:5
+USE_PYTHON= distutils autoplist pytest
+USE_PYQT= pyqt5
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-boututils/distinfo b/science/py-boututils/distinfo
new file mode 100644
index 000000000000..7e5481d25d11
--- /dev/null
+++ b/science/py-boututils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671867385
+SHA256 (boututils-0.1.9.tar.gz) = b30bdca18d831760dae1b8b012bf462736c58b6b39d941984a53a499f5b98cb3
+SIZE (boututils-0.1.9.tar.gz) = 62451
diff --git a/science/py-boututils/pkg-descr b/science/py-boututils/pkg-descr
new file mode 100644
index 000000000000..3cb325e5ac4e
--- /dev/null
+++ b/science/py-boututils/pkg-descr
@@ -0,0 +1,2 @@
+Python utilities for managing data produced by BOUT++,
+plasma fluid finite-difference simulation code.