git: 1f3a81a16f41 - main - www/py-respx: Add py-respx 0.17.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jun 14 17:46:13 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1f3a81a16f41468ac646f42f2d5fca0d1117daff
commit 1f3a81a16f41468ac646f42f2d5fca0d1117daff
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-14 17:32:44 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-14 17:32:44 +0000
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
---
www/Makefile | 1 +
www/py-respx/Makefile | 22 ++++++++++++++++++++++
www/py-respx/distinfo | 3 +++
www/py-respx/pkg-descr | 5 +++++
4 files changed, 31 insertions(+)
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 at FreeBSD.org>
+
+PORTNAME= respx
+PORTVERSION= 0.17.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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
More information about the dev-commits-ports-all
mailing list