git: 1d51b436ed37 - main - science/py-xbout: update 0.3.8 → 0.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Oct 2026 08:12:22 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1d51b436ed3791f532e4ced79a4f8a547399ec5e
commit 1d51b436ed3791f532e4ced79a4f8a547399ec5e
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-20 06:56:38 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-20 08:11:21 +0000
science/py-xbout: update 0.3.8 → 0.4.0
---
science/py-xbout/Makefile | 9 ++++++++-
science/py-xbout/distinfo | 6 +++---
science/py-xbout/files/patch-pyproject.toml | 15 ++++++++++++++-
3 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/science/py-xbout/Makefile b/science/py-xbout/Makefile
index 7dbbb4479841..e9f6d7e35487 100644
--- a/science/py-xbout/Makefile
+++ b/science/py-xbout/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xbout
-DISTVERSION= 0.3.8
+DISTVERSION= 0.4.0
CATEGORIES= science education
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,17 +19,24 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}animatplot-ng>=0.4.2:math/py-animatplot-ng@$
${PYTHON_PKGNAMEPREFIX}boutdata>=0.1.4: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}h5netcdf>0:science/py-h5netcdf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${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} \
${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}xarray>=2023.01.0:devel/py-xarray@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 autoplist pytest
NO_ARCH= yes
+TEST_ARGS= --disable-plugin-autoload -p pytest_cov
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/xbout/tests
+# tests as of 0.4.0: 268 passed, 522 skipped, 536 warnings in 687.72s (0:11:27)
+
.include <bsd.port.mk>
diff --git a/science/py-xbout/distinfo b/science/py-xbout/distinfo
index 44330194d403..90ed8edf025f 100644
--- a/science/py-xbout/distinfo
+++ b/science/py-xbout/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1774983861
-SHA256 (xbout-0.3.8.tar.gz) = 9d17f3425b46304d837dff514b3d1541f85e5de69eaa43629c1806220b4a0b26
-SIZE (xbout-0.3.8.tar.gz) = 4814159
+TIMESTAMP = 1792336721
+SHA256 (xbout-0.4.0.tar.gz) = 1a118823550e5db0ec239bee2f61a55545eb1643035082e5d4919aa5390cc847
+SIZE (xbout-0.4.0.tar.gz) = 4818974
diff --git a/science/py-xbout/files/patch-pyproject.toml b/science/py-xbout/files/patch-pyproject.toml
index 8f729fc66e73..55954d2da4df 100644
--- a/science/py-xbout/files/patch-pyproject.toml
+++ b/science/py-xbout/files/patch-pyproject.toml
@@ -1,4 +1,8 @@
---- pyproject.toml.orig 2026-04-01 18:51:28 UTC
+-- Relax the setuptools/wheel version requirements to what is available in
+-- the ports tree and use the legacy license table form that is accepted by
+-- the setuptools version in the ports tree.
+
+--- pyproject.toml.orig 2026-06-19 04:43:36 UTC
+++ pyproject.toml
@@ -1,8 +1,8 @@ requires = [
[build-system]
@@ -11,3 +15,12 @@
]
build-backend = "setuptools.build_meta"
+@@ -14,7 +14,7 @@ authors = [
+ {name = "Thomas Nicholas", email = "thomas.nicholas@york.ac.uk"},
+ {name = "John Omotani"},
+ ]
+-license = "Apache-2.0"
++license = {text = "Apache-2.0"}
+ dynamic = ["version"]
+ keywords = ["gyrokinetics", "analysis", "plasma", "research"]
+ classifiers = [