git: a6c7ebf9994b - main - security/py-authlib: Add CLIENTS, DJANGO, FLASK and JOSE options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Mar 2025 03:59:52 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a6c7ebf9994b617f1fede3b7b718f1ce4ef0a733
commit a6c7ebf9994b617f1fede3b7b718f1ce4ef0a733
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-19 03:40:06 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-19 03:40:06 +0000
security/py-authlib: Add CLIENTS, DJANGO, FLASK and JOSE options
---
security/py-authlib/Makefile | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/security/py-authlib/Makefile b/security/py-authlib/Makefile
index 49e2e434484b..d1961cabd016 100644
--- a/security/py-authlib/Makefile
+++ b/security/py-authlib/Makefile
@@ -20,4 +20,23 @@ 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}django42>=0:www/py-django42@${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}django42>=0:www/py-django42@${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>