git: 4f2941a0d38a - main - science/py-boututils: New port: Python package containing BOUT++ utils
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Dec 2022 11:06:28 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f2941a0d38ac4611f8a894db2a2e470932a1c09 commit 4f2941a0d38ac4611f8a894db2a2e470932a1c09 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-24 11:00:05 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-24 11:06:22 +0000 science/py-boututils: New port: Python package containing BOUT++ utils --- science/Makefile | 1 + science/py-boututils/Makefile | 31 +++++++++++++++++++++++++++++++ science/py-boututils/distinfo | 3 +++ science/py-boututils/pkg-descr | 2 ++ 4 files changed, 37 insertions(+) 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.