pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel aiofiles is an Apache2 licensed library, written...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c19bb976b88d
branches:  trunk
changeset: 364909:c19bb976b88d
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 07 07:20:54 2017 +0000

description:
aiofiles is an Apache2 licensed library, written in Python, for handling
local disk files in asyncio applications.

Ordinary local file IO is blocking, and cannot easily and portably made
asynchronous. This means doing file IO may interfere with asyncio
applications, which shouldn't block the executing thread. aiofiles helps with
this by introducing asynchronous versions of files that support delegating
operations to a separate thread pool.

diffstat:

 devel/Makefile             |   3 ++-
 devel/py-aiofiles/DESCR    |   8 ++++++++
 devel/py-aiofiles/Makefile |  16 ++++++++++++++++
 devel/py-aiofiles/PLIST    |  30 ++++++++++++++++++++++++++++++
 devel/py-aiofiles/distinfo |   6 ++++++
 5 files changed, 62 insertions(+), 1 deletions(-)

diffs (93 lines):

diff -r 89796588e888 -r c19bb976b88d devel/Makefile
--- a/devel/Makefile    Fri Jul 07 06:50:06 2017 +0000
+++ b/devel/Makefile    Fri Jul 07 07:20:54 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2453 2017/07/06 19:08:37 minskim Exp $
+# $NetBSD: Makefile,v 1.2454 2017/07/07 07:20:54 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -1756,6 +1756,7 @@
 SUBDIR+=       py-ZopeI18NMessageid
 SUBDIR+=       py-ZopeInterface
 SUBDIR+=       py-ZopeSchema
+SUBDIR+=       py-aiofiles
 SUBDIR+=       py-apipkg
 SUBDIR+=       py-appdirs
 SUBDIR+=       py-argcomplete
diff -r 89796588e888 -r c19bb976b88d devel/py-aiofiles/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiofiles/DESCR   Fri Jul 07 07:20:54 2017 +0000
@@ -0,0 +1,8 @@
+aiofiles is an Apache2 licensed library, written in Python, for handling
+local disk files in asyncio applications.
+
+Ordinary local file IO is blocking, and cannot easily and portably made
+asynchronous. This means doing file IO may interfere with asyncio
+applications, which shouldn't block the executing thread. aiofiles helps with
+this by introducing asynchronous versions of files that support delegating
+operations to a separate thread pool.
diff -r 89796588e888 -r c19bb976b88d devel/py-aiofiles/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiofiles/Makefile        Fri Jul 07 07:20:54 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/07/07 07:20:54 adam Exp $
+
+DISTNAME=      aiofiles-0.3.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiofiles/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Tinche/aiofiles
+COMMENT=       File support for asyncio
+LICENSE=       apache-2.0
+
+PYTHON_VERSIONS_ACCEPTED=      36 35 34
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 89796588e888 -r c19bb976b88d devel/py-aiofiles/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiofiles/PLIST   Fri Jul 07 07:20:54 2017 +0000
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/07 07:20:54 adam 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}/aiofiles/__init__.py
+${PYSITELIB}/aiofiles/__init__.pyc
+${PYSITELIB}/aiofiles/__init__.pyo
+${PYSITELIB}/aiofiles/_compat.py
+${PYSITELIB}/aiofiles/_compat.pyc
+${PYSITELIB}/aiofiles/_compat.pyo
+${PYSITELIB}/aiofiles/base.py
+${PYSITELIB}/aiofiles/base.pyc
+${PYSITELIB}/aiofiles/base.pyo
+${PYSITELIB}/aiofiles/os.py
+${PYSITELIB}/aiofiles/os.pyc
+${PYSITELIB}/aiofiles/os.pyo
+${PYSITELIB}/aiofiles/threadpool/__init__.py
+${PYSITELIB}/aiofiles/threadpool/__init__.pyc
+${PYSITELIB}/aiofiles/threadpool/__init__.pyo
+${PYSITELIB}/aiofiles/threadpool/binary.py
+${PYSITELIB}/aiofiles/threadpool/binary.pyc
+${PYSITELIB}/aiofiles/threadpool/binary.pyo
+${PYSITELIB}/aiofiles/threadpool/text.py
+${PYSITELIB}/aiofiles/threadpool/text.pyc
+${PYSITELIB}/aiofiles/threadpool/text.pyo
+${PYSITELIB}/aiofiles/threadpool/utils.py
+${PYSITELIB}/aiofiles/threadpool/utils.pyc
+${PYSITELIB}/aiofiles/threadpool/utils.pyo
diff -r 89796588e888 -r c19bb976b88d devel/py-aiofiles/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aiofiles/distinfo        Fri Jul 07 07:20:54 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/07 07:20:54 adam Exp $
+
+SHA1 (aiofiles-0.3.1.tar.gz) = eca3180a5e6c306eaffde81dc5ea974c8813c8a0
+RMD160 (aiofiles-0.3.1.tar.gz) = 6c3cb432b087a8710bcd89463918bcee770f8b58
+SHA512 (aiofiles-0.3.1.tar.gz) = f4cd68680effa0fe834d048e5a1bb627eed0f69a0556b237ce10bf2ad348ab2915aac24d6dcf669b60d3d8cce3967318971fb98fa25d9f8eca1e6bbcd458dfd9
+Size (aiofiles-0.3.1.tar.gz) = 5472 bytes



Home | Main Index | Thread Index | Old Index