Date: Tue, 25 Jun 2019 20:51:37 +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: r505106 - in head/devel: . py-openapi-spec-validator Message-ID: <201906252051.x5PKpblu029295@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Jun 25 20:51:37 2019 New Revision: 505106 URL: https://svnweb.freebsd.org/changeset/ports/505106 Log: Add py-openapi-spec-validator 0.2.7 OpenAPI Spec Validator is a Python library that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 specification. The validator aims to check for full compliance with the Specification. WWW: https://github.com/p1c2u/openapi-spec-validator Added: head/devel/py-openapi-spec-validator/ head/devel/py-openapi-spec-validator/Makefile (contents, props changed) head/devel/py-openapi-spec-validator/distinfo (contents, props changed) head/devel/py-openapi-spec-validator/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jun 25 20:50:17 2019 (r505105) +++ head/devel/Makefile Tue Jun 25 20:51:37 2019 (r505106) @@ -4647,6 +4647,7 @@ SUBDIR += py-omnijson SUBDIR += py-omniorb SUBDIR += py-openapi-codec + SUBDIR += py-openapi-spec-validator SUBDIR += py-opendht SUBDIR += py-opengrok-tools SUBDIR += py-openstacksdk Added: head/devel/py-openapi-spec-validator/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-openapi-spec-validator/Makefile Tue Jun 25 20:51:37 2019 (r505106) @@ -0,0 +1,31 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= openapi-spec-validator +PORTVERSION= 0.2.7 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Validator for OpenAPI 2.0 and 3.0.0 specification + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>=0:devel/py-pathlib2@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> Added: head/devel/py-openapi-spec-validator/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-openapi-spec-validator/distinfo Tue Jun 25 20:51:37 2019 (r505106) @@ -0,0 +1,3 @@ +TIMESTAMP = 1561317099 +SHA256 (openapi-spec-validator-0.2.7.tar.gz) = 77c4fb47fe8a7dd527c7433861638221eb416827dc1c5c983505c0a38ca6e9eb +SIZE (openapi-spec-validator-0.2.7.tar.gz) = 22042 Added: head/devel/py-openapi-spec-validator/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-openapi-spec-validator/pkg-descr Tue Jun 25 20:51:37 2019 (r505106) @@ -0,0 +1,5 @@ +OpenAPI Spec Validator is a Python library that validates OpenAPI Specs against +the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 specification. The validator +aims to check for full compliance with the Specification. + +WWW: https://github.com/p1c2u/openapi-spec-validator
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906252051.x5PKpblu029295>