git: 47f15192dbf2 - main - net/py-trio-websocket: Update to 0.11.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 00:49:11 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47f15192dbf22f660d058f6b9ac8ce0704acaf81

commit 47f15192dbf22f660d058f6b9ac8ce0704acaf81
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 00:22:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 00:44:38 +0000

    net/py-trio-websocket: Update to 0.11.1
    
    Changes:        https://github.com/python-trio/trio-websocket/blob/master/CHANGELOG.md
---
 net/py-trio-websocket/Makefile | 13 +++++++++----
 net/py-trio-websocket/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/net/py-trio-websocket/Makefile b/net/py-trio-websocket/Makefile
index aeb72360eeaa..281a5e911f6a 100644
--- a/net/py-trio-websocket/Makefile
+++ b/net/py-trio-websocket/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	trio-websocket
-PORTVERSION=	0.10.4
+PORTVERSION=	0.11.1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,7 @@ WWW=		https://github.com/python-trio/trio-websocket
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}trio>=0.11:net/py-trio@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>=0.11:net/py-trio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wsproto>=0.14:net/py-wsproto@${PY_FLAVOR}
 
 USES=		python
@@ -20,4 +19,10 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/py-trio-websocket/distinfo b/net/py-trio-websocket/distinfo
index 7ba40448dcbe..9e663816f491 100644
--- a/net/py-trio-websocket/distinfo
+++ b/net/py-trio-websocket/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1694348302
-SHA256 (trio-websocket-0.10.4.tar.gz) = e66b3db3e2453017431dfbd352081006654e1241c2a6800dc2f43d7df54d55c5
-SIZE (trio-websocket-0.10.4.tar.gz) = 26386
+TIMESTAMP = 1696001392
+SHA256 (trio-websocket-0.11.1.tar.gz) = 18c11793647703c158b1f6e62de638acada927344d534e3c7628eedcb746839f
+SIZE (trio-websocket-0.11.1.tar.gz) = 26511