security/py-social-auth-core: Update to 4.6.1
* Switch to the PEP517 build framework. * Introduce additional options GOOGLE-ONE-TAP and PING to reflect the settings in "pyproject.toml" and make them default to give users a good out-of-box experience. Changelog since 4.5.4: https://github.com/python-social-auth/social-core/blob/4.6.1/CHANGELOG.md PR: 286964 Approved by: maintainer timeout, +4 weeks
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
PORTNAME= social-auth-core
|
||||
DISTVERSION= 4.5.4
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 4.6.1
|
||||
CATEGORIES= security www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= social_auth_core-${DISTVERSION}
|
||||
|
||||
MAINTAINER= ultima@FreeBSD.org
|
||||
COMMENT= Social authentication/registration mechanism for several frameworks
|
||||
@@ -12,27 +12,35 @@ WWW= https://github.com/python-social-auth/social-core
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5.0:devel/py-defusedxml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}python3-openid>=3.0.10:security/py-python3-openid@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyjwt>=2.7.0:www/py-pyjwt@${PY_FLAVOR} \
|
||||
${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}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}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}responses>=0.25.0:devel/py-responses@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist cryptography distutils pytest
|
||||
USE_PYTHON= autoplist cryptography pep517 pytest
|
||||
|
||||
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= SAML
|
||||
OPTIONS_DEFAULT= SAML
|
||||
# An SHOPIFY option would still be possible as well, but the ports tree does
|
||||
# not yet have all the required dependencies for this.
|
||||
OPTIONS_DEFINE= GOOGLE-ONETAP PING SAML
|
||||
OPTIONS_DEFAULT= GOOGLE-ONETAP PING SAML
|
||||
|
||||
SAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python3-saml>=1.5.0:security/py-python3-saml@${PY_FLAVOR}
|
||||
GOOGLE-ONETAP_DESC= Google One Tap support
|
||||
PING_DESC= Ping Identity support
|
||||
SAML_DESC?= SAML Support
|
||||
|
||||
GOOGLE-ONETAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=2.39.0<3:security/py-google-auth@${PY_FLAVOR}
|
||||
PING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-jose>=3.4.0<4:security/py-python-jose@${PY_FLAVOR}
|
||||
SAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python3-saml>=1.5.0:security/py-python3-saml@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1718387481
|
||||
SHA256 (social-auth-core-4.5.4.tar.gz) = d3dbeb0999ffd0e68aa4bd73f2ac698a18133fd11b3fc890e1366f18c8889fac
|
||||
SIZE (social-auth-core-4.5.4.tar.gz) = 216496
|
||||
TIMESTAMP = 1747476805
|
||||
SHA256 (social_auth_core-4.6.1.tar.gz) = 563510844ccc043a727b120fe57726860c93158d4304fafa2c1e122f2deb4fd3
|
||||
SIZE (social_auth_core-4.6.1.tar.gz) = 228732
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
* Relax version requirements for py-setuptools and enable build for
|
||||
older versions of it
|
||||
|
||||
--- pyproject.toml.orig 2025-04-28 07:23:27 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -1,6 +1,6 @@ build-backend = "setuptools.build_meta"
|
||||
[build-system]
|
||||
build-backend = "setuptools.build_meta"
|
||||
-requires = ["setuptools>=78.0.2"]
|
||||
+requires = ["setuptools>=63.1.0"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
@@ -49,8 +49,7 @@ keywords = ["oauth", "openid", "saml", "social auth"]
|
||||
]
|
||||
description = "Python social authentication made simple."
|
||||
keywords = ["oauth", "openid", "saml", "social auth"]
|
||||
-license = "BSD-3-Clause"
|
||||
-license-files = ["LICENSE"]
|
||||
+license = { text="BSD-3-Clause" }
|
||||
name = "social-auth-core"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
Reference in New Issue
Block a user