From a45598475b27e10522ebd31a5c6de33fd345fe78 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 23 May 2020 08:19:22 +0000 Subject: py-aiounittest: added version 1.3.1 The aiounittest is a helper library to ease of your pain (and boilerplate), when writing a test of the asynchronous code (asyncio). You can test: * synchronous code (same as the unittest.TestCase) * asynchronous code, it supports syntax with async/await (Python 3.5+) and asyncio.coroutine/yield from (Python 3.4) --- devel/Makefile | 3 ++- devel/py-aiounittest/DESCR | 5 +++++ devel/py-aiounittest/Makefile | 18 ++++++++++++++++++ devel/py-aiounittest/PLIST | 18 ++++++++++++++++++ devel/py-aiounittest/distinfo | 6 ++++++ 5 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 devel/py-aiounittest/DESCR create mode 100644 devel/py-aiounittest/Makefile create mode 100644 devel/py-aiounittest/PLIST create mode 100644 devel/py-aiounittest/distinfo (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 80b2a1566b8..1ca141c3c55 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3133 2020/05/23 07:03:41 adam Exp $ +# $NetBSD: Makefile,v 1.3134 2020/05/23 08:19:22 adam Exp $ # COMMENT= Development utilities @@ -2123,6 +2123,7 @@ SUBDIR+= py-ZopeTestrunner SUBDIR+= py-absl-py SUBDIR+= py-adb SUBDIR+= py-aiofiles +SUBDIR+= py-aiounittest SUBDIR+= py-angr SUBDIR+= py-anytree SUBDIR+= py-apipkg diff --git a/devel/py-aiounittest/DESCR b/devel/py-aiounittest/DESCR new file mode 100644 index 00000000000..bb055297d9b --- /dev/null +++ b/devel/py-aiounittest/DESCR @@ -0,0 +1,5 @@ +The aiounittest is a helper library to ease of your pain (and boilerplate), +when writing a test of the asynchronous code (asyncio). You can test: +* synchronous code (same as the unittest.TestCase) +* asynchronous code, it supports syntax with async/await (Python 3.5+) and + asyncio.coroutine/yield from (Python 3.4) diff --git a/devel/py-aiounittest/Makefile b/devel/py-aiounittest/Makefile new file mode 100644 index 00000000000..db0b141ebd6 --- /dev/null +++ b/devel/py-aiounittest/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2020/05/23 08:19:22 adam Exp $ + +DISTNAME= aiounittest-1.3.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiounittest/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/kwarunek/aiounittest +COMMENT= Test asyncio code more easily +LICENSE= mit + +USE_LANGUAGES= # none + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-aiounittest/PLIST b/devel/py-aiounittest/PLIST new file mode 100644 index 00000000000..e4502eff9c4 --- /dev/null +++ b/devel/py-aiounittest/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2020/05/23 08:19:22 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/aiounittest/__init__.py +${PYSITELIB}/aiounittest/__init__.pyc +${PYSITELIB}/aiounittest/__init__.pyo +${PYSITELIB}/aiounittest/case.py +${PYSITELIB}/aiounittest/case.pyc +${PYSITELIB}/aiounittest/case.pyo +${PYSITELIB}/aiounittest/helpers.py +${PYSITELIB}/aiounittest/helpers.pyc +${PYSITELIB}/aiounittest/helpers.pyo +${PYSITELIB}/aiounittest/mock.py +${PYSITELIB}/aiounittest/mock.pyc +${PYSITELIB}/aiounittest/mock.pyo +${PYSITELIB}/aiounittest/py.typed diff --git a/devel/py-aiounittest/distinfo b/devel/py-aiounittest/distinfo new file mode 100644 index 00000000000..335b795d86b --- /dev/null +++ b/devel/py-aiounittest/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/05/23 08:19:22 adam Exp $ + +SHA1 (aiounittest-1.3.1.tar.gz) = df452c33d5e0b237b90a94aabba2ef28c9aaa957 +RMD160 (aiounittest-1.3.1.tar.gz) = d5e09e641b582b659d83c93d8f30c11ac8f807a7 +SHA512 (aiounittest-1.3.1.tar.gz) = 66eb2a15badc52c13b84bb3671b0ba2d6b9493bf5dc13ba13c8d2c3f627733c105aeab54139fbd5c1cd22391b2fdd09b019f5acee746486696b02be5f87c35a3 +Size (aiounittest-1.3.1.tar.gz) = 5419 bytes -- cgit v1.2.3