git: 07e7bc67d26d - main - www/httpx-gssapi: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 May 2022 19:48:53 UTC
The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=07e7bc67d26d7ec6ec0be2d9910e44bb6e6bc953 commit 07e7bc67d26d7ec6ec0be2d9910e44bb6e6bc953 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2022-05-02 19:47:21 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2022-05-02 19:47:21 +0000 www/httpx-gssapi: Add new port A port of Requests GSSAPI to HTTPX which adds optional GSSAPI authentication support and supports mutual authentication. --- www/Makefile | 1 + www/py-httpx-gssapi/Makefile | 20 ++++++++++++++++++++ www/py-httpx-gssapi/distinfo | 3 +++ www/py-httpx-gssapi/pkg-descr | 14 ++++++++++++++ 4 files changed, 38 insertions(+) diff --git a/www/Makefile b/www/Makefile index a87cbc05895e..afa01c803d58 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1677,6 +1677,7 @@ SUBDIR += py-httpretty SUBDIR += py-httptools SUBDIR += py-httpx + SUBDIR += py-httpx-gssapi SUBDIR += py-httpx-oauth SUBDIR += py-httpx-socks SUBDIR += py-httpx013 diff --git a/www/py-httpx-gssapi/Makefile b/www/py-httpx-gssapi/Makefile new file mode 100644 index 000000000000..5f296c74888e --- /dev/null +++ b/www/py-httpx-gssapi/Makefile @@ -0,0 +1,20 @@ +PORTNAME= httpx-gssapi +PORTVERSION= 0.1.6 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Requests GSSAPI for HTTPX + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-httpx-gssapi/distinfo b/www/py-httpx-gssapi/distinfo new file mode 100644 index 000000000000..669aa880fd16 --- /dev/null +++ b/www/py-httpx-gssapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651259112 +SHA256 (httpx-gssapi-0.1.6.tar.gz) = f300f99a8e0b26e89756f2cd59d4c899ab0d80655b4200d59592bbeecc70f254 +SIZE (httpx-gssapi-0.1.6.tar.gz) = 30733 diff --git a/www/py-httpx-gssapi/pkg-descr b/www/py-httpx-gssapi/pkg-descr new file mode 100644 index 000000000000..e5b59bfc76be --- /dev/null +++ b/www/py-httpx-gssapi/pkg-descr @@ -0,0 +1,14 @@ +HTTPX is a full featured Python HTTP library with both sync and async APIs +designed to be a next generation HTTP client for Python. This library is a +port of Requests GSSAPI to HTTPX which adds optional GSSAPI authentication +support and supports mutual authentication. + +Basic GET usage: + +>>> import httpx +>>> from httpx_gssapi import HTTPSPNEGOAuth +>>> r = httpx.get("http://example.org", auth=HTTPSPNEGOAuth()) + +Both the sync and async HTTPX APIs should be fully supported. + +WWW: https://github.com/pythongssapi/httpx-gssapi