git: 256279ad2b23 - main - devel/py-referencing: Update to 0.36.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Feb 2025 15:58:13 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=256279ad2b23222045c5456d927aff4728182153

commit 256279ad2b23222045c5456d927aff4728182153
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 15:19:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 15:51:20 +0000

    devel/py-referencing: Update to 0.36.2
    
    Changes:        https://github.com/python-jsonschema/referencing/releases
                    https://referencing.readthedocs.io/en/stable/changes/
---
 devel/py-referencing/Makefile | 12 +++++++++---
 devel/py-referencing/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/devel/py-referencing/Makefile b/devel/py-referencing/Makefile
index d8478e559aa5..beac6b65e55d 100644
--- a/devel/py-referencing/Makefile
+++ b/devel/py-referencing/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	referencing
-PORTVERSION=	0.35.1
+PORTVERSION=	0.36.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/python-jsonschema/referencing/releases/download/v${PORTVERSION}/
@@ -18,9 +18,15 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVO
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rpds-py>=0.7.0:devel/py-rpds-py@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31300
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-referencing/distinfo b/devel/py-referencing/distinfo
index 5b0776eabd9a..fe7a3dc690c4 100644
--- a/devel/py-referencing/distinfo
+++ b/devel/py-referencing/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715842750
-SHA256 (referencing-0.35.1.tar.gz) = 25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c
-SIZE (referencing-0.35.1.tar.gz) = 62991
+TIMESTAMP = 1738089062
+SHA256 (referencing-0.36.2.tar.gz) = df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa
+SIZE (referencing-0.36.2.tar.gz) = 74744