git: 31a40d7cfd64 - main - security/py-httpx-auth: Add py-httpx-auth 0.17.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:33:42 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31a40d7cfd645fb693cbe10e645edadb8c56eb3e

commit 31a40d7cfd645fb693cbe10e645edadb8c56eb3e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:10:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:15:54 +0000

    security/py-httpx-auth: Add py-httpx-auth 0.17.0
    
    httpx-auth provides authentication classes to be used with httpx authentication
    parameter.
---
 security/Makefile                |  1 +
 security/py-httpx-auth/Makefile  | 26 ++++++++++++++++++++++++++
 security/py-httpx-auth/distinfo  |  3 +++
 security/py-httpx-auth/pkg-descr |  2 ++
 4 files changed, 32 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 7cef6a33916a..8a4b7983dcae 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -915,6 +915,7 @@
     SUBDIR += py-gvm-tools
     SUBDIR += py-hkdf
     SUBDIR += py-htpasswd
+    SUBDIR += py-httpx-auth
     SUBDIR += py-iris-check-module
     SUBDIR += py-iris-client
     SUBDIR += py-iris-evtx-module
diff --git a/security/py-httpx-auth/Makefile b/security/py-httpx-auth/Makefile
new file mode 100644
index 000000000000..d74c1c379d9d
--- /dev/null
+++ b/security/py-httpx-auth/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	httpx-auth
+PORTVERSION=	0.17.0
+CATEGORIES=	security python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	httpx_auth-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Authentication for HTTPX
+WWW=		https://colin-b.github.io/httpx_auth/ \
+		https://github.com/Colin-b/httpx_auth
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.24.0<0.25:www/py-httpx@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-httpx-auth/distinfo b/security/py-httpx-auth/distinfo
new file mode 100644
index 000000000000..2837c5c1e5f1
--- /dev/null
+++ b/security/py-httpx-auth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688166030
+SHA256 (httpx_auth-0.17.0.tar.gz) = 4e297113804ac3ee316d12a9596bc05e4dd592d2bf0809e5b4dab496d8a35b13
+SIZE (httpx_auth-0.17.0.tar.gz) = 70061
diff --git a/security/py-httpx-auth/pkg-descr b/security/py-httpx-auth/pkg-descr
new file mode 100644
index 000000000000..0007d99ef3e7
--- /dev/null
+++ b/security/py-httpx-auth/pkg-descr
@@ -0,0 +1,2 @@
+httpx-auth provides authentication classes to be used with httpx authentication
+parameter.