git: 0e592ff33367 - main - devel/py-janus: New port: Mixed sync-async queue to interoperate between asyncio tasks & threads
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Dec 2022 09:14:23 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0e592ff33367767af71efc96ddeb400a5b30840f
commit 0e592ff33367767af71efc96ddeb400a5b30840f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-17 04:44:55 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-17 09:14:18 +0000
devel/py-janus: New port: Mixed sync-async queue to interoperate between asyncio tasks & threads
---
devel/Makefile | 1 +
devel/py-janus/Makefile | 21 +++++++++++++++++++++
devel/py-janus/distinfo | 3 +++
devel/py-janus/pkg-descr | 2 ++
4 files changed, 27 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index fa161afdea0d..07147846831a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4692,6 +4692,7 @@
SUBDIR += py-itemloaders
SUBDIR += py-iteration-utilities
SUBDIR += py-itypes
+ SUBDIR += py-janus
SUBDIR += py-jaraco
SUBDIR += py-jaraco.classes
SUBDIR += py-jaraco.context
diff --git a/devel/py-janus/Makefile b/devel/py-janus/Makefile
new file mode 100644
index 000000000000..816fa66f5f98
--- /dev/null
+++ b/devel/py-janus/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= janus
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Mixed sync-async queue to interoperate between asyncio tasks & threads
+WWW= https://github.com/aio-libs/janus
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-janus/distinfo b/devel/py-janus/distinfo
new file mode 100644
index 000000000000..ee03286e7991
--- /dev/null
+++ b/devel/py-janus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671250707
+SHA256 (janus-1.0.0.tar.gz) = df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612
+SIZE (janus-1.0.0.tar.gz) = 19043
diff --git a/devel/py-janus/pkg-descr b/devel/py-janus/pkg-descr
new file mode 100644
index 000000000000..4dc3277bfd2c
--- /dev/null
+++ b/devel/py-janus/pkg-descr
@@ -0,0 +1,2 @@
+Mixed sync-async queue, supposed to be used for communicating between classic
+synchronous (threaded) code and asynchronous (in terms of asyncio) one.