Date: Sat, 14 Dec 2019 01:11:49 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520082 - in head/devel: . py-apispec Message-ID: <201912140111.xBE1BnmI072411@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sat Dec 14 01:11:49 2019 New Revision: 520082 URL: https://svnweb.freebsd.org/changeset/ports/520082 Log: [NEW PORT] devel/py-apispec: Pluggable API specification generator A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification). Features: - Supports the OpenAPI Specification (versions 2 and 3) - Framework-agnostic - Utilities for parsing docstrings WWW: https://github.com/marshmallow-code/apispec PR: 242609 Submitted by: Goran Mekić <meka tilda.center> Added: head/devel/py-apispec/ head/devel/py-apispec/Makefile (contents, props changed) head/devel/py-apispec/distinfo (contents, props changed) head/devel/py-apispec/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Dec 14 00:51:44 2019 (r520081) +++ head/devel/Makefile Sat Dec 14 01:11:49 2019 (r520082) @@ -4127,6 +4127,7 @@ SUBDIR += py-anyjson SUBDIR += py-apache_conf_parser SUBDIR += py-apipkg + SUBDIR += py-apispec SUBDIR += py-apns2 SUBDIR += py-appdirs SUBDIR += py-application Added: head/devel/py-apispec/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-apispec/Makefile Sat Dec 14 01:11:49 2019 (r520082) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= apispec +PORTVERSION= 3.1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Pluggable API specification generator + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}marshmallow>0:devel/py-marshmallow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} + +# tests_require = prance[osv]>=0.11 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}prance>=0.11:devel/py-prance@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>0:devel/py-openapi-spec-validator@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist concurrent distutils + +TEST_ENV= PYTHONPATH=${WRKSRC}/src + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= + +.include <bsd.port.mk> Added: head/devel/py-apispec/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-apispec/distinfo Sat Dec 14 01:11:49 2019 (r520082) @@ -0,0 +1,3 @@ +TIMESTAMP = 1576169493 +SHA256 (apispec-3.1.0.tar.gz) = fe5cf5fc89b1c4a73acd5af3a10ede02b31ec116f215ed02271cb905d3172367 +SIZE (apispec-3.1.0.tar.gz) = 62775 Added: head/devel/py-apispec/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-apispec/pkg-descr Sat Dec 14 01:11:49 2019 (r520082) @@ -0,0 +1,10 @@ +A pluggable API specification generator. Currently supports the OpenAPI +Specification (f.k.a. the Swagger specification). + +Features: + + - Supports the OpenAPI Specification (versions 2 and 3) + - Framework-agnostic + - Utilities for parsing docstrings + +WWW: https://github.com/marshmallow-code/apispec
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912140111.xBE1BnmI072411>