Date: Sat, 11 Jan 2020 12:08:35 +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: r522679 - in head/www: . py-flask-smorest Message-ID: <202001111208.00BC8Ztl096938@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sat Jan 11 12:08:34 2020 New Revision: 522679 URL: https://svnweb.freebsd.org/changeset/ports/522679 Log: [NEW] www/py-flask-smorest: Flask/Marshmallow-based REST API framework REST API framework built upon Flask and marshmallow. - Serialization, deserialization and validation using marshmallow Schema - Explicit validation error messages returned in response - Database-agnostic - OpenAPI (Swagger) specification automatically generated and exposed with ReDoc or Swagger UI - Pagination - ETag WWW: https://github.com/marshmallow-code/flask-smorest PR: 242611 Submitted by: Goran Mekić <meka@tilda.center> Added: head/www/py-flask-smorest/ head/www/py-flask-smorest/Makefile (contents, props changed) head/www/py-flask-smorest/distinfo (contents, props changed) head/www/py-flask-smorest/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Jan 11 11:57:18 2020 (r522678) +++ head/www/Makefile Sat Jan 11 12:08:34 2020 (r522679) @@ -1644,6 +1644,7 @@ SUBDIR += py-flask-restful SUBDIR += py-flask-restplus SUBDIR += py-flask-script + SUBDIR += py-flask-smorest SUBDIR += py-flask-socketio SUBDIR += py-flask-sockets SUBDIR += py-flask-uploads Added: head/www/py-flask-smorest/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-flask-smorest/Makefile Sat Jan 11 12:08:34 2020 (r522679) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= flask-smorest +PORTVERSION= 0.18.2 +CATEGORIES= www devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Flask/Marshmallow-based REST API framework + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.15:www/py-werkzeug@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Flask>=1.1.0:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}marshmallow>=2.15.2:devel/py-marshmallow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}webargs>=1.5.2:www/py-webargs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}apispec>=3.0.0:devel/py-apispec@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.0.0:devel/py-pytest@${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/www/py-flask-smorest/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-flask-smorest/distinfo Sat Jan 11 12:08:34 2020 (r522679) @@ -0,0 +1,3 @@ +TIMESTAMP = 1576574402 +SHA256 (flask-smorest-0.18.2.tar.gz) = c16bab8cd1de750f79e7bcba6f7ffea9a1299f0e69053e41273af920b5a0e748 +SIZE (flask-smorest-0.18.2.tar.gz) = 54329 Added: head/www/py-flask-smorest/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-flask-smorest/pkg-descr Sat Jan 11 12:08:34 2020 (r522679) @@ -0,0 +1,11 @@ +REST API framework built upon Flask and marshmallow. + + - Serialization, deserialization and validation using marshmallow Schema + - Explicit validation error messages returned in response + - Database-agnostic + - OpenAPI (Swagger) specification automatically generated and exposed with + ReDoc or Swagger UI + - Pagination + - ETag + +WWW: https://github.com/marshmallow-code/flask-smorest
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001111208.00BC8Ztl096938>