git: 4fd59e62ba68 - main - devel/py-canonicaljson: Update to 1.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:43:43 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fd59e62ba68a236af37d4d5b4b48a68373c9335

commit 4fd59e62ba68a236af37d4d5b4b48a68373c9335
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:59:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:52 +0000

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

diff --git a/devel/py-canonicaljson/Makefile b/devel/py-canonicaljson/Makefile
index 9eda08e8ecab..d79567401cdf 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.5.0
+PORTVERSION=	1.6.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +12,7 @@ COMMENT=	Canonical JSON
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}frozendict>=1.0:devel/py-frozendict@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}simplejson>=3.14.0:devel/py-simplejson@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>=3.14.0:devel/py-simplejson@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.5+
@@ -21,7 +20,12 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	FROZENDICT
+FROZENDICT_DESC=	Frozendict immutable dictionaries support
+
+FROZENDICT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}frozendict>=1.0:devel/py-frozendict@${PY_FLAVOR}
+
 do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
 
 .include <bsd.port.mk>
diff --git a/devel/py-canonicaljson/distinfo b/devel/py-canonicaljson/distinfo
index c6fe85ea5aec..66af84f4ec89 100644
--- a/devel/py-canonicaljson/distinfo
+++ b/devel/py-canonicaljson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635181041
-SHA256 (canonicaljson-1.5.0.tar.gz) = 5ebddcd74c5b066ee68ecca56465338e9b1380467e0a906f4797697c9fb381e2
-SIZE (canonicaljson-1.5.0.tar.gz) = 9991
+TIMESTAMP = 1647264514
+SHA256 (canonicaljson-1.6.0.tar.gz) = 8739d5fd91aca7281d425660ae65af7663808c8177778965f67e90b16a2b2427
+SIZE (canonicaljson-1.6.0.tar.gz) = 9959