svn commit: r510984 - head/devel/py-prance
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Sep 3 19:09:13 UTC 2019
Author: sunpoet
Date: Tue Sep 3 19:09:12 2019
New Revision: 510984
URL: https://svnweb.freebsd.org/changeset/ports/510984
Log:
Add CLI, FLEX, ICU, OSV and SSV options
- Enable OSV as validation backend by default
- Bump PORTREVISION for dependency change
Modified:
head/devel/py-prance/Makefile
Modified: head/devel/py-prance/Makefile
==============================================================================
--- head/devel/py-prance/Makefile Tue Sep 3 19:09:06 2019 (r510983)
+++ head/devel/py-prance/Makefile Tue Sep 3 19:09:12 2019 (r510984)
@@ -3,6 +3,7 @@
PORTNAME= prance
PORTVERSION= 0.16.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,5 +25,21 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+
+OPTIONS_DEFINE= CLI ICU
+OPTIONS_MULTI= BACKEND
+OPTIONS_MULTI_BACKEND= FLEX OSV SSV
+OPTIONS_DEFAULT=OSV
+CLI_DESC= Command-line interface support
+FLEX_DESC= Use py-flex as backend
+ICU_DESC= Unicode support
+OSV_DESC= Use py-openapi-spec-validator as backend
+SSV_DESC= Use py-swagger-spec-validator as backend
+
+CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7.0<8:devel/py-click@${PY_FLAVOR}
+FLEX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flex>=6.13<7:devel/py-flex@${PY_FLAVOR}
+ICU_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=2.2<3:devel/py-pyicu@${PY_FLAVOR}
+OSV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.2.1<0.3:devel/py-openapi-spec-validator@${PY_FLAVOR}
+SSV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.4<3:devel/py-swagger-spec-validator@${PY_FLAVOR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list