pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel py-test-asyncio: added version 0.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15273b49911f
branches:  trunk
changeset: 375200:15273b49911f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Feb 05 16:28:49 2018 +0000

description:
py-test-asyncio: added version 0.8.0

pytest-asyncio is a library, written in Python, for testing asyncio code with
pytest.

asyncio code is usually written in the form of coroutines, which makes it
slightly more difficult to test using normal testing tools. pytest-asyncio
provides useful fixtures and markers to make testing easier.

diffstat:

 devel/Makefile                 |   3 ++-
 devel/py-test-asyncio/DESCR    |   6 ++++++
 devel/py-test-asyncio/Makefile |  21 +++++++++++++++++++++
 devel/py-test-asyncio/PLIST    |  13 +++++++++++++
 devel/py-test-asyncio/distinfo |   6 ++++++
 5 files changed, 48 insertions(+), 1 deletions(-)

diffs (79 lines):

diff -r f49998515e23 -r 15273b49911f devel/Makefile
--- a/devel/Makefile    Mon Feb 05 16:22:42 2018 +0000
+++ b/devel/Makefile    Mon Feb 05 16:28:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2599 2018/02/05 16:22:42 adam Exp $
+# $NetBSD: Makefile,v 1.2600 2018/02/05 16:28:49 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2141,6 +2141,7 @@
 SUBDIR+=       py-termcolor
 SUBDIR+=       py-test
 SUBDIR+=       py-test-assume
+SUBDIR+=       py-test-asyncio
 SUBDIR+=       py-test-cache
 SUBDIR+=       py-test-cov
 SUBDIR+=       py-test-flake8
diff -r f49998515e23 -r 15273b49911f devel/py-test-asyncio/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-asyncio/DESCR       Mon Feb 05 16:28:49 2018 +0000
@@ -0,0 +1,6 @@
+pytest-asyncio is a library, written in Python, for testing asyncio code with
+pytest.
+
+asyncio code is usually written in the form of coroutines, which makes it
+slightly more difficult to test using normal testing tools. pytest-asyncio
+provides useful fixtures and markers to make testing easier.
diff -r f49998515e23 -r 15273b49911f devel/py-test-asyncio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-asyncio/Makefile    Mon Feb 05 16:28:49 2018 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/02/05 16:28:49 adam Exp $
+
+DISTNAME=      pytest-asyncio-0.8.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pytest-dev/pytest-asyncio
+COMMENT=       Pytest support for asyncio
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-async_generator>=1.3:../../devel/py-async_generator
+DEPENDS+=      ${PYPKGPREFIX}-test>=3.0.6:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27 34
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f49998515e23 -r 15273b49911f devel/py-test-asyncio/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-asyncio/PLIST       Mon Feb 05 16:28:49 2018 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/05 16:28:49 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_asyncio/__init__.py
+${PYSITELIB}/pytest_asyncio/__init__.pyc
+${PYSITELIB}/pytest_asyncio/__init__.pyo
+${PYSITELIB}/pytest_asyncio/plugin.py
+${PYSITELIB}/pytest_asyncio/plugin.pyc
+${PYSITELIB}/pytest_asyncio/plugin.pyo
diff -r f49998515e23 -r 15273b49911f devel/py-test-asyncio/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-asyncio/distinfo    Mon Feb 05 16:28:49 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/05 16:28:49 adam Exp $
+
+SHA1 (pytest-asyncio-0.8.0.tar.gz) = d5a7faf563006ad6a91243060b13a8cddcab42b5
+RMD160 (pytest-asyncio-0.8.0.tar.gz) = 45d68fd605944e249c0f4f02961ee3fb978403b9
+SHA512 (pytest-asyncio-0.8.0.tar.gz) = ffae02204356ad8c936dca7d3982eda220d886d3f75619696e3146e6aacacdfc1212eed096613f9d1b3f7aa002ce9aeb8fb1a97341877c01018b59a38f05b196
+Size (pytest-asyncio-0.8.0.tar.gz) = 11310 bytes



Home | Main Index | Thread Index | Old Index