git: 784fcd3408e8 - main - devel/py-types-pytz: update 2026.3.1.20260727 → 2026.5.0.20261006

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 11 Oct 2026 05:03:51 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=784fcd3408e8960597e1287d86c67615b9606eff

commit 784fcd3408e8960597e1287d86c67615b9606eff
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-11 03:46:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-11 05:03:34 +0000

    devel/py-types-pytz: update 2026.3.1.20260727 → 2026.5.0.20261006
---
 devel/py-types-pytz/Makefile                   |  2 +-
 devel/py-types-pytz/distinfo                   |  6 +++---
 devel/py-types-pytz/files/patch-pyproject.toml | 21 ++++++++++++---------
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/devel/py-types-pytz/Makefile b/devel/py-types-pytz/Makefile
index 817b37aa8709..663a70dcea01 100644
--- a/devel/py-types-pytz/Makefile
+++ b/devel/py-types-pytz/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	types-pytz
-DISTVERSION=	2026.3.1.20260727
+DISTVERSION=	2026.5.0.20261006
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-types-pytz/distinfo b/devel/py-types-pytz/distinfo
index f67bdffafb33..12cf4686ec00 100644
--- a/devel/py-types-pytz/distinfo
+++ b/devel/py-types-pytz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1789141854
-SHA256 (types_pytz-2026.3.1.20260727.tar.gz) = 4364075b6867dd15b210bb8c1d29727d609917129b45600defe1d4b3eda5ecb9
-SIZE (types_pytz-2026.3.1.20260727.tar.gz) = 10914
+TIMESTAMP = 1791664395
+SHA256 (types_pytz-2026.5.0.20261006.tar.gz) = 1a522c2ec03aad8d4baaf97105958019ad51704b1e471c882d1c6ccea3e5e64b
+SIZE (types_pytz-2026.5.0.20261006.tar.gz) = 11073
diff --git a/devel/py-types-pytz/files/patch-pyproject.toml b/devel/py-types-pytz/files/patch-pyproject.toml
index 49e947f2e123..1dcfa62131cf 100644
--- a/devel/py-types-pytz/files/patch-pyproject.toml
+++ b/devel/py-types-pytz/files/patch-pyproject.toml
@@ -1,9 +1,12 @@
 -- Fix build with the setuptools version available in FreeBSD ports.
--- Upstream requires setuptools>=82.0.1 and uses a hyphenated package name in
--- [tool.setuptools.package-data], which the older setuptools in ports rejects.
--- Lower the build-system requirement and use package-data '*' with a find
--- include pattern so the stub files are still installed.
---- pyproject.toml.orig	2026-09-11 15:59:25 UTC
+-- Upstream requires setuptools>=82.0.1; lower the requirement to >=61
+-- which is what the port provides.
+-- Also remove the SPDX 'license' and 'license-files' fields that the older
+-- setuptools rejects, replace the packages list with a packages.find include,
+-- and use a wildcard package-data key to avoid the hyphenated package name
+-- that older setuptools rejects in [tool.setuptools.package-data].
+
+--- pyproject.toml.orig	2026-10-10 20:44:59 UTC
 +++ pyproject.toml
 @@ -1,12 +1,10 @@ build-backend = "setuptools.build_meta"
  [build-system]
@@ -13,13 +16,13 @@
  
  [project]
  name = "types-pytz"
- version = "2026.3.1.20260727"
+ version = "2026.5.0.20261006"
 -license = "Apache-2.0"
 -license-files = ["LICENSE"]
  description = "Typing stubs for pytz"
  readme = { text = """\
  ## Typing stubs for pytz
-@@ -46,8 +44,10 @@ dependencies = []
+@@ -50,8 +48,10 @@ dependencies = []
  "Chat" = "https://gitter.im/python/typing"
  
  [tool.setuptools]
@@ -27,8 +30,8 @@
  include-package-data = false
  
 +[tool.setuptools.packages.find]
-+include = ['pytz-stubs']
++include = ["pytz-stubs"]
 +
  [tool.setuptools.package-data]
 -'pytz-stubs' = ['__init__.pyi', 'exceptions.pyi', 'lazy.pyi', 'reference.pyi', 'tzfile.pyi', 'tzinfo.pyi', 'METADATA.toml', 'py.typed']
-+'*' = ['*.pyi', '*.toml', 'py.typed']
++'*' = ['__init__.pyi', 'exceptions.pyi', 'lazy.pyi', 'reference.pyi', 'tzfile.pyi', 'tzinfo.pyi', 'METADATA.toml', 'py.typed']