git: bd8e295f68d0 - main - science/py-nglview: update 3.1.2 → 4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Oct 2025 07:49:46 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd8e295f68d0f541f7df69600a21a1b053097f71
commit bd8e295f68d0f541f7df69600a21a1b053097f71
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-30 07:24:11 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-30 07:49:43 +0000
science/py-nglview: update 3.1.2 → 4.0
---
science/py-nglview/Makefile | 9 +++++++--
science/py-nglview/distinfo | 6 +++---
science/py-nglview/files/patch-pyproject.toml | 14 +++++++++-----
3 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/science/py-nglview/Makefile b/science/py-nglview/Makefile
index 02f126f60974..2d3e5fd808ba 100644
--- a/science/py-nglview/Makefile
+++ b/science/py-nglview/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nglview
-DISTVERSION= 3.1.2
+DISTVERSION= 4.0
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-packaging>=0.7.9:devel/py-jupyter-packaging@${PY_FLAVOR} \
${PY_SETUPTOOLS} \
- ${PYTHON_PKGNAMEPREFIX}versioneer-518>0:devel/py-versioneer-518@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipywidgets>=8:devel/py-ipywidgets@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyterlab>=3:devel/py-jupyterlab@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyterlab-widgets>0:devel/py-jupyterlab-widgets@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}notebook>=7:www/py-notebook@${PY_FLAVOR} \
+ ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR}
USES= python
diff --git a/science/py-nglview/distinfo b/science/py-nglview/distinfo
index f9cc451d6e06..24a14400baef 100644
--- a/science/py-nglview/distinfo
+++ b/science/py-nglview/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713599805
-SHA256 (nglview-3.1.2.tar.gz) = 7f672efa2b6ca0db34de968e5b5766b14b1b3dade212d2f8a083c600a11345ce
-SIZE (nglview-3.1.2.tar.gz) = 5477602
+TIMESTAMP = 1761806359
+SHA256 (nglview-4.0.tar.gz) = 2c0cff2c5b1e2a0a72e3393087ce44ae0308524c5aa5f95357812d3edbc26e83
+SIZE (nglview-4.0.tar.gz) = 26194155
diff --git a/science/py-nglview/files/patch-pyproject.toml b/science/py-nglview/files/patch-pyproject.toml
index 05acfb963d8a..267363cda32d 100644
--- a/science/py-nglview/files/patch-pyproject.toml
+++ b/science/py-nglview/files/patch-pyproject.toml
@@ -1,7 +1,11 @@
---- pyproject.toml.orig 2023-08-01 09:06:19 UTC
+--- pyproject.toml.orig 2025-10-02 14:50:35 UTC
+++ pyproject.toml
-@@ -1,3 +1,3 @@
- [build-system]
--requires = ["jupyter_packaging~=0.7.9", "setuptools>=40.8.0", "wheel", "versioneer-518"]
-+requires = ["jupyter_packaging", "setuptools>=40.8.0", "wheel", "versioneer-518"]
+@@ -2,7 +2,7 @@ requires = [
+ requires = [
+ "jupyter_packaging>=0.7.9; python_version<'3.13'",
+ "jupyter_packaging>=0.12.2; python_version>='3.13'",
+- "setuptools>=75.6.0",
++ "setuptools",
+ "wheel",
+ ]
build-backend = "setuptools.build_meta"