pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-txaio Import py-txaio-2.6.0 as devel/py-txaio.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b4d8281196d8
branches: trunk
changeset: 358906:b4d8281196d8
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Feb 22 13:14:02 2017 +0000
description:
Import py-txaio-2.6.0 as devel/py-txaio.
txaio is a helper library for writing code that runs unmodified on
both Twisted and asyncio / Trollius.
This is like six, but for wrapping over differences between Twisted
and asyncio so one can write code that runs unmodified on both (aka
source code compatibility). In other words: your users can choose
if they want asyncio or Twisted as a dependency.
Note that, with this approach, user code runs under the native event
loop of either Twisted or asyncio. This is different from attaching
either one's event loop to the other using some event loop adapter.
diffstat:
devel/py-txaio/DESCR | 11 +++++++++++
devel/py-txaio/Makefile | 23 +++++++++++++++++++++++
devel/py-txaio/PLIST | 34 ++++++++++++++++++++++++++++++++++
devel/py-txaio/distinfo | 6 ++++++
4 files changed, 74 insertions(+), 0 deletions(-)
diffs (90 lines):
diff -r 6abab6c1a5b2 -r b4d8281196d8 devel/py-txaio/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-txaio/DESCR Wed Feb 22 13:14:02 2017 +0000
@@ -0,0 +1,11 @@
+txaio is a helper library for writing code that runs unmodified on
+both Twisted and asyncio / Trollius.
+
+This is like six, but for wrapping over differences between Twisted
+and asyncio so one can write code that runs unmodified on both (aka
+source code compatibility). In other words: your users can choose
+if they want asyncio or Twisted as a dependency.
+
+Note that, with this approach, user code runs under the native event
+loop of either Twisted or asyncio. This is different from attaching
+either one's event loop to the other using some event loop adapter.
diff -r 6abab6c1a5b2 -r b4d8281196d8 devel/py-txaio/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-txaio/Makefile Wed Feb 22 13:14:02 2017 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2017/02/22 13:14:02 wiz Exp $
+
+DISTNAME= txaio-2.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=t/txaio/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.python.org/pypi/txaio
+COMMENT= Compatibility API between asyncio/Twisted/Trollius
+LICENSE= mit
+
+# TEST_DEPENDS
+BUILD_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+# needs to be installed first
+do-test:
+ cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6abab6c1a5b2 -r b4d8281196d8 devel/py-txaio/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-txaio/PLIST Wed Feb 22 13:14:02 2017 +0000
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/22 13:14:02 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/txaio/__init__.py
+${PYSITELIB}/txaio/__init__.pyc
+${PYSITELIB}/txaio/__init__.pyo
+${PYSITELIB}/txaio/_common.py
+${PYSITELIB}/txaio/_common.pyc
+${PYSITELIB}/txaio/_common.pyo
+${PYSITELIB}/txaio/_iotype.py
+${PYSITELIB}/txaio/_iotype.pyc
+${PYSITELIB}/txaio/_iotype.pyo
+${PYSITELIB}/txaio/_unframework.py
+${PYSITELIB}/txaio/_unframework.pyc
+${PYSITELIB}/txaio/_unframework.pyo
+${PYSITELIB}/txaio/_version.py
+${PYSITELIB}/txaio/_version.pyc
+${PYSITELIB}/txaio/_version.pyo
+${PYSITELIB}/txaio/aio.py
+${PYSITELIB}/txaio/aio.pyc
+${PYSITELIB}/txaio/aio.pyo
+${PYSITELIB}/txaio/interfaces.py
+${PYSITELIB}/txaio/interfaces.pyc
+${PYSITELIB}/txaio/interfaces.pyo
+${PYSITELIB}/txaio/testutil.py
+${PYSITELIB}/txaio/testutil.pyc
+${PYSITELIB}/txaio/testutil.pyo
+${PYSITELIB}/txaio/tx.py
+${PYSITELIB}/txaio/tx.pyc
+${PYSITELIB}/txaio/tx.pyo
diff -r 6abab6c1a5b2 -r b4d8281196d8 devel/py-txaio/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-txaio/distinfo Wed Feb 22 13:14:02 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/22 13:14:02 wiz Exp $
+
+SHA1 (txaio-2.6.0.tar.gz) = bca77609fe219a7ed37a0864974b6597dd121c99
+RMD160 (txaio-2.6.0.tar.gz) = 849e727d6f1a217d2d0a7725c71b4d42115ea132
+SHA512 (txaio-2.6.0.tar.gz) = 2a816ec4b3b0f1647734453b23f237d14e3cbc5e00169a631bd4a686a595a15ce4e3f741c5ead447fef3050e480005210e1651e0e17b1a880b24be9ef3c1c29d
+Size (txaio-2.6.0.tar.gz) = 41433 bytes
Home |
Main Index |
Thread Index |
Old Index