FreeBSD Bugzilla – Attachment 210017 Details for
Bug 242611
[NEW PORT] www/py-flask-smorest: Flask/Marshmallow-based REST API framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-flask-smorest.diff
py-flask-smorest.diff (text/plain), 2.73 KB, created by
Goran Mekić
on 2019-12-17 23:07:07 UTC
(
hide
)
Description:
py-flask-smorest.diff
Filename:
MIME Type:
Creator:
Goran Mekić
Created:
2019-12-17 23:07:07 UTC
Size:
2.73 KB
patch
obsolete
>commit fa901421a21bff90a761f0d6577304f74be2be11 >Author: Goran MekiÄ <meka@tilda.center> >Date: Tue Dec 17 22:26:48 2019 +0100 > > Add flask-smorest > >diff --git a/www/Makefile b/www/Makefile >index 49b3826ddf08..b8857f1036ba 100644 >--- a/www/Makefile >+++ b/www/Makefile >@@ -1641,6 +1641,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 >diff --git a/www/py-flask-smorest/Makefile b/www/py-flask-smorest/Makefile >new file mode 100644 >index 000000000000..dcc4cb92c984 >--- /dev/null >+++ b/www/py-flask-smorest/Makefile >@@ -0,0 +1,34 @@ >+# $FreeBSD$ >+ >+PORTNAME= flask-smorest >+PORTVERSION= 0.18.2 >+CATEGORIES= www devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= meka@tilda.center >+COMMENT= DB agnostic framework to build auto-documented REST APIs >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}marshmallow>=0:devel/py-marshmallow@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}webargs>=0:www/py-webargs@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}apispec>=0:devel/py-apispec@${PY_FLAVOR} >+ >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}WebTest>0:www/py-WebTest@${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> >diff --git a/www/py-flask-smorest/distinfo b/www/py-flask-smorest/distinfo >new file mode 100644 >index 000000000000..883f291097d0 >--- /dev/null >+++ b/www/py-flask-smorest/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1576574402 >+SHA256 (flask-smorest-0.18.2.tar.gz) = c16bab8cd1de750f79e7bcba6f7ffea9a1299f0e69053e41273af920b5a0e748 >+SIZE (flask-smorest-0.18.2.tar.gz) = 54329 >diff --git a/www/py-flask-smorest/pkg-descr b/www/py-flask-smorest/pkg-descr >new file mode 100644 >index 000000000000..6407021878f8 >--- /dev/null >+++ b/www/py-flask-smorest/pkg-descr >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
meka
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 242611
:
209902
| 210017