git: e5853db58429 - main - devel/py-openapi-core: Add DJANGO, FALCON, FLASK and REQUESTS options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Oct 2022 17:13:49 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e5853db584290ca8f10643a3edfd63e664f03a9e

commit e5853db584290ca8f10643a3edfd63e664f03a9e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 17:05:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 17:10:33 +0000

    devel/py-openapi-core: Add DJANGO, FALCON, FLASK and REQUESTS options
---
 devel/py-openapi-core/Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/py-openapi-core/Makefile b/devel/py-openapi-core/Makefile
index 413937e1b963..006d2dfb5e5f 100644
--- a/devel/py-openapi-core/Makefile
+++ b/devel/py-openapi-core/Makefile
@@ -25,4 +25,15 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	DJANGO FALCON FLASK REQUESTS
+DJANGO_DESC=	Django support
+FALCON_DESC=	Falcon support
+FLASK_DESC=	Flask support
+REQUESTS_DESC=	Requests support
+
+DJANGO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=3.0:www/py-django32@${PY_FLAVOR}
+FALCON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}falcon>=3.0:www/py-falcon@${PY_FLAVOR}
+FLASK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR}
+REQUESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
 .include <bsd.port.mk>