aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-30 00:22:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-30 00:44:38 +0000
commit47f15192dbf22f660d058f6b9ac8ce0704acaf81 (patch)
tree7337b1514ad58c67ac59055321bf65adfab2b745
parent22b7b37cf5fd1307b87ea301ca2475bf26fcfabe (diff)
downloadports-47f15192dbf22f660d058f6b9ac8ce0704acaf81.tar.gz
ports-47f15192dbf22f660d058f6b9ac8ce0704acaf81.zip
net/py-trio-websocket: Update to 0.11.1
-rw-r--r--net/py-trio-websocket/Makefile13
-rw-r--r--net/py-trio-websocket/distinfo6
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