summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-23 08:19:22 +0000
committeradam <adam@pkgsrc.org>2020-05-23 08:19:22 +0000
commita45598475b27e10522ebd31a5c6de33fd345fe78 (patch)
tree2ec81d425c6f548e5f95c0bf97d33972d3cc4fb0 /devel
parentfe620b82fba4a4cdda783ec4b209cd5e00796535 (diff)
downloadpkgsrc-a45598475b27e10522ebd31a5c6de33fd345fe78.tar.gz
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)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/py-aiounittest/DESCR5
-rw-r--r--devel/py-aiounittest/Makefile18
-rw-r--r--devel/py-aiounittest/PLIST18
-rw-r--r--devel/py-aiounittest/distinfo6
5 files changed, 49 insertions, 1 deletions
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