summaryrefslogtreecommitdiff
path: root/devel/py-wait-for2
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-wait-for2')
-rw-r--r--devel/py-wait-for2/Makefile21
-rw-r--r--devel/py-wait-for2/distinfo3
-rw-r--r--devel/py-wait-for2/pkg-descr4
3 files changed, 28 insertions, 0 deletions
diff --git a/devel/py-wait-for2/Makefile b/devel/py-wait-for2/Makefile
new file mode 100644
index 000000000000..dbde6407eabd
--- /dev/null
+++ b/devel/py-wait-for2/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= wait-for2
+DISTVERSION= 0.3.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= wait_for2-${DISTVERSION}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Handle simultaneous cancellation and future completion
+WWW= https://pypi.org/project/${PORTNAME} \
+ https://github.com/Traktormaster/${PORTNAME}
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-wait-for2/distinfo b/devel/py-wait-for2/distinfo
new file mode 100644
index 000000000000..83ec7bb55dd2
--- /dev/null
+++ b/devel/py-wait-for2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748292412
+SHA256 (wait_for2-0.3.2.tar.gz) = 93863026dc35f3471104ecf7de1f4a0b31f4c8b12a2241c0d6ee26dcc0c2092a
+SIZE (wait_for2-0.3.2.tar.gz) = 16673
diff --git a/devel/py-wait-for2/pkg-descr b/devel/py-wait-for2/pkg-descr
new file mode 100644
index 000000000000..bf3aa0286dfd
--- /dev/null
+++ b/devel/py-wait-for2/pkg-descr
@@ -0,0 +1,4 @@
+wait_for2 is an alternate implementation of asyncio.wait_for(). It
+handles several edge cases like simultaneous cancellation of wait
+and completion of future differently and consistently across Python
+versions 3.7+.