Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2019 19:09:12 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510984 - head/devel/py-prance
Message-ID:  <201909031909.x83J9Cap040786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909031909.x83J9Cap040786>