summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/py-requests_ntlm/Makefile16
-rw-r--r--www/py-requests_ntlm/pkg-descr8
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.