git: 36ad877aff7e - main - devel/py-canonicaljson: Update to 1.6.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:45:36 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36ad877aff7ea66db61187fe701b06d2bd92269d

commit 36ad877aff7ea66db61187fe701b06d2bd92269d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:30:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:25 +0000

    devel/py-canonicaljson: Update to 1.6.1
    
    Changes:        https://github.com/matrix-org/python-canonicaljson/releases
---
 devel/py-canonicaljson/Makefile | 12 +++++++++---
 devel/py-canonicaljson/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/devel/py-canonicaljson/Makefile b/devel/py-canonicaljson/Makefile
index d79567401cdf..d7e353922e96 100644
--- a/devel/py-canonicaljson/Makefile
+++ b/devel/py-canonicaljson/Makefile
@@ -1,7 +1,7 @@
 # Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
 
 PORTNAME=	canonicaljson
-PORTVERSION=	1.6.0
+PORTVERSION=	1.6.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,11 +21,17 @@ USE_PYTHON=	autoplist concurrent distutils
 NO_ARCH=	yes
 
 OPTIONS_DEFINE=	FROZENDICT
-FROZENDICT_DESC=	Frozendict immutable dictionaries support
+FROZENDICT_DESC=Frozendict immutable dictionaries support
 
 FROZENDICT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}frozendict>=1.0:devel/py-frozendict@${PY_FLAVOR}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
 do-test:
 	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-canonicaljson/distinfo b/devel/py-canonicaljson/distinfo
index 66af84f4ec89..b781bfb7bbe4 100644
--- a/devel/py-canonicaljson/distinfo
+++ b/devel/py-canonicaljson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1647264514
-SHA256 (canonicaljson-1.6.0.tar.gz) = 8739d5fd91aca7281d425660ae65af7663808c8177778965f67e90b16a2b2427
-SIZE (canonicaljson-1.6.0.tar.gz) = 9959
+TIMESTAMP = 1652122627
+SHA256 (canonicaljson-1.6.1.tar.gz) = a93664f698556dbd4bab9c3fc4fb35834cf2535da1ea00b6b7758d8fe2bbb824
+SIZE (canonicaljson-1.6.1.tar.gz) = 10649