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.
This commit is contained in:
Kai Knoblich 2025-02-23 10:57:56 +01:00
parent 76842fb761
commit a7f583d694
4 changed files with 44 additions and 0 deletions

View file

@ -1546,6 +1546,7 @@
SUBDIR += py-dj51-djangorestframework SUBDIR += py-dj51-djangorestframework
SUBDIR += py-dj51-drf-spectacular SUBDIR += py-dj51-drf-spectacular
SUBDIR += py-dj51-drf-spectacular-sidecar SUBDIR += py-dj51-drf-spectacular-sidecar
SUBDIR += py-dj51-social-auth-app-django
SUBDIR += py-dj51-strawberry-graphql-django SUBDIR += py-dj51-strawberry-graphql-django
SUBDIR += py-django-admin-rangefilter SUBDIR += py-django-admin-rangefilter
SUBDIR += py-django-advanced-filters SUBDIR += py-django-advanced-filters

View file

@ -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>

View file

@ -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

View file

@ -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.