git: caa68edc0c9a - main - security/py-social-auth-core: Update to 4.4.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 11:28:09 UTC
The branch main has been updated by kai:

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

commit caa68edc0c9ae32299496305f5fb88497c3ba273
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-04-16 11:25:07 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-04-16 11:25:07 +0000

    security/py-social-auth-core: Update to 4.4.1
    
    * Simplify "do-test" target by switching to USE_PYTHON=pytest
    
    Changelogs since 4.3.0:
    
    https://github.com/python-social-auth/social-core/releases/tag/4.4.1
    https://github.com/python-social-auth/social-core/releases/tag/4.4.0
    
    PR:             270527
    Approved by:    ultima (maintainer)
    MFH:            2023Q2
---
 security/py-social-auth-core/Makefile | 15 ++++++---------
 security/py-social-auth-core/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/security/py-social-auth-core/Makefile b/security/py-social-auth-core/Makefile
index b33b18e13b26..526d935a67ec 100644
--- a/security/py-social-auth-core/Makefile
+++ b/security/py-social-auth-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	social-auth-core
-DISTVERSION=	4.3.0
+DISTVERSION=	4.4.1
 CATEGORIES=	security www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,13 +18,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.1:security/py-cryptography
 		${PYTHON_PKGNAMEPREFIX}oauthlib>=1.0.3:security/py-oauthlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.6.1:www/py-requests-oauthlib@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=4.5:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpretty>=0.9.6:www/py-httpretty@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpretty>=0.9.6:www/py-httpretty@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}coverage>=3.6:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.7.1:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils pytest
+
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 NO_ARCH=	yes
 
@@ -34,11 +35,7 @@ OPTIONS_DEFAULT=	OPENID SAML
 OPENID_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-jose>=3.0.0:security/py-python-jose@${PY_FLAVOR}
 OPENID_DESC?=	OpenID connect Support
 
-SAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python3-saml>=1.2.1:security/py-python3-saml@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}lxml>=4.7:devel/py-lxml@${PY_FLAVOR}
+SAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python3-saml>=1.5.0:security/py-python3-saml@${PY_FLAVOR}
 SAML_DESC?=	SAML Support
 
-do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v
-
 .include <bsd.port.mk>
diff --git a/security/py-social-auth-core/distinfo b/security/py-social-auth-core/distinfo
index b2114a4cb416..61db48985b79 100644
--- a/security/py-social-auth-core/distinfo
+++ b/security/py-social-auth-core/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655746758
-SHA256 (social-auth-core-4.3.0.tar.gz) = 4686f0e43cf12954216875a32e944847bb1dc69e7cd9573d16a9003bb05ca477
-SIZE (social-auth-core-4.3.0.tar.gz) = 196813
+TIMESTAMP = 1681460555
+SHA256 (social-auth-core-4.4.1.tar.gz) = 29f5ea3174162797ccb9b849f7a38a9490bfb920304ecd9b7f63c6c3a5ceb7a3
+SIZE (social-auth-core-4.4.1.tar.gz) = 198879