aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2023-04-16 11:25:07 +0000
committerKai Knoblich <kai@FreeBSD.org>2023-04-16 11:29:32 +0000
commitd6e5c484da28c3b0de43e0bb8b7fd88400c40cc2 (patch)
tree36f694d523616e9e53b5e81d5aba1f023a0ec062
parent3aa1cacb509b55cea2a4490ac5578630f2dad480 (diff)
downloadports-d6e5c484da28c3b0de43e0bb8b7fd88400c40cc2.tar.gz
ports-d6e5c484da28c3b0de43e0bb8b7fd88400c40cc2.zip
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 (cherry picked from commit caa68edc0c9ae32299496305f5fb88497c3ba273)
-rw-r--r--security/py-social-auth-core/Makefile15
-rw-r--r--security/py-social-auth-core/distinfo6
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