aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-14 17:32:44 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-14 17:32:44 +0000
commit1f3a81a16f41468ac646f42f2d5fca0d1117daff (patch)
tree2ec602389fb8b510fdbec64a93108122470d79a9
parent030a4199f8f0deff98e68c8b2b69de49bb13fc3d (diff)
downloadports-1f3a81a16f41468ac646f42f2d5fca0d1117daff.tar.gz
ports-1f3a81a16f41468ac646f42f2d5fca0d1117daff.zip
www/py-respx: Add py-respx 0.17.0
RESPX is a simple, yet powerful, utility for mocking out the HTTPX, and HTTP Core, libraries. WWW: https://lundberg.github.io/respx/ WWW: https://github.com/lundberg/respx
-rw-r--r--www/Makefile1
-rw-r--r--www/py-respx/Makefile22
-rw-r--r--www/py-respx/distinfo3
-rw-r--r--www/py-respx/pkg-descr5
4 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 2b58bfde4876..c524b1b1a0ac 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1722,6 +1722,7 @@
SUBDIR += py-requests-toolbelt
SUBDIR += py-requests-unixsocket
SUBDIR += py-requests_ntlm
+ SUBDIR += py-respx
SUBDIR += py-restclient
SUBDIR += py-rfc3986
SUBDIR += py-rfc3987
diff --git a/www/py-respx/Makefile b/www/py-respx/Makefile
new file mode 100644
index 000000000000..b2ab8aa07b91
--- /dev/null
+++ b/www/py-respx/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= respx
+PORTVERSION= 0.17.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Utility for mocking out the Python HTTPX and HTTP Core libraries
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.18.0:www/py-httpx@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-respx/distinfo b/www/py-respx/distinfo
new file mode 100644
index 000000000000..65ae221d4284
--- /dev/null
+++ b/www/py-respx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213972
+SHA256 (respx-0.17.0.tar.gz) = 0c792e2bb5b70deda5f6c1be460c1e524cd6d2eea4240a38e973341c1ea211c3
+SIZE (respx-0.17.0.tar.gz) = 22086
diff --git a/www/py-respx/pkg-descr b/www/py-respx/pkg-descr
new file mode 100644
index 000000000000..d187a5587fe0
--- /dev/null
+++ b/www/py-respx/pkg-descr
@@ -0,0 +1,5 @@
+RESPX is a simple, yet powerful, utility for mocking out the HTTPX, and HTTP
+Core, libraries.
+
+WWW: https://lundberg.github.io/respx/
+WWW: https://github.com/lundberg/respx