git: 0d4ef5263b5b - main - devel/py-cerberus: Lower-case the package name
Date: Tue, 09 Dec 2025 21:17:15 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d4ef5263b5b54e90c547ab01ac33e9709e754e1
commit 0d4ef5263b5b54e90c547ab01ac33e9709e754e1
Author: Nicholas Kirby <nick@kirby.cx>
AuthorDate: 2025-12-09 21:14:51 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2025-12-09 21:16:56 +0000
devel/py-cerberus: Lower-case the package name
Change the package name to lower-case to match the actual module
installed by the package.
This should allow it to be built with the existing version of
setuptools in ports (63.1.0) and the review D46236 version of
setuptools (80.9.0)
PR: 291416
---
devel/py-cerberus/Makefile | 3 ++-
devel/py-cerberus/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/py-cerberus/Makefile b/devel/py-cerberus/Makefile
index 0f5cc12fad45..9408df09c19b 100644
--- a/devel/py-cerberus/Makefile
+++ b/devel/py-cerberus/Makefile
@@ -1,5 +1,6 @@
-PORTNAME= Cerberus
+PORTNAME= cerberus
PORTVERSION= 1.3.8
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-cerberus/files/patch-pyproject.toml b/devel/py-cerberus/files/patch-pyproject.toml
new file mode 100644
index 000000000000..35e03a182add
--- /dev/null
+++ b/devel/py-cerberus/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-12-05 08:33:13 UTC
++++ pyproject.toml
+@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
+ build-backend = "setuptools.build_meta"
+
+ [project]
+-name = "Cerberus"
++name = "cerberus"
+ version = "1.3.8"
+ description = """\
+ Lightweight, extensible schema and data validation tool for Python\