pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-aiostream devel/py-aiostream: import py310-ai...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d62f0ff0a7c
branches: trunk
changeset: 389614:3d62f0ff0a7c
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Dec 06 19:48:40 2022 +0000
description:
devel/py-aiostream: import py310-aiostream-0.4.5
aiostream provides a collection of stream operators that can be
combined to create asynchronous pipelines of operations.
It can be seen as an asynchronous version of itertools, although
some aspects are slightly different. Essentially, all the provided
operators return a unified interface called a stream. A stream is
an enhanced asynchronous iterable providing the following features:
* Operator pipe-lining - using pipe symbol |
* Repeatability - every iteration creates a different iterator
* Safe iteration context - using async with and the stream method
* Simplified execution - get the last element from a stream using await
* Slicing and indexing - using square brackets []
* Concatenation - using addition symbol +
diffstat:
devel/py-aiostream/DESCR | 14 ++++++++++++
devel/py-aiostream/Makefile | 22 +++++++++++++++++++
devel/py-aiostream/PLIST | 51 +++++++++++++++++++++++++++++++++++++++++++++
devel/py-aiostream/distinfo | 5 ++++
4 files changed, 92 insertions(+), 0 deletions(-)
diffs (108 lines):
diff -r 6d2ad6f748aa -r 3d62f0ff0a7c devel/py-aiostream/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiostream/DESCR Tue Dec 06 19:48:40 2022 +0000
@@ -0,0 +1,14 @@
+aiostream provides a collection of stream operators that can be
+combined to create asynchronous pipelines of operations.
+
+It can be seen as an asynchronous version of itertools, although
+some aspects are slightly different. Essentially, all the provided
+operators return a unified interface called a stream. A stream is
+an enhanced asynchronous iterable providing the following features:
+
+* Operator pipe-lining - using pipe symbol |
+* Repeatability - every iteration creates a different iterator
+* Safe iteration context - using async with and the stream method
+* Simplified execution - get the last element from a stream using await
+* Slicing and indexing - using square brackets []
+* Concatenation - using addition symbol +
diff -r 6d2ad6f748aa -r 3d62f0ff0a7c devel/py-aiostream/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiostream/Makefile Tue Dec 06 19:48:40 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/12/06 19:48:40 wiz Exp $
+
+DISTNAME= aiostream-0.4.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiostream/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/vxgmichel/aiostream
+COMMENT= Generator-based operators for asynchronous iteration
+LICENSE= gnu-gpl-v3
+
+# tests not included in pypi distfile
+#TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+#TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
+#TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+#TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6d2ad6f748aa -r 3d62f0ff0a7c devel/py-aiostream/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiostream/PLIST Tue Dec 06 19:48:40 2022 +0000
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/06 19:48:40 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aiostream/__init__.py
+${PYSITELIB}/aiostream/__init__.pyc
+${PYSITELIB}/aiostream/__init__.pyo
+${PYSITELIB}/aiostream/aiter_utils.py
+${PYSITELIB}/aiostream/aiter_utils.pyc
+${PYSITELIB}/aiostream/aiter_utils.pyo
+${PYSITELIB}/aiostream/core.py
+${PYSITELIB}/aiostream/core.pyc
+${PYSITELIB}/aiostream/core.pyo
+${PYSITELIB}/aiostream/manager.py
+${PYSITELIB}/aiostream/manager.pyc
+${PYSITELIB}/aiostream/manager.pyo
+${PYSITELIB}/aiostream/pipe.py
+${PYSITELIB}/aiostream/pipe.pyc
+${PYSITELIB}/aiostream/pipe.pyo
+${PYSITELIB}/aiostream/stream/__init__.py
+${PYSITELIB}/aiostream/stream/__init__.pyc
+${PYSITELIB}/aiostream/stream/__init__.pyo
+${PYSITELIB}/aiostream/stream/advanced.py
+${PYSITELIB}/aiostream/stream/advanced.pyc
+${PYSITELIB}/aiostream/stream/advanced.pyo
+${PYSITELIB}/aiostream/stream/aggregate.py
+${PYSITELIB}/aiostream/stream/aggregate.pyc
+${PYSITELIB}/aiostream/stream/aggregate.pyo
+${PYSITELIB}/aiostream/stream/combine.py
+${PYSITELIB}/aiostream/stream/combine.pyc
+${PYSITELIB}/aiostream/stream/combine.pyo
+${PYSITELIB}/aiostream/stream/create.py
+${PYSITELIB}/aiostream/stream/create.pyc
+${PYSITELIB}/aiostream/stream/create.pyo
+${PYSITELIB}/aiostream/stream/misc.py
+${PYSITELIB}/aiostream/stream/misc.pyc
+${PYSITELIB}/aiostream/stream/misc.pyo
+${PYSITELIB}/aiostream/stream/select.py
+${PYSITELIB}/aiostream/stream/select.pyc
+${PYSITELIB}/aiostream/stream/select.pyo
+${PYSITELIB}/aiostream/stream/time.py
+${PYSITELIB}/aiostream/stream/time.pyc
+${PYSITELIB}/aiostream/stream/time.pyo
+${PYSITELIB}/aiostream/stream/transform.py
+${PYSITELIB}/aiostream/stream/transform.pyc
+${PYSITELIB}/aiostream/stream/transform.pyo
+${PYSITELIB}/aiostream/test_utils.py
+${PYSITELIB}/aiostream/test_utils.pyc
+${PYSITELIB}/aiostream/test_utils.pyo
diff -r 6d2ad6f748aa -r 3d62f0ff0a7c devel/py-aiostream/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiostream/distinfo Tue Dec 06 19:48:40 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/12/06 19:48:40 wiz Exp $
+
+BLAKE2s (aiostream-0.4.5.tar.gz) = a1505c3c552ce614d9ec432b597c1eadbb2165022fd699c57eb04dceac7fc473
+SHA512 (aiostream-0.4.5.tar.gz) = 4b8afc252e62ef9886dea26f56ce30b4a92bc3fe379829ae0d2af61f6827f866e9846a4483b3a8c0fa9e8460c8a22ae605d1c46d047437ae5f5f5cc8932ea116
+Size (aiostream-0.4.5.tar.gz) = 32627 bytes
Home |
Main Index |
Thread Index |
Old Index