git: 0a8213e993c5 - main - math/py-GridDataFormats: update 1.0.2 → 1.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Jul 2026 04:25:28 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0a8213e993c5fc45d08790320483a1597bf7b0df
commit 0a8213e993c5fc45d08790320483a1597bf7b0df
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-24 17:26:59 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-25 04:24:26 +0000
math/py-GridDataFormats: update 1.0.2 → 1.2.0
---
math/py-GridDataFormats/Makefile | 23 ++++++++++++++++------
math/py-GridDataFormats/distinfo | 6 +++---
math/py-GridDataFormats/files/patch-pyproject.toml | 21 ++++++++++++++++++++
3 files changed, 41 insertions(+), 9 deletions(-)
diff --git a/math/py-GridDataFormats/Makefile b/math/py-GridDataFormats/Makefile
index b5005ca1bdf4..b2ddd51c18c9 100644
--- a/math/py-GridDataFormats/Makefile
+++ b/math/py-GridDataFormats/Makefile
@@ -1,6 +1,5 @@
PORTNAME= GridDataFormats
-DISTVERSION= 1.0.2
-PORTREVISION= 3
+DISTVERSION= 1.2.0
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -8,19 +7,31 @@ MAINTAINER= yuri@FreeBSD.org
COMMENT= Handle data on a grid: NumPy n-dimensional arrays
WWW= https://github.com/MDAnalysis/GridDataFormats
-LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}versioningit>0:devel/py-versioningit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.21:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mrcfile>0:biology/py-mrcfile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist concurrent pytest
+USE_PYTHON= pep517 autoplist concurrent pytest
USE_GITHUB= yes
GH_ACCOUNT= MDAnalysis
+MAKE_ENV= MY_PROJECT_VERSION=${DISTVERSION}
+
+BINARY_ALIAS= git=false
+
NO_ARCH= yes
+post-patch:
+ @${ECHO} ${DISTVERSION} > ${WRKSRC}/VERSION
+
+# tests as of 1.2.0: 123 passed, 26 skipped in 2.62s
+
.include <bsd.port.mk>
diff --git a/math/py-GridDataFormats/distinfo b/math/py-GridDataFormats/distinfo
index a5022cf52bce..914593b51466 100644
--- a/math/py-GridDataFormats/distinfo
+++ b/math/py-GridDataFormats/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1697967650
-SHA256 (MDAnalysis-GridDataFormats-1.0.2_GH0.tar.gz) = 19522bc2de4af0bc4dd7d44716951852cd7ff6a98f59de3551301fcea70ff57c
-SIZE (MDAnalysis-GridDataFormats-1.0.2_GH0.tar.gz) = 2376352
+TIMESTAMP = 1784748671
+SHA256 (MDAnalysis-GridDataFormats-1.2.0_GH0.tar.gz) = 1da529335c0b8b95c8590b1bceb4c7efd1027fa3ed01563bcd853d2329834b7e
+SIZE (MDAnalysis-GridDataFormats-1.2.0_GH0.tar.gz) = 5792496
diff --git a/math/py-GridDataFormats/files/patch-pyproject.toml b/math/py-GridDataFormats/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0a1180a19372
--- /dev/null
+++ b/math/py-GridDataFormats/files/patch-pyproject.toml
@@ -0,0 +1,21 @@
+--- pyproject.toml.orig 2026-05-23 02:52:48 UTC
++++ pyproject.toml
+@@ -8,8 +8,6 @@ description = "Reading and writing of data on regular
+ [project]
+ name = "GridDataFormats"
+ description = "Reading and writing of data on regular grids in Python"
+-license = "LGPL-3.0-or-later"
+-license-files = ["COPYING", "COPYING.LESSER", "AUTHORS"]
+ authors = [
+ {name = "Oliver Beckstein", email = "orbeckst@gmail.com"},
+ ]
+@@ -47,6 +45,9 @@ dynamic = [
+ dynamic = [
+ "version",
+ ]
++
++[tool.setuptools.dynamic]
++version = {file = ["VERSION"]}
+
+ [project.optional-dependencies]
+ test = [