Files
ports/security/py-authlib/Makefile
T
Kai Knoblich ce59801b72 *: Switch consumers over to Django 5.2
Django 4.2 reached its End-of-Life on 7th April 2026 and Django 5.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2028.

* Switch most ports that use www/py-django42 to www/py-django52.

* Where necessary, remove PORTSCOUT, which is no longer needed because
  an update to a newer version that no longer supports Django 4.2 should
  now be possible.

* Bump PORTREVISION due dependency change where necessary.

PR:		291707
Reviewed by:	sunpoet (python)
Differential Revision:	https://reviews.freebsd.org/D56966
2026-05-28 07:18:35 +02:00

45 lines
1.7 KiB
Makefile

PORTNAME= authlib
PORTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Ultimate Python library in building OAuth and OpenID Connect servers
WWW= https://authlib.org/ \
https://github.com/authlib/authlib
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joserfc>=1.6.0:security/py-joserfc@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent cryptography pep517
NO_ARCH= yes
OPTIONS_DEFINE= CLIENTS DJANGO FLASK JOSE
CLIENTS_DESC= Clients support
DJANGO_DESC= Django support
FLASK_DESC= Flask support
JOSE_DESC= Jose support
CLIENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=0:devel/py-anyio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cachelib>=0:www/py-cachelib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django52>=0:www/py-django52@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask>=0:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}starlette>=0:www/py-starlette@${PY_FLAVOR}
DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=0:www/py-django52@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-django>=0:devel/py-pytest-django@${PY_FLAVOR}
FLASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=0:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask-sqlalchemy>=0:databases/py-flask-sqlalchemy@${PY_FLAVOR} \
JOSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.10<4:security/py-pycryptodomex@${PY_FLAVOR}
.include <bsd.port.mk>