git: 9b1184fbe624 - main - www/py-simple-websocket: Add py-simple-websocket 0.10.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 03:23:09 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b1184fbe62454deee3d4213471e1e8ce7778b42

commit 9b1184fbe62454deee3d4213471e1e8ce7778b42
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-22 03:11:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-22 03:11:10 +0000

    www/py-simple-websocket: Add py-simple-websocket 0.10.1
    
    simple-websocket provides simple WebSocket server and client for Python.
---
 www/Makefile                      |  1 +
 www/py-simple-websocket/Makefile  | 24 ++++++++++++++++++++++++
 www/py-simple-websocket/distinfo  |  3 +++
 www/py-simple-websocket/pkg-descr |  1 +
 4 files changed, 29 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 1dd8c6d8a4c6..c611db17c7dc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1822,6 +1822,7 @@
     SUBDIR += py-selenium-wire
     SUBDIR += py-semiphemeral
     SUBDIR += py-sentinelhub
+    SUBDIR += py-simple-websocket
     SUBDIR += py-slimit
     SUBDIR += py-slumber
     SUBDIR += py-social-auth-app-django
diff --git a/www/py-simple-websocket/Makefile b/www/py-simple-websocket/Makefile
new file mode 100644
index 000000000000..89424be05e0f
--- /dev/null
+++ b/www/py-simple-websocket/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	simple-websocket
+PORTVERSION=	0.10.1
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple WebSocket server and client for Python
+WWW=		https://simple-websocket.readthedocs.io/en/latest/ \
+		https://github.com/miguelgrinberg/simple-websocket
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wsproto>=0:net/py-wsproto@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-simple-websocket/distinfo b/www/py-simple-websocket/distinfo
new file mode 100644
index 000000000000..1f83e9240c95
--- /dev/null
+++ b/www/py-simple-websocket/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695143203
+SHA256 (simple-websocket-0.10.1.tar.gz) = 0ab46c8ffa51a46dc95eed94608b3b722841c0bf849def71d465c5c356679c82
+SIZE (simple-websocket-0.10.1.tar.gz) = 9873
diff --git a/www/py-simple-websocket/pkg-descr b/www/py-simple-websocket/pkg-descr
new file mode 100644
index 000000000000..894f13a00452
--- /dev/null
+++ b/www/py-simple-websocket/pkg-descr
@@ -0,0 +1 @@
+simple-websocket provides simple WebSocket server and client for Python.