mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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:
parent
76842fb761
commit
a7f583d694
4 changed files with 44 additions and 0 deletions
|
@ -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
|
||||||
|
|
34
www/py-dj51-social-auth-app-django/Makefile
Normal file
34
www/py-dj51-social-auth-app-django/Makefile
Normal 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>
|
3
www/py-dj51-social-auth-app-django/distinfo
Normal file
3
www/py-dj51-social-auth-app-django/distinfo
Normal 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
|
6
www/py-dj51-social-auth-app-django/pkg-descr
Normal file
6
www/py-dj51-social-auth-app-django/pkg-descr
Normal 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.
|
Loading…
Add table
Reference in a new issue