From ea87bb63253478f9e593decb9e7a0cb3bcb83bf0 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 11 Jul 2020 18:10:55 +0000 Subject: Add MYSQL and POSTGRESQL options --- security/py-python3-openid/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'security/py-python3-openid') diff --git a/security/py-python3-openid/Makefile b/security/py-python3-openid/Makefile index d16770c65dd1..aff81b3a4017 100644 --- a/security/py-python3-openid/Makefile +++ b/security/py-python3-openid/Makefile @@ -20,4 +20,11 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +OPTIONS_DEFINE= MYSQL POSTGRESQL +MYSQL_DESC= MySQL support +POSTGRESQL_DESC=PostgreSQL support + +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysql-connector-python>=0:databases/py-mysql-connector-python@${PY_FLAVOR} +POSTGRESQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} + .include -- cgit v1.2.3