svn commit: r542024 - head/security/py-python3-openid

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Jul 11 18:10:56 UTC 2020


Author: sunpoet
Date: Sat Jul 11 18:10:55 2020
New Revision: 542024
URL: https://svnweb.freebsd.org/changeset/ports/542024

Log:
  Add MYSQL and POSTGRESQL options

Modified:
  head/security/py-python3-openid/Makefile

Modified: head/security/py-python3-openid/Makefile
==============================================================================
--- head/security/py-python3-openid/Makefile	Sat Jul 11 18:10:50 2020	(r542023)
+++ head/security/py-python3-openid/Makefile	Sat Jul 11 18:10:55 2020	(r542024)
@@ -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 <bsd.port.mk>


More information about the svn-ports-all mailing list