git: 117a037d1c8d - main - devel/py-cattrs: Update to 22.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 16:37:15 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=117a037d1c8d5a2546a5f10b829fe37c78e2b4ff

commit 117a037d1c8d5a2546a5f10b829fe37c78e2b4ff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:32:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:32:53 +0000

    devel/py-cattrs: Update to 22.1.0
    
    Changes:        https://github.com/python-attrs/cattrs/blob/main/HISTORY.rst
---
 devel/py-cattrs/Makefile | 6 +++++-
 devel/py-cattrs/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/devel/py-cattrs/Makefile b/devel/py-cattrs/Makefile
index 4b38ffc00a15..e9cd71757abc 100644
--- a/devel/py-cattrs/Makefile
+++ b/devel/py-cattrs/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	cattrs
-PORTVERSION=	1.10.0
+PORTVERSION=	22.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,4 +25,8 @@ NO_ARCH=	yes
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 .endif
 
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.0.0rc3:devel/py-exceptiongroup@${PY_FLAVOR}
+.endif
+
 .include <bsd.port.post.mk>
diff --git a/devel/py-cattrs/distinfo b/devel/py-cattrs/distinfo
index ca739ed89ad2..aca6c50c24fa 100644
--- a/devel/py-cattrs/distinfo
+++ b/devel/py-cattrs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643970966
-SHA256 (cattrs-1.10.0.tar.gz) = 211800f725cdecedcbcf4c753bbd22d248312b37d130f06045434acb7d9b34e1
-SIZE (cattrs-1.10.0.tar.gz) = 24893
+TIMESTAMP = 1655561148
+SHA256 (cattrs-22.1.0.tar.gz) = 94b67b64cf92c994f8784c40c082177dc916e0489a73a9a36b24eb18a9db40c6
+SIZE (cattrs-22.1.0.tar.gz) = 28070