git: 0902c8cb71e8 - main - devel/py-calver: Update to 2025.4.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 18 Apr 2025 05:44:40 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0902c8cb71e82dd00c6a004a8d8acc2dd7253cd5

commit 0902c8cb71e82dd00c6a004a8d8acc2dd7253cd5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-18 05:15:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-18 05:37:23 +0000

    devel/py-calver: Update to 2025.4.2
    
    Changes:        https://github.com/di/calver/releases
---
 devel/py-calver/Makefile                   |  3 +--
 devel/py-calver/distinfo                   |  6 +++---
 devel/py-calver/files/patch-pyproject.toml | 18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/devel/py-calver/Makefile b/devel/py-calver/Makefile
index 6b6b555032da..fb06d4e2f825 100644
--- a/devel/py-calver/Makefile
+++ b/devel/py-calver/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	calver
-PORTVERSION=	2022.6.26
-PORTREVISION=	1
+PORTVERSION=	2025.4.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-calver/distinfo b/devel/py-calver/distinfo
index dd113aa11b70..29052a3f5106 100644
--- a/devel/py-calver/distinfo
+++ b/devel/py-calver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657835419
-SHA256 (calver-2022.6.26.tar.gz) = e05493a3b17517ef1748fbe610da11f10485faa7c416b9d33fd4a52d74894f8b
-SIZE (calver-2022.6.26.tar.gz) = 6670
+TIMESTAMP = 1744288864
+SHA256 (calver-2025.4.2.tar.gz) = f854bb865a070da3d45f989f812b2fb6847a10c2d5a7490490ec16832617a463
+SIZE (calver-2025.4.2.tar.gz) = 7719
diff --git a/devel/py-calver/files/patch-pyproject.toml b/devel/py-calver/files/patch-pyproject.toml
new file mode 100644
index 000000000000..913e45b2707e
--- /dev/null
+++ b/devel/py-calver/files/patch-pyproject.toml
@@ -0,0 +1,18 @@
+--- pyproject.toml.orig	2025-04-02 14:49:56 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=77.0.1"]  # https://github.com/di/calver/pull/19
++requires = ["setuptools>=61"]  # https://github.com/di/calver/pull/19
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -8,7 +8,7 @@ requires-python = ">=3.9"
+ description = "Setuptools extension for CalVer package versions"
+ readme = "README.md"
+ requires-python = ">=3.9"
+-license = "Apache-2.0"
++license = { text = "Apache-2.0" }
+ authors = [
+     { name = "Dustin Ingram", email = "di@python.org" }
+ ]