aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:10:47 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:10:47 +0000
commit5430f3ff5f65539900555b01ca4659ff9f1fab12 (patch)
tree211961d0d4a28d91103dc0a2593bd124913d74df
parentc44a4ddcecd70cce92b9fc08a8dd708669182860 (diff)
www/py-requests-wsgi-adapter: Add py-requests-wsgi-adapter 0.4.1
WSGI Transport Adapter for Requests WWW: https://github.com/seanbrant/requests-wsgi-adapter
-rw-r--r--www/Makefile1
-rw-r--r--www/py-requests-wsgi-adapter/Makefile19
-rw-r--r--www/py-requests-wsgi-adapter/distinfo3
-rw-r--r--www/py-requests-wsgi-adapter/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index de8b4e482248..64d76f7e014d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1725,6 +1725,7 @@
SUBDIR += py-requests-oauthlib
SUBDIR += py-requests-toolbelt
SUBDIR += py-requests-unixsocket
+ SUBDIR += py-requests-wsgi-adapter
SUBDIR += py-requests_ntlm
SUBDIR += py-respx
SUBDIR += py-restclient
diff --git a/www/py-requests-wsgi-adapter/Makefile b/www/py-requests-wsgi-adapter/Makefile
new file mode 100644
index 000000000000..4d41219ef236
--- /dev/null
+++ b/www/py-requests-wsgi-adapter/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= requests-wsgi-adapter
+PORTVERSION= 0.4.1
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= WSGI Transport Adapter for Requests
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0:www/py-requests@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-requests-wsgi-adapter/distinfo b/www/py-requests-wsgi-adapter/distinfo
new file mode 100644
index 000000000000..73eb50f94e5e
--- /dev/null
+++ b/www/py-requests-wsgi-adapter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660576706
+SHA256 (requests-wsgi-adapter-0.4.1.tar.gz) = 5a7709e90abf49d181f6c32aa37794537f725de0f6dd42362bc8c8c90812c878
+SIZE (requests-wsgi-adapter-0.4.1.tar.gz) = 3035
diff --git a/www/py-requests-wsgi-adapter/pkg-descr b/www/py-requests-wsgi-adapter/pkg-descr
new file mode 100644
index 000000000000..a253906e7091
--- /dev/null
+++ b/www/py-requests-wsgi-adapter/pkg-descr
@@ -0,0 +1,3 @@
+WSGI Transport Adapter for Requests
+
+WWW: https://github.com/seanbrant/requests-wsgi-adapter