science/py-xbout: New port: Collect data from BOUT++ runs in python using xarray

This commit is contained in:
Yuri Victorovich 2022-12-24 15:56:04 -08:00
parent eed1be4362
commit e39b70298c
4 changed files with 40 additions and 0 deletions

View File

@ -428,6 +428,7 @@
SUBDIR += py-trainstation
SUBDIR += py-tweedledum
SUBDIR += py-veusz
SUBDIR += py-xbout
SUBDIR += pybrain
SUBDIR += pynn
SUBDIR += q

33
science/py-xbout/Makefile Normal file
View File

@ -0,0 +1,33 @@
PORTNAME= xbout
DISTVERSION= 0.3.3
CATEGORIES= science education
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collect data from BOUT++ runs in python using xarray
WWW= https://github.com/boutproject/xBOUT
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}animatplot>=0.4.2:math/py-animatplot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boutdata>0:science/py-boutdata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dask>=2.10.0:devel/py-dask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gelidum>=0.5.3:devel/py-gelidum@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=3.1.1:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}natsort>=5.5.0:devel/py-natsort@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}netCDF4>=1.4.0:science/py-netCDF4@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=6.1.0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${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.8+
USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1671859649
SHA256 (xbout-0.3.3.tar.gz) = e83473d157c251e9a726ff6371b50318f7043b7ce059581f0081f668aa27a506
SIZE (xbout-0.3.3.tar.gz) = 4790987

View File

@ -0,0 +1,3 @@
xBOUT provides an interface for collecting the output data from a BOUT++
simulation into an xarray dataset in an efficient and scalable way, as well
as accessor methods for common BOUT++ analysis and plotting tasks.