Re: git: 0d4ef5263b5b - main - devel/py-cerberus: Lower-case the package name
Date: Tue, 16 Dec 2025 14:54:26 UTC
Hello,
On Wed, Dec 10, 2025 at 5:17 AM Matthew Seaman <matthew@freebsd.org> wrote:
> 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
>
It breaks the 2 dependent ports, devel/py-plette and science/py-pyked.
See
https://pkg-status.freebsd.org/beefy23/data/150amd64-default/e05e2042985b/logs/py311-plette-2.1.0.log
and
https://pkg-status.freebsd.org/beefy22/data/143amd64-default/f0beb1ebfa25/logs/py311-pyked-0.4.1.16_3.log
> 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\
>
>