git: 3fb36ad58c87 - main - devel/py-pyrfc3339: Update to 2.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:29:45 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3fb36ad58c871a042997f467961ad8c9deb2175e

commit 3fb36ad58c871a042997f467961ad8c9deb2175e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:59:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:45 +0000

    devel/py-pyrfc3339: Update to 2.1.0
    
    - Update WWW
    
    Changes:        https://github.com/kurtraschke/pyRFC3339/releases
---
 devel/py-pyrfc3339/Makefile                   | 13 ++++++-------
 devel/py-pyrfc3339/distinfo                   |  6 +++---
 devel/py-pyrfc3339/files/patch-pyproject.toml | 24 ++++++++++++++++++++++++
 devel/py-pyrfc3339/files/patch-setup.py       | 11 -----------
 4 files changed, 33 insertions(+), 21 deletions(-)

diff --git a/devel/py-pyrfc3339/Makefile b/devel/py-pyrfc3339/Makefile
index 43c84538d9eb..1a8172a4c1d5 100644
--- a/devel/py-pyrfc3339/Makefile
+++ b/devel/py-pyrfc3339/Makefile
@@ -1,24 +1,23 @@
 PORTNAME=	pyrfc3339
-PORTVERSION=	1.1
-PORTREVISION=	1
+PORTVERSION=	2.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	pyRFC3339-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Generate and parse RFC 3339 timestamps
-WWW=		https://github.com/kurtraschke/pyRFC3339
+WWW=		https://pyrfc3339.readthedocs.io/en/latest/ \
+		https://github.com/kurtraschke/pyRFC3339
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent pep517 nose
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-pyrfc3339/distinfo b/devel/py-pyrfc3339/distinfo
index 9bae565495ce..fb5054cc2fe2 100644
--- a/devel/py-pyrfc3339/distinfo
+++ b/devel/py-pyrfc3339/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1529611040
-SHA256 (pyRFC3339-1.1.tar.gz) = 81b8cbe1519cdb79bed04910dd6fa4e181faf8c88dff1e1b987b5f7ab23a5b1a
-SIZE (pyRFC3339-1.1.tar.gz) = 5290
+TIMESTAMP = 1790435798
+SHA256 (pyrfc3339-2.1.0.tar.gz) = c569a9714faf115cdb20b51e830e798c1f4de8dabb07f6ff25d221b5d09d8d7f
+SIZE (pyrfc3339-2.1.0.tar.gz) = 12589
diff --git a/devel/py-pyrfc3339/files/patch-pyproject.toml b/devel/py-pyrfc3339/files/patch-pyproject.toml
new file mode 100644
index 000000000000..85ff69b247f6
--- /dev/null
+++ b/devel/py-pyrfc3339/files/patch-pyproject.toml
@@ -0,0 +1,24 @@
+--- pyproject.toml.orig	2025-08-23 16:25:04 UTC
++++ pyproject.toml
+@@ -1,9 +1,9 @@
+ [build-system]
+-requires = ["setuptools>=64", "setuptools_scm>=8"]
++requires = ["setuptools>=61", "setuptools_scm>=8"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+-name = "pyRFC3339"
++name = "pyrfc3339"
+ dynamic = ["version"]
+ requires-python = ">= 3.9"
+ authors = [
+@@ -12,8 +12,7 @@ keywords = ["rfc-3339", "timestamp", "iso-8601", "date
+ description = "Generate and parse RFC 3339 timestamps"
+ readme = { file = "README.rst", content-type = "text/x-rst" }
+ keywords = ["rfc-3339", "timestamp", "iso-8601", "datetime"]
+-license = "MIT"
+-license-files = ["LICENSE.txt"]
++license = { text = "MIT" }
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+     "Intended Audience :: Developers",
diff --git a/devel/py-pyrfc3339/files/patch-setup.py b/devel/py-pyrfc3339/files/patch-setup.py
deleted file mode 100644
index 5b7e632846ab..000000000000
--- a/devel/py-pyrfc3339/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2018-06-10 23:56:54 UTC
-+++ setup.py
-@@ -4,7 +4,7 @@ setup(
-     long_description = readme.read()
- 
- setup(
--    name = "pyRFC3339",
-+    name = "pyrfc3339",
-     version = "1.1",
-     author = "Kurt Raschke",
-     author_email = "kurt@kurtraschke.com",