1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

www/py-bravado: New port: Library for accessing Swagger-enabled APIs

This commit is contained in:
Yuri Victorovich 2023-07-02 10:04:09 -07:00
parent 0c7c957996
commit 6d57701bf9
4 changed files with 39 additions and 0 deletions

View File

@ -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

33
www/py-bravado/Makefile Normal file
View File

@ -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>

3
www/py-bravado/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1688316151
SHA256 (bravado-11.0.3.tar.gz) = 1bb6ef75d84140c851fffe6420baaee5037d840070cfe11d60913be6ab8e0530
SIZE (bravado-11.0.3.tar.gz) = 34612

2
www/py-bravado/pkg-descr Normal file
View File

@ -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).