diff options
Diffstat (limited to 'www/py-dj52-social-auth-app-django')
-rw-r--r-- | www/py-dj52-social-auth-app-django/Makefile | 34 | ||||
-rw-r--r-- | www/py-dj52-social-auth-app-django/distinfo | 3 | ||||
-rw-r--r-- | www/py-dj52-social-auth-app-django/files/patch-pyproject.toml | 23 | ||||
-rw-r--r-- | www/py-dj52-social-auth-app-django/pkg-descr | 6 |
4 files changed, 66 insertions, 0 deletions
diff --git a/www/py-dj52-social-auth-app-django/Makefile b/www/py-dj52-social-auth-app-django/Makefile new file mode 100644 index 000000000000..70b3f933c0be --- /dev/null +++ b/www/py-dj52-social-auth-app-django/Makefile @@ -0,0 +1,34 @@ +PORTNAME= social-auth-app-django +DISTVERSION= 5.5.1 +CATEGORIES= www security python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Social Authentication and Django integration +WWW= https://github.com/python-social-auth/social-app-django + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.1:www/py-django52@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.4<5:security/py-social-auth-core@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} + +USES= python:3.10+ +USE_GITHUB= yes +GH_ACCOUNT= python-social-auth +GH_PROJECT= social-app-django +USE_PYTHON= autoplist pep517 + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} manage.py test -v3 + +.include <bsd.port.mk> diff --git a/www/py-dj52-social-auth-app-django/distinfo b/www/py-dj52-social-auth-app-django/distinfo new file mode 100644 index 000000000000..b1382004a3fd --- /dev/null +++ b/www/py-dj52-social-auth-app-django/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1752836935 +SHA256 (python-social-auth-social-app-django-5.5.1_GH0.tar.gz) = aa37072a8ad9f688ba20d53949060828868825d256b70a42062b71fe8ff190f9 +SIZE (python-social-auth-social-app-django-5.5.1_GH0.tar.gz) = 27080 diff --git a/www/py-dj52-social-auth-app-django/files/patch-pyproject.toml b/www/py-dj52-social-auth-app-django/files/patch-pyproject.toml new file mode 100644 index 000000000000..f868181c8ecd --- /dev/null +++ b/www/py-dj52-social-auth-app-django/files/patch-pyproject.toml @@ -0,0 +1,23 @@ +* Relax version requirements for py-setuptools and enable build for + older versions of it + +--- pyproject.toml.orig 2025-07-18 11:13:36 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"] + + [dependency-groups] + dev = [ +@@ -36,8 +36,7 @@ keywords = ["django", "oauth", "openid", "saml", "soci + ] + description = "Python Social Authentication, Django integration." + keywords = ["django", "oauth", "openid", "saml", "social auth"] +-license = "BSD-3-Clause" +-license-files = ["LICENSE"] ++license = { text="BSD-3-Clause" } + name = "social-auth-app-django" + readme = "README.md" + requires-python = ">=3.10" diff --git a/www/py-dj52-social-auth-app-django/pkg-descr b/www/py-dj52-social-auth-app-django/pkg-descr new file mode 100644 index 000000000000..fa7d52777ed7 --- /dev/null +++ b/www/py-dj52-social-auth-app-django/pkg-descr @@ -0,0 +1,6 @@ +Python Social Auth is an easy to setup social authentication/registration +mechanism with support for several frameworks and auth providers. + +This is the Django component of the python-social-auth ecosystem, it implements +the needed functionality to integrate social-auth-core in a Django based +project. |