summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-12-04 16:31:18 +0000
committeradam <adam@pkgsrc.org>2020-12-04 16:31:18 +0000
commit4479074fbbee9d5a9c76126b978da02f03d32085 (patch)
tree68bc3720fa42343d1a7daba0f46781e5ba274dc9 /net
parentabc2e0165f841f6d2f84605306f2f3281ed2a26a (diff)
downloadpkgsrc-4479074fbbee9d5a9c76126b978da02f03d32085.tar.gz
py-aioresponses: added version 0.7.1
Aioresponses is a helper to mock/fake web requests in python aiohttp package.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/py-aioresponses/DESCR1
-rw-r--r--net/py-aioresponses/Makefile25
-rw-r--r--net/py-aioresponses/PLIST17
-rw-r--r--net/py-aioresponses/distinfo6
5 files changed, 51 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 374500c414f..dcfb052d8f0 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1364 2020/11/26 15:53:29 schmonz Exp $
+# $NetBSD: Makefile,v 1.1365 2020/12/04 16:31:18 adam Exp $
#
COMMENT= Networking tools
@@ -663,6 +663,7 @@ SUBDIR+= py-ORBit
SUBDIR+= py-Socks
SUBDIR+= py-adns
SUBDIR+= py-aio-pika
+SUBDIR+= py-aioresponses
SUBDIR+= py-aiormq
SUBDIR+= py-aiorpcX
SUBDIR+= py-amqp
diff --git a/net/py-aioresponses/DESCR b/net/py-aioresponses/DESCR
new file mode 100644
index 00000000000..78fe699bd18
--- /dev/null
+++ b/net/py-aioresponses/DESCR
@@ -0,0 +1 @@
+Aioresponses is a helper to mock/fake web requests in python aiohttp package.
diff --git a/net/py-aioresponses/Makefile b/net/py-aioresponses/Makefile
new file mode 100644
index 00000000000..56b11d0f32b
--- /dev/null
+++ b/net/py-aioresponses/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/12/04 16:31:18 adam Exp $
+
+DISTNAME= aioresponses-0.7.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/aioresponses/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/pnuckowski/aioresponses
+COMMENT= Mock out requests made by ClientSession from aiohttp package
+LICENSE= mit
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
+DEPENDS+= ${PYPKGPREFIX}-aiohttp>=2.0.0:../../www/py-aiohttp
+TEST_DEPENDS+= ${PYPKGPREFIX}-ddt>=1.4.1:../../devel/py-ddt
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+PYSETUPTESTTARGET= pytest
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-aioresponses/PLIST b/net/py-aioresponses/PLIST
new file mode 100644
index 00000000000..780238ce001
--- /dev/null
+++ b/net/py-aioresponses/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/04 16:31:18 adam 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}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aioresponses/__init__.py
+${PYSITELIB}/aioresponses/__init__.pyc
+${PYSITELIB}/aioresponses/__init__.pyo
+${PYSITELIB}/aioresponses/compat.py
+${PYSITELIB}/aioresponses/compat.pyc
+${PYSITELIB}/aioresponses/compat.pyo
+${PYSITELIB}/aioresponses/core.py
+${PYSITELIB}/aioresponses/core.pyc
+${PYSITELIB}/aioresponses/core.pyo
diff --git a/net/py-aioresponses/distinfo b/net/py-aioresponses/distinfo
new file mode 100644
index 00000000000..1746fb07b5a
--- /dev/null
+++ b/net/py-aioresponses/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/04 16:31:18 adam Exp $
+
+SHA1 (aioresponses-0.7.1.tar.gz) = 4d4e6a2bd646fca9a28b1f7627291de62f90d7f2
+RMD160 (aioresponses-0.7.1.tar.gz) = 1a25b036ce738dc8d8d6ed04e8a5222be74c8902
+SHA512 (aioresponses-0.7.1.tar.gz) = 8f37da74caf04abda6d990da74fede8edbaba5f2d2d678a860fa462e29858a9a2a3d05bd6050b69e42f4ee6a89cac633d3b9ad823f85cae7fd7cc80a3dfe679d
+Size (aioresponses-0.7.1.tar.gz) = 28012 bytes