git: 6d57701bf90d - main - www/py-bravado: New port: Library for accessing Swagger-enabled APIs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jul 2023 17:04:32 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d57701bf90d40f55c0738c77bf0bcdcf2119a55 commit 6d57701bf90d40f55c0738c77bf0bcdcf2119a55 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-02 17:04:09 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-02 17:04:09 +0000 www/py-bravado: New port: Library for accessing Swagger-enabled APIs --- www/Makefile | 1 + www/py-bravado/Makefile | 33 +++++++++++++++++++++++++++++++++ www/py-bravado/distinfo | 3 +++ www/py-bravado/pkg-descr | 2 ++ 4 files changed, 39 insertions(+) diff --git a/www/Makefile b/www/Makefile index a6955b279c18..d61b5bc6b317 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1449,6 +1449,7 @@ SUBDIR += py-bottle SUBDIR += py-bottle-cork SUBDIR += py-branca + SUBDIR += py-bravado SUBDIR += py-bravado-core SUBDIR += py-cachecontrol SUBDIR += py-cachelib diff --git a/www/py-bravado/Makefile b/www/py-bravado/Makefile new file mode 100644 index 000000000000..06e5695d5ef5 --- /dev/null +++ b/www/py-bravado/Makefile @@ -0,0 +1,33 @@ +PORTNAME= bravado +DISTVERSION= 11.0.3 +CATEGORIES= www python +MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for accessing Swagger-enabled APIs +WWW= https://github.com/Yelp/bravado + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bravado-core>=5.16.1:www/py-bravado-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}monotonic>0:devel/py-monotonic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.17:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottle>0:www/py-bottle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ephemeral-port-reserve>0:net/py-ephemeral-port-reserve@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils concurrent autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-bravado/distinfo b/www/py-bravado/distinfo new file mode 100644 index 000000000000..67db6a6f8313 --- /dev/null +++ b/www/py-bravado/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688316151 +SHA256 (bravado-11.0.3.tar.gz) = 1bb6ef75d84140c851fffe6420baaee5037d840070cfe11d60913be6ab8e0530 +SIZE (bravado-11.0.3.tar.gz) = 34612 diff --git a/www/py-bravado/pkg-descr b/www/py-bravado/pkg-descr new file mode 100644 index 000000000000..5abd520067ac --- /dev/null +++ b/www/py-bravado/pkg-descr @@ -0,0 +1,2 @@ +Bravado is a Yelp maintained fork of digium/swagger-py for use with OpenAPI +Specification version 2.0 (previously known as Swagger).