git: 36df0d9b31ab - main - www/py-django-tasks: Add MYSQL and POSTGRES options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Feb 2025 17:10:56 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=36df0d9b31abb4aff662558eaf2fc52c12f99652 commit 36df0d9b31abb4aff662558eaf2fc52c12f99652 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-02-08 16:59:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-02-08 16:59:51 +0000 www/py-django-tasks: Add MYSQL and POSTGRES options --- www/py-django-tasks/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/py-django-tasks/Makefile b/www/py-django-tasks/Makefile index f5268ccaca6e..0cce006db405 100644 --- a/www/py-django-tasks/Makefile +++ b/www/py-django-tasks/Makefile @@ -23,4 +23,10 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +OPTIONS_DEFINE= MYSQL POSTGRES +POSTGRES_DESC= PostgreSQL database support + +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} +POSTGRES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg>=0:databases/py-psycopg@${PY_FLAVOR} + .include <bsd.port.mk>