git: 03a666ff9400 - main - devel/py-openapi-schema-validator: Add ISODATE, RFC3339_VALIDATOR and STRICT_RFC3339 options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jan 2022 20:16:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=03a666ff9400660a08114ac6c6e45dacf1201be6 commit 03a666ff9400660a08114ac6c6e45dacf1201be6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-25 20:16:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-25 20:16:35 +0000 devel/py-openapi-schema-validator: Add ISODATE, RFC3339_VALIDATOR and STRICT_RFC3339 options --- devel/py-openapi-schema-validator/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devel/py-openapi-schema-validator/Makefile b/devel/py-openapi-schema-validator/Makefile index 5f3574c12327..97caab382820 100644 --- a/devel/py-openapi-schema-validator/Makefile +++ b/devel/py-openapi-schema-validator/Makefile @@ -20,4 +20,13 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +OPTIONS_DEFINE= ISODATE RFC3339_VALIDATOR STRICT_RFC3339 +ISODATE_DESC= Datetime validator via isodate +RFC3339_VALIDATOR_DESC= Datetime validator via rfc3339-validator +STRICT_RFC3339_DESC= Datetime validator via strict-rfc3339 + +ISODATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0:devel/py-isodate@${PY_FLAVOR} +RFC3339_VALIDATOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rfc3339-validator>=0:devel/py-rfc3339-validator@${PY_FLAVOR} +STRICT_RFC3339_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}strict-rfc3339>=0:devel/py-strict-rfc3339@${PY_FLAVOR} + .include <bsd.port.mk>