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..63df43a80ae5
--- /dev/null
+++ b/devel/py-wait-for2/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= wait-for2
+DISTVERSION= 0.4.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= wait_for2-${DISTVERSION}
+
+MAINTAINER= dtxdf@FreeBSD.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..9d16877fea99
--- /dev/null
+++ b/devel/py-wait-for2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1750959844
+SHA256 (wait_for2-0.4.1.tar.gz) = 7f415415d21845c441391d6b4abe68f5959d2c0fbe927c2f61be28a297bc2acb
+SIZE (wait_for2-0.4.1.tar.gz) = 17519
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+.