pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-txaio



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 22 13:14:02 UTC 2017

Added Files:
        pkgsrc/devel/py-txaio: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-txaio/DESCR \
    pkgsrc/devel/py-txaio/Makefile pkgsrc/devel/py-txaio/PLIST \
    pkgsrc/devel/py-txaio/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-txaio/DESCR
diff -u /dev/null pkgsrc/devel/py-txaio/DESCR:1.1
--- /dev/null   Wed Feb 22 13:14:02 2017
+++ pkgsrc/devel/py-txaio/DESCR Wed Feb 22 13:14:02 2017
@@ -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.
Index: pkgsrc/devel/py-txaio/Makefile
diff -u /dev/null pkgsrc/devel/py-txaio/Makefile:1.1
--- /dev/null   Wed Feb 22 13:14:02 2017
+++ pkgsrc/devel/py-txaio/Makefile      Wed Feb 22 13:14:02 2017
@@ -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"
Index: pkgsrc/devel/py-txaio/PLIST
diff -u /dev/null pkgsrc/devel/py-txaio/PLIST:1.1
--- /dev/null   Wed Feb 22 13:14:02 2017
+++ pkgsrc/devel/py-txaio/PLIST Wed Feb 22 13:14:02 2017
@@ -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
Index: pkgsrc/devel/py-txaio/distinfo
diff -u /dev/null pkgsrc/devel/py-txaio/distinfo:1.1
--- /dev/null   Wed Feb 22 13:14:02 2017
+++ pkgsrc/devel/py-txaio/distinfo      Wed Feb 22 13:14:02 2017
@@ -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