svn commit: r493100 - in head/devel: . py-aiofiles

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 16 22:50:10 UTC 2019


Author: sunpoet
Date: Sat Feb 16 22:50:08 2019
New Revision: 493100
URL: https://svnweb.freebsd.org/changeset/ports/493100

Log:
  Add py-aiofiles 0.4.0
  
  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.
  
  Features:
  - a file API very similar to Python's standard, blocking API
  - support for buffered and unbuffered binary files, and buffered text files
  - support for async/await (PEP 492) constructs
  
  WWW: https://github.com/Tinche/aiofiles

Added:
  head/devel/py-aiofiles/
  head/devel/py-aiofiles/Makefile   (contents, props changed)
  head/devel/py-aiofiles/distinfo   (contents, props changed)
  head/devel/py-aiofiles/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Feb 16 21:54:22 2019	(r493099)
+++ head/devel/Makefile	Sat Feb 16 22:50:08 2019	(r493100)
@@ -4291,6 +4291,7 @@
     SUBDIR += py-ZopeUndo
     SUBDIR += py-adb
     SUBDIR += py-aenum
+    SUBDIR += py-aiofiles
     SUBDIR += py-aioice
     SUBDIR += py-aiorpcX
     SUBDIR += py-aiortc

Added: head/devel/py-aiofiles/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-aiofiles/Makefile	Sat Feb 16 22:50:08 2019	(r493100)
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	aiofiles
+PORTVERSION=	0.4.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	File support for asyncio
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-aiofiles/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-aiofiles/distinfo	Sat Feb 16 22:50:08 2019	(r493100)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550263434
+SHA256 (aiofiles-0.4.0.tar.gz) = 021ea0ba314a86027c166ecc4b4c07f2d40fc0f4b3a950d1868a0f2571c2bbee
+SIZE (aiofiles-0.4.0.tar.gz) = 9270

Added: head/devel/py-aiofiles/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-aiofiles/pkg-descr	Sat Feb 16 22:50:08 2019	(r493100)
@@ -0,0 +1,15 @@
+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.
+
+Features:
+- a file API very similar to Python's standard, blocking API
+- support for buffered and unbuffered binary files, and buffered text files
+- support for async/await (PEP 492) constructs
+
+WWW: https://github.com/Tinche/aiofiles


More information about the svn-ports-all mailing list