git: 077d9ba380e5 - main - www/py-requests-kerberos: Add py-requests-kerberos 0.15.0
Date: Tue, 09 Dec 2025 11:23:37 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=077d9ba380e50254e0a76c75b4e094f8ab28bcf7
commit 077d9ba380e50254e0a76c75b4e094f8ab28bcf7
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-09 06:37:19 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-09 11:20:51 +0000
www/py-requests-kerberos: Add py-requests-kerberos 0.15.0
Requests is an HTTP library, written in Python, for human beings. This library
adds optional Kerberos/GSSAPI authentication support and supports mutual
authentication.
---
www/Makefile | 1 +
www/py-requests-kerberos/Makefile | 29 +++++++++++++++++++++++++++++
www/py-requests-kerberos/distinfo | 3 +++
www/py-requests-kerberos/pkg-descr | 3 +++
4 files changed, 36 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index eb8254bfb0c7..3eabb625c15c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1948,6 +1948,7 @@
SUBDIR += py-requests-file
SUBDIR += py-requests-futures
SUBDIR += py-requests-gssapi
+ SUBDIR += py-requests-kerberos
SUBDIR += py-requests-mock
SUBDIR += py-requests-oauthlib
SUBDIR += py-requests-toolbelt
diff --git a/www/py-requests-kerberos/Makefile b/www/py-requests-kerberos/Makefile
new file mode 100644
index 000000000000..99e0e760e8de
--- /dev/null
+++ b/www/py-requests-kerberos/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= requests-kerberos
+PORTVERSION= 0.15.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= requests_kerberos-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Kerberos authentication handler for python-requests
+WWW= https://github.com/requests/requests-kerberos
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyspnego>=0:security/py-pyspnego@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests@${PY_FLAVOR}
+# pyspnego[kerberos]
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.6.0:security/py-gssapi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}krb5>=0.3.0:security/py-krb5@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent cryptography pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-requests-kerberos/distinfo b/www/py-requests-kerberos/distinfo
new file mode 100644
index 000000000000..35acb117d5ea
--- /dev/null
+++ b/www/py-requests-kerberos/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1765032634
+SHA256 (requests_kerberos-0.15.0.tar.gz) = 437512e424413d8113181d696e56694ffa4259eb9a5fc4e803926963864eaf4e
+SIZE (requests_kerberos-0.15.0.tar.gz) = 24410
diff --git a/www/py-requests-kerberos/pkg-descr b/www/py-requests-kerberos/pkg-descr
new file mode 100644
index 000000000000..416f8e1632f0
--- /dev/null
+++ b/www/py-requests-kerberos/pkg-descr
@@ -0,0 +1,3 @@
+Requests is an HTTP library, written in Python, for human beings. This library
+adds optional Kerberos/GSSAPI authentication support and supports mutual
+authentication.