git: 430b8f465083 - 2025Q4 - www/py-requests_ntlm: Fix dependencies; Improve pkg-descr; Add test target

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 14 Oct 2025 20:17:24 UTC
The branch 2025Q4 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=430b8f4650839620b925d5145e05f81b9d830d05

commit 430b8f4650839620b925d5145e05f81b9d830d05
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-14 20:15:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-14 20:17:22 +0000

    www/py-requests_ntlm: Fix dependencies; Improve pkg-descr; Add test target
    
    (cherry picked from commit 3ebdf271692da0b5d296b1c1f72010bfbb1e6f9f)
---
 www/py-requests_ntlm/Makefile  | 16 ++++++++++++----
 www/py-requests_ntlm/pkg-descr |  8 ++++----
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/www/py-requests_ntlm/Makefile b/www/py-requests_ntlm/Makefile
index 9ceacf7a5429..71305b8c4c4f 100644
--- a/www/py-requests_ntlm/Makefile
+++ b/www/py-requests_ntlm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	requests_ntlm
 DISTVERSION=	1.3.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,19 @@ WWW=		https://github.com/requests/requests-ntlm
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ntlm-auth>=1.0.2:security/py-ntlm-auth@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isort>=5.13.2:devel/py-isort@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyspnego>0:security/py-pyspnego@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>2.0.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}types-requests>0:devel/py-types-requests@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>=24.4.2:devel/py-black@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist cryptography distutils
+USE_PYTHON=	distutils autoplist cryptography pytest
+
 NO_ARCH=	yes
 
+# tests as of 1.3.0: 9 failed, 10 passed in 9.55s
+
 .include <bsd.port.mk>
diff --git a/www/py-requests_ntlm/pkg-descr b/www/py-requests_ntlm/pkg-descr
index d1ba31cdc73b..cde4fb974d8d 100644
--- a/www/py-requests_ntlm/pkg-descr
+++ b/www/py-requests_ntlm/pkg-descr
@@ -1,4 +1,4 @@
-This package allows for HTTP NTLM authentication using the requests library.
-
-NTLM is a suite of authentication and session security protocols used in
-various Microsoft network protocol implementations.
+The requests-ntlm library adds support for NTLM authentication to the popular
+requests HTTP library for Python. This enables applications to seamlessly
+authenticate with web services that require Microsoft's NTLM protocol, which
+is common in corporate environments.