* Pet portlint Changelog since 0.38.0: * The linkedin_oauth2 provider now gracefully deals with old V1 data that might still be present in SocialAccount.extra_data. * New providers: JupyterHub (OAuth2), Steam (OpenID) * Refactor translations: Portuguese (Portugal). * Add testing for Django 2.2 (no code changes required) Backwards incompatible changes * linkedin_oauth2: As the LinkedIn V1 API is deprecated, the user info endpoint has been moved over to use the API V2. The format of the user extra_data is different and the profile picture is absent by default. https://github.com/pennersr/django-allauth/blob/0.39.1/ChangeLog.rst PR: 237828 Submitted by: vladimir.chukharev@gmail.com (maintainer)
32 lines
889 B
Makefile
32 lines
889 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= django-allauth
|
|
PORTVERSION= 0.39.1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= Vladimir.Chukharev@gmail.com
|
|
COMMENT= User registration with social account authentication
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.3.0:www/py-requests-oauthlib@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 3000
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.5:security/py-python-openid@${PY_FLAVOR}
|
|
.else
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}python3-openid>=3.0.8:security/py-python3-openid@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|