diff options
| author | Kai Knoblich <kai@FreeBSD.org> | 2025-02-23 09:57:56 +0000 |
|---|---|---|
| committer | Kai Knoblich <kai@FreeBSD.org> | 2025-02-23 10:16:58 +0000 |
| commit | a7f583d694dfdf0f93d5f38511ba9a7f37302411 (patch) | |
| tree | b813bb6e68d428d7c59a4cefbe753b2589fa7cfd | |
| parent | 76842fb761becbcb50c79ebdae9e123dc629c036 (diff) | |
www/py-dj51-social-auth-app-django: New port
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.
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/py-dj51-social-auth-app-django/Makefile | 34 | ||||
| -rw-r--r-- | www/py-dj51-social-auth-app-django/distinfo | 3 | ||||
| -rw-r--r-- | www/py-dj51-social-auth-app-django/pkg-descr | 6 |
4 files changed, 44 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index bf70b2f86daa..ce97eaa03791 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1546,6 +1546,7 @@ SUBDIR += py-dj51-djangorestframework SUBDIR += py-dj51-drf-spectacular SUBDIR += py-dj51-drf-spectacular-sidecar + SUBDIR += py-dj51-social-auth-app-django SUBDIR += py-dj51-strawberry-graphql-django SUBDIR += py-django-admin-rangefilter SUBDIR += py-django-advanced-filters diff --git a/www/py-dj51-social-auth-app-django/Makefile b/www/py-dj51-social-auth-app-django/Makefile new file mode 100644 index 000000000000..7e6a30311836 --- /dev/null +++ b/www/py-dj51-social-auth-app-django/Makefile @@ -0,0 +1,34 @@ +PORTNAME= social-auth-app-django +DISTVERSION= 5.4.3 +CATEGORIES= www security python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- + +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}django51>=3.2:www/py-django51@${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-dj51-social-auth-app-django/distinfo b/www/py-dj51-social-auth-app-django/distinfo new file mode 100644 index 000000000000..68863aa8bae5 --- /dev/null +++ b/www/py-dj51-social-auth-app-django/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1740213116 +SHA256 (python-social-auth-social-app-django-5.4.3_GH0.tar.gz) = 4dd02d76ffa390e6a2d7fe319869384c81d32c73b826eb09a10023cf66738389 +SIZE (python-social-auth-social-app-django-5.4.3_GH0.tar.gz) = 25327 diff --git a/www/py-dj51-social-auth-app-django/pkg-descr b/www/py-dj51-social-auth-app-django/pkg-descr new file mode 100644 index 000000000000..fa7d52777ed7 --- /dev/null +++ b/www/py-dj51-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. |
