aboutsummaryrefslogtreecommitdiff
path: root/net/py-wsproto
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-wsproto')
-rw-r--r--net/py-wsproto/Makefile18
-rw-r--r--net/py-wsproto/distinfo6
-rw-r--r--net/py-wsproto/pkg-descr2
3 files changed, 13 insertions, 13 deletions
diff --git a/net/py-wsproto/Makefile b/net/py-wsproto/Makefile
index 39516c8109ba..25c0c9c86035 100644
--- a/net/py-wsproto/Makefile
+++ b/net/py-wsproto/Makefile
@@ -1,25 +1,27 @@
PORTNAME= wsproto
-PORTVERSION= 1.2.0
-PORTREVISION= 1
+DISTVERSION= 1.3.2
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Sans-IO WebSocket protocol implementation
-WWW= https://pypi.org/project/wsproto/
+WWW= https://pypi.org/project/wsproto/ \
+ https://github.com/python-hyper/wsproto/
LICENSE= MIT
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h11>=0.9.0:net/py-h11@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h11>=0.16.0:net/py-h11@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+post-patch:
+ @${REINPLACE_CMD} '/license-files/d; s|77|63|g; s|^license = "MIT"|license = { text = "MIT" }|' \
+ ${WRKSRC}/pyproject.toml
.include <bsd.port.mk>
diff --git a/net/py-wsproto/distinfo b/net/py-wsproto/distinfo
index f07a9ce2906a..23d44edb8736 100644
--- a/net/py-wsproto/distinfo
+++ b/net/py-wsproto/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662314696
-SHA256 (wsproto-1.2.0.tar.gz) = ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065
-SIZE (wsproto-1.2.0.tar.gz) = 53425
+TIMESTAMP = 1764318739
+SHA256 (wsproto-1.3.2.tar.gz) = b86885dcf294e15204919950f666e06ffc6c7c114ca900b060d6e16293528294
+SIZE (wsproto-1.3.2.tar.gz) = 50116
diff --git a/net/py-wsproto/pkg-descr b/net/py-wsproto/pkg-descr
index 48ea697587f5..5ef45862bdd5 100644
--- a/net/py-wsproto/pkg-descr
+++ b/net/py-wsproto/pkg-descr
@@ -7,5 +7,3 @@ This does not provide a parsing layer, a network layer, or any rules about
concurrency. Instead, it's a purely in-memory solution, defined in terms of data
actions and WebSocket frames. RFC6455 and Compression Extensions for WebSocket
via RFC7692 are fully supported.
-
-See also: https://github.com/python-hyper/wsproto/