git: f902f7479fa0 - main - www/py-flask-restx: unbreak after ce9d694b5868
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Aug 2022 21:18:37 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f902f7479fa0d32137ca2665c35cd3b5d0ca4796 commit f902f7479fa0d32137ca2665c35cd3b5d0ca4796 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-08-08 21:12:40 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-08-08 21:17:55 +0000 www/py-flask-restx: unbreak after ce9d694b5868 >>> import flask_restx Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/flask_restx/__init__.py", line 5, in <module> from .api import Api # noqa File "/usr/local/lib/python3.9/site-packages/flask_restx/api.py", line 50, in <module> from .swagger import Swagger File "/usr/local/lib/python3.9/site-packages/flask_restx/swagger.py", line 18, in <module> from werkzeug.routing import parse_rule ImportError: cannot import name 'parse_rule' from 'werkzeug.routing' (/usr/local/lib/python3.9/site-packages/werkzeug/routing/__init__.py) --- www/py-flask-restx/Makefile | 5 +++++ www/py-flask-restx/distinfo | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/www/py-flask-restx/Makefile b/www/py-flask-restx/Makefile index 3542ab4e893c..a45b97caa68b 100644 --- a/www/py-flask-restx/Makefile +++ b/www/py-flask-restx/Makefile @@ -1,9 +1,14 @@ PORTNAME= flask-restx PORTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PATCH_SITES= https://github.com/${PORTNAME:S,flask,python,}/${PORTNAME}/commit/ +PATCHFILES+= 82f7340ebb51.patch:-p1 # https://github.com/python-restx/flask-restx/pull/463 +PATCHFILES+= 09e57b8af6ca.patch:-p1 # https://github.com/python-restx/flask-restx/pull/463 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Extension for Flask that adds support for quickly building REST APIs diff --git a/www/py-flask-restx/distinfo b/www/py-flask-restx/distinfo index da13b726dd31..cae5d7f60d61 100644 --- a/www/py-flask-restx/distinfo +++ b/www/py-flask-restx/distinfo @@ -1,3 +1,7 @@ TIMESTAMP = 1630527073 SHA256 (flask-restx-0.5.1.tar.gz) = 63c69a61999a34f1774eaccc6fc8c7f504b1aad7d56a8ec672264e52d9ac05f4 SIZE (flask-restx-0.5.1.tar.gz) = 5282772 +SHA256 (82f7340ebb51.patch) = d0cc0bab25931aefa342f737f9fc26c834bf12bb5425fea9a99f16e32332610f +SIZE (82f7340ebb51.patch) = 2819 +SHA256 (09e57b8af6ca.patch) = 6a9ca61f8726b921cb80b26c608c08c7e4106db68dbc80858dc889e326944cc0 +SIZE (09e57b8af6ca.patch) = 1050