git: 86d9ece0bf42 - main - devel/py-types-mock: Update to 5.2.0.20250516

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 25 May 2025 10:00:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86d9ece0bf42f5acb8167b36cab9526575ac44b1

commit 86d9ece0bf42f5acb8167b36cab9526575ac44b1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-05-25 09:32:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-05-25 09:52:42 +0000

    devel/py-types-mock: Update to 5.2.0.20250516
    
    Changes:        https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/mock.md
---
 devel/py-types-mock/Makefile                   |  6 +++---
 devel/py-types-mock/distinfo                   |  6 +++---
 devel/py-types-mock/files/patch-pyproject.toml | 23 +++++++++++++++++++++++
 3 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/devel/py-types-mock/Makefile b/devel/py-types-mock/Makefile
index e95989871070..bba5527272a0 100644
--- a/devel/py-types-mock/Makefile
+++ b/devel/py-types-mock/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	types-mock
-PORTVERSION=	5.2.0.20250306
+PORTVERSION=	5.2.0.20250516
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,10 @@ WWW=		https://github.com/python/typeshed/tree/main/stubs/mock
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
-USES=		python:3.9+
+USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
diff --git a/devel/py-types-mock/distinfo b/devel/py-types-mock/distinfo
index c6f92ccb9ef6..50cb9fb39ebb 100644
--- a/devel/py-types-mock/distinfo
+++ b/devel/py-types-mock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070416
-SHA256 (types_mock-5.2.0.20250306.tar.gz) = 15882cb5cf9980587a7607e31890801223801d7997f559686805ce09b6536087
-SIZE (types_mock-5.2.0.20250306.tar.gz) = 11357
+TIMESTAMP = 1747715430
+SHA256 (types_mock-5.2.0.20250516.tar.gz) = aab7d3d9ad3814f2f8da12cc8e42d9be7d38200c5f214e3c0278c38fa01299d7
+SIZE (types_mock-5.2.0.20250516.tar.gz) = 11220
diff --git a/devel/py-types-mock/files/patch-pyproject.toml b/devel/py-types-mock/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f6c8a34d5fdd
--- /dev/null
+++ b/devel/py-types-mock/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+--- pyproject.toml.orig	2025-05-16 03:08:09 UTC
++++ pyproject.toml
+@@ -1,12 +1,11 @@ build-backend = "setuptools.build_meta"
+ [build-system]
+ build-backend = "setuptools.build_meta"
+-requires = ["setuptools>=77.0.3"]
++requires = ["setuptools>=61.0"]
+ 
+ [project]
+ name = "types-mock"
+ version = "5.2.0.20250516"
+-license = "Apache-2.0"
+-license-files = ["LICENSE"]
++license = { text = "Apache-2.0" }
+ description = "Typing stubs for mock"
+ readme = { text = """\
+ ## Typing stubs for mock
+@@ -51,5 +50,4 @@ dependencies = []
+ "Chat" = "https://gitter.im/python/typing"
+ 
+ [tool.setuptools]
+-packages = ['mock-stubs']
+ include-package-data = false