diff options
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/py-anyio/DESCR | 11 | ||||
-rw-r--r-- | devel/py-anyio/Makefile | 38 | ||||
-rw-r--r-- | devel/py-anyio/PLIST | 120 | ||||
-rw-r--r-- | devel/py-anyio/distinfo | 6 |
5 files changed, 177 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile index 27ebb1c7d4f..b537c3e8152 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3459 2021/07/07 13:07:56 nia Exp $ +# $NetBSD: Makefile,v 1.3460 2021/07/08 08:33:21 adam Exp $ # COMMENT= Development utilities @@ -2166,6 +2166,7 @@ SUBDIR+= py-aiocontextvars SUBDIR+= py-aiofiles SUBDIR+= py-aiounittest SUBDIR+= py-angr +SUBDIR+= py-anyio SUBDIR+= py-anytree SUBDIR+= py-apipkg SUBDIR+= py-appdirs diff --git a/devel/py-anyio/DESCR b/devel/py-anyio/DESCR new file mode 100644 index 00000000000..b68aa00a067 --- /dev/null +++ b/devel/py-anyio/DESCR @@ -0,0 +1,11 @@ +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 +* Synchronization primitives (locks, conditions, events, semaphores, queues) +* High level networking (TCP, UDP and UNIX sockets) diff --git a/devel/py-anyio/Makefile b/devel/py-anyio/Makefile new file mode 100644 index 00000000000..b5eb3f1b6ff --- /dev/null +++ b/devel/py-anyio/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1 2021/07/08 08:33:21 adam Exp $ + +DISTNAME= anyio-3.2.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=a/anyio/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/agronholm/anyio +COMMENT= High level compatibility layer for multiple asynchronous event loops +LICENSE= modified-bsd + +BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm +DEPENDS+= ${PYPKGPREFIX}-idna>=2.8:../../www/py-idna +DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.1:../../misc/py-sniffio +DEPENDS+= ${PYPKGPREFIX}-uvloop-[0-9]*:../../devel/py-uvloop +TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5:../../devel/py-coverage +TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.0:../../devel/py-hypothesis +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock +TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner +TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme +#TEST_DEPEDS+= ${PYPKGPREFIX}-trio + +PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-uvloop + +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 38 +DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions +TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +.endif + +USE_LANGUAGES= # none + +PYSETUPTESTTARGET= pytest + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-anyio/PLIST b/devel/py-anyio/PLIST new file mode 100644 index 00000000000..7bd443144e5 --- /dev/null +++ b/devel/py-anyio/PLIST @@ -0,0 +1,120 @@ +@comment $NetBSD: PLIST,v 1.1 2021/07/08 08:33:21 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/anyio/__init__.py +${PYSITELIB}/anyio/__init__.pyc +${PYSITELIB}/anyio/__init__.pyo +${PYSITELIB}/anyio/_backends/__init__.py +${PYSITELIB}/anyio/_backends/__init__.pyc +${PYSITELIB}/anyio/_backends/__init__.pyo +${PYSITELIB}/anyio/_backends/_asyncio.py +${PYSITELIB}/anyio/_backends/_asyncio.pyc +${PYSITELIB}/anyio/_backends/_asyncio.pyo +${PYSITELIB}/anyio/_backends/_trio.py +${PYSITELIB}/anyio/_backends/_trio.pyc +${PYSITELIB}/anyio/_backends/_trio.pyo +${PYSITELIB}/anyio/_core/__init__.py +${PYSITELIB}/anyio/_core/__init__.pyc +${PYSITELIB}/anyio/_core/__init__.pyo +${PYSITELIB}/anyio/_core/_compat.py +${PYSITELIB}/anyio/_core/_compat.pyc +${PYSITELIB}/anyio/_core/_compat.pyo +${PYSITELIB}/anyio/_core/_eventloop.py +${PYSITELIB}/anyio/_core/_eventloop.pyc +${PYSITELIB}/anyio/_core/_eventloop.pyo +${PYSITELIB}/anyio/_core/_exceptions.py +${PYSITELIB}/anyio/_core/_exceptions.pyc +${PYSITELIB}/anyio/_core/_exceptions.pyo +${PYSITELIB}/anyio/_core/_fileio.py +${PYSITELIB}/anyio/_core/_fileio.pyc +${PYSITELIB}/anyio/_core/_fileio.pyo +${PYSITELIB}/anyio/_core/_resources.py +${PYSITELIB}/anyio/_core/_resources.pyc +${PYSITELIB}/anyio/_core/_resources.pyo +${PYSITELIB}/anyio/_core/_signals.py +${PYSITELIB}/anyio/_core/_signals.pyc +${PYSITELIB}/anyio/_core/_signals.pyo +${PYSITELIB}/anyio/_core/_sockets.py +${PYSITELIB}/anyio/_core/_sockets.pyc +${PYSITELIB}/anyio/_core/_sockets.pyo +${PYSITELIB}/anyio/_core/_streams.py +${PYSITELIB}/anyio/_core/_streams.pyc +${PYSITELIB}/anyio/_core/_streams.pyo +${PYSITELIB}/anyio/_core/_subprocesses.py +${PYSITELIB}/anyio/_core/_subprocesses.pyc +${PYSITELIB}/anyio/_core/_subprocesses.pyo +${PYSITELIB}/anyio/_core/_synchronization.py +${PYSITELIB}/anyio/_core/_synchronization.pyc +${PYSITELIB}/anyio/_core/_synchronization.pyo +${PYSITELIB}/anyio/_core/_tasks.py +${PYSITELIB}/anyio/_core/_tasks.pyc +${PYSITELIB}/anyio/_core/_tasks.pyo +${PYSITELIB}/anyio/_core/_testing.py +${PYSITELIB}/anyio/_core/_testing.pyc +${PYSITELIB}/anyio/_core/_testing.pyo +${PYSITELIB}/anyio/_core/_typedattr.py +${PYSITELIB}/anyio/_core/_typedattr.pyc +${PYSITELIB}/anyio/_core/_typedattr.pyo +${PYSITELIB}/anyio/abc/__init__.py +${PYSITELIB}/anyio/abc/__init__.pyc +${PYSITELIB}/anyio/abc/__init__.pyo +${PYSITELIB}/anyio/abc/_resources.py +${PYSITELIB}/anyio/abc/_resources.pyc +${PYSITELIB}/anyio/abc/_resources.pyo +${PYSITELIB}/anyio/abc/_sockets.py +${PYSITELIB}/anyio/abc/_sockets.pyc +${PYSITELIB}/anyio/abc/_sockets.pyo +${PYSITELIB}/anyio/abc/_streams.py +${PYSITELIB}/anyio/abc/_streams.pyc +${PYSITELIB}/anyio/abc/_streams.pyo +${PYSITELIB}/anyio/abc/_subprocesses.py +${PYSITELIB}/anyio/abc/_subprocesses.pyc +${PYSITELIB}/anyio/abc/_subprocesses.pyo +${PYSITELIB}/anyio/abc/_tasks.py +${PYSITELIB}/anyio/abc/_tasks.pyc +${PYSITELIB}/anyio/abc/_tasks.pyo +${PYSITELIB}/anyio/abc/_testing.py +${PYSITELIB}/anyio/abc/_testing.pyc +${PYSITELIB}/anyio/abc/_testing.pyo +${PYSITELIB}/anyio/from_thread.py +${PYSITELIB}/anyio/from_thread.pyc +${PYSITELIB}/anyio/from_thread.pyo +${PYSITELIB}/anyio/lowlevel.py +${PYSITELIB}/anyio/lowlevel.pyc +${PYSITELIB}/anyio/lowlevel.pyo +${PYSITELIB}/anyio/py.typed +${PYSITELIB}/anyio/pytest_plugin.py +${PYSITELIB}/anyio/pytest_plugin.pyc +${PYSITELIB}/anyio/pytest_plugin.pyo +${PYSITELIB}/anyio/streams/__init__.py +${PYSITELIB}/anyio/streams/__init__.pyc +${PYSITELIB}/anyio/streams/__init__.pyo +${PYSITELIB}/anyio/streams/buffered.py +${PYSITELIB}/anyio/streams/buffered.pyc +${PYSITELIB}/anyio/streams/buffered.pyo +${PYSITELIB}/anyio/streams/file.py +${PYSITELIB}/anyio/streams/file.pyc +${PYSITELIB}/anyio/streams/file.pyo +${PYSITELIB}/anyio/streams/memory.py +${PYSITELIB}/anyio/streams/memory.pyc +${PYSITELIB}/anyio/streams/memory.pyo +${PYSITELIB}/anyio/streams/stapled.py +${PYSITELIB}/anyio/streams/stapled.pyc +${PYSITELIB}/anyio/streams/stapled.pyo +${PYSITELIB}/anyio/streams/text.py +${PYSITELIB}/anyio/streams/text.pyc +${PYSITELIB}/anyio/streams/text.pyo +${PYSITELIB}/anyio/streams/tls.py +${PYSITELIB}/anyio/streams/tls.pyc +${PYSITELIB}/anyio/streams/tls.pyo +${PYSITELIB}/anyio/to_process.py +${PYSITELIB}/anyio/to_process.pyc +${PYSITELIB}/anyio/to_process.pyo +${PYSITELIB}/anyio/to_thread.py +${PYSITELIB}/anyio/to_thread.pyc +${PYSITELIB}/anyio/to_thread.pyo diff --git a/devel/py-anyio/distinfo b/devel/py-anyio/distinfo new file mode 100644 index 00000000000..d264f095253 --- /dev/null +++ b/devel/py-anyio/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/07/08 08:33:21 adam Exp $ + +SHA1 (anyio-3.2.1.tar.gz) = e5a99ea88ef0835053ae1a9059c1074eaa9b9f91 +RMD160 (anyio-3.2.1.tar.gz) = 277456c5a17240731da0d30d814e8ae652298612 +SHA512 (anyio-3.2.1.tar.gz) = ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89 +Size (anyio-3.2.1.tar.gz) = 126277 bytes |