Wed Feb 22 13:14:02 2017 UTC ()
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.


(wiz)
diff -r0 -r1.1 pkgsrc/devel/py-txaio/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-txaio/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-txaio/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-txaio/distinfo

File Added: pkgsrc/devel/py-txaio/DESCR
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.

File Added: pkgsrc/devel/py-txaio/Makefile
# $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
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"

File Added: pkgsrc/devel/py-txaio/PLIST
@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

File Added: pkgsrc/devel/py-txaio/distinfo
$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