git: 5f0d89f1a688 - main - graphics/py-colorcet: update 3.1.0 → 3.2.1

Yuri Victorovich <[email protected]> Sun, 02 Aug 2026 00:26:08 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f0d89f1a68879806bfd39f3a5df2a964d359732

commit 5f0d89f1a68879806bfd39f3a5df2a964d359732
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-01 21:53:05 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-02 00:25:49 +0000

    graphics/py-colorcet: update 3.1.0 → 3.2.1
---
 graphics/py-colorcet/Makefile                   |  6 +++++-
 graphics/py-colorcet/distinfo                   |  6 +++---
 graphics/py-colorcet/files/patch-pyproject.toml | 23 +++++++++++++++++++++++
 3 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/graphics/py-colorcet/Makefile b/graphics/py-colorcet/Makefile
index 902fd849c68c..f3f79e8ed72e 100644
--- a/graphics/py-colorcet/Makefile
+++ b/graphics/py-colorcet/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	colorcet
-DISTVERSION=	3.1.0
+DISTVERSION=	3.2.1
 CATEGORIES=	graphics science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	pep517 concurrent autoplist pytest
 
 NO_ARCH=	yes
 
+# tests as of 3.2.1: 2 failed, 433 passed, 3 skipped, 22 warnings
+
 .include <bsd.port.mk>
diff --git a/graphics/py-colorcet/distinfo b/graphics/py-colorcet/distinfo
index 494a87add03e..ef84b6e92afa 100644
--- a/graphics/py-colorcet/distinfo
+++ b/graphics/py-colorcet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709948140
-SHA256 (colorcet-3.1.0.tar.gz) = 2921b3cd81a2288aaf2d63dbc0ce3c26dcd882e8c389cc505d6886bf7aa9a4eb
-SIZE (colorcet-3.1.0.tar.gz) = 2183107
+TIMESTAMP = 1785617528
+SHA256 (colorcet-3.2.1.tar.gz) = 48d9a67e6e59dc5c0a965aa1b46fe5d59cdc95cc36a95949f29313f950ac59f7
+SIZE (colorcet-3.2.1.tar.gz) = 2202958
diff --git a/graphics/py-colorcet/files/patch-pyproject.toml b/graphics/py-colorcet/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0f7e1be89430
--- /dev/null
+++ b/graphics/py-colorcet/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+-- Use PEP 621 compliant license declaration so that the current setuptools
+-- in FreeBSD can parse the pyproject.toml file.
+
+--- pyproject.toml.orig	2026-04-28 16:21:52 UTC
++++ pyproject.toml
+@@ -10,8 +10,7 @@ readme = "README.md"
+ dynamic = ["version"]
+ description = "Collection of perceptually uniform colormaps"
+ readme = "README.md"
+-license = "CC-BY-4.0"
+-license-files = ["LICENSE.txt"]
++license = {text = "CC-BY-4.0"}
+ requires-python = ">=3.10"
+ authors = [
+     { name = "James A. Bednar", email = "[email protected]" },
+@@ -77,6 +76,7 @@ all = [
+ ]
+ 
+ [tool.setuptools]
++license-files = ["LICENSE.txt"]
+ # To exclude PNG files in colorcet/tests/baseline
+ include-package-data = false
+