git: c42e6ba699fc - main - devel/py-ypy-websocket: Add py-ypy-websocket 0.8.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:23:59 UTC
The branch main has been updated by sunpoet:

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

commit c42e6ba699fc665c610fcf075a1d927bd300b8c2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:53 +0000

    devel/py-ypy-websocket: Add py-ypy-websocket 0.8.2
    
    ypy-websocket is an async WebSocket connector for Ypy.
---
 devel/Makefile                   |  1 +
 devel/py-ypy-websocket/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-ypy-websocket/distinfo  |  3 +++
 devel/py-ypy-websocket/pkg-descr |  1 +
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1ff62fd07e65..f2083dc0bd2e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5688,6 +5688,7 @@
     SUBDIR += py-yaspin
     SUBDIR += py-yattag
     SUBDIR += py-yg.lockfile
+    SUBDIR += py-ypy-websocket
     SUBDIR += py-yunomi
     SUBDIR += py-z3c.autoinclude
     SUBDIR += py-z3c.batching
diff --git a/devel/py-ypy-websocket/Makefile b/devel/py-ypy-websocket/Makefile
new file mode 100644
index 000000000000..a1e115409dca
--- /dev/null
+++ b/devel/py-ypy-websocket/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	ypy-websocket
+PORTVERSION=	0.8.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	ypy_websocket-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	WebSocket connector for Ypy
+WWW=		https://github.com/y-crdt/ypy-websocket
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiofiles>=22.1.0<23:devel/py-aiofiles@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiosqlite>=0.17.0<1:databases/py-aiosqlite@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}y-py>=0.5.3<0.6.0:devel/py-y-py@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-ypy-websocket/distinfo b/devel/py-ypy-websocket/distinfo
new file mode 100644
index 000000000000..b1e94d5884a3
--- /dev/null
+++ b/devel/py-ypy-websocket/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770945
+SHA256 (ypy_websocket-0.8.2.tar.gz) = 491b2cc4271df4dde9be83017c15f4532b597dc43148472eb20c5aeb838a5b46
+SIZE (ypy_websocket-0.8.2.tar.gz) = 11053
diff --git a/devel/py-ypy-websocket/pkg-descr b/devel/py-ypy-websocket/pkg-descr
new file mode 100644
index 000000000000..7ea831ca2516
--- /dev/null
+++ b/devel/py-ypy-websocket/pkg-descr
@@ -0,0 +1 @@
+ypy-websocket is an async WebSocket connector for Ypy.