svn commit: r560039 - in head/devel: . py-anyio
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 3 19:56:58 UTC 2021
Author: sunpoet
Date: Sun Jan 3 19:56:56 2021
New Revision: 560039
URL: https://svnweb.freebsd.org/changeset/ports/560039
Log:
Add py-anyio 2.0.2
AnyIO is a asynchronous compatibility API that allows applications and libraries
written against it to run unmodified on asyncio, curio and trio.
It bridges the following functionality:
- Task groups
- Cancellation
- Threads
- Signal handling
- Asynchronous file I/O
- Subprocesses
- Inter-task synchronization and communication (locks, conditions, events,
semaphores, object streams)
- High level networking (TCP, UDP and UNIX sockets)
You can even use it together with native libraries from your selected backend in
applications. Doing this in libraries is not advisable however since it limits
the usefulness of your library.
WWW: https://github.com/agronholm/anyio
Added:
head/devel/py-anyio/
head/devel/py-anyio/Makefile (contents, props changed)
head/devel/py-anyio/distinfo (contents, props changed)
head/devel/py-anyio/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Jan 3 19:56:50 2021 (r560038)
+++ head/devel/Makefile Sun Jan 3 19:56:56 2021 (r560039)
@@ -4030,6 +4030,7 @@
SUBDIR += py-ansi
SUBDIR += py-antlr4-python3-runtime
SUBDIR += py-anyconfig
+ SUBDIR += py-anyio
SUBDIR += py-anyjson
SUBDIR += py-apache_conf_parser
SUBDIR += py-apipkg
Added: head/devel/py-anyio/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-anyio/Makefile Sun Jan 3 19:56:56 2021 (r560039)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= anyio
+PORTVERSION= 2.0.2
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= High level compatibility layer for multiple asynchronous event loop implementations
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.8:dns/py-idna@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Added: head/devel/py-anyio/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-anyio/distinfo Sun Jan 3 19:56:56 2021 (r560039)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609598733
+SHA256 (anyio-2.0.2.tar.gz) = 35075abd32cf20fd7e0be2fee3614e80b92d5392eba257c8d2f33de3df7ca237
+SIZE (anyio-2.0.2.tar.gz) = 91805
Added: head/devel/py-anyio/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-anyio/pkg-descr Sun Jan 3 19:56:56 2021 (r560039)
@@ -0,0 +1,19 @@
+AnyIO is a asynchronous compatibility API that allows applications and libraries
+written against it to run unmodified on asyncio, curio and trio.
+
+It bridges the following functionality:
+- Task groups
+- Cancellation
+- Threads
+- Signal handling
+- Asynchronous file I/O
+- Subprocesses
+- Inter-task synchronization and communication (locks, conditions, events,
+ semaphores, object streams)
+- High level networking (TCP, UDP and UNIX sockets)
+
+You can even use it together with native libraries from your selected backend in
+applications. Doing this in libraries is not advisable however since it limits
+the usefulness of your library.
+
+WWW: https://github.com/agronholm/anyio
More information about the svn-ports-head
mailing list