diff --git a/www/py-httpbin/Makefile b/www/py-httpbin/Makefile index 13c34c7ba23a8..d9610bd1b6744 100644 --- a/www/py-httpbin/Makefile +++ b/www/py-httpbin/Makefile @@ -1,5 +1,6 @@ PORTNAME= httpbin PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-httpbin/files/patch-httpbin-core.py b/www/py-httpbin/files/patch-httpbin-core.py new file mode 100644 index 0000000000000..61f342b9188f6 --- /dev/null +++ b/www/py-httpbin/files/patch-httpbin-core.py @@ -0,0 +1,11 @@ +--- httpbin/core.py.orig 2018-05-08 11:41:03 UTC ++++ httpbin/core.py +@@ -19,7 +19,7 @@ from flask import Flask, Response, request, render_tem + from six.moves import range as xrange + from werkzeug.datastructures import WWWAuthenticate, MultiDict + from werkzeug.http import http_date +-from werkzeug.wrappers import BaseResponse ++from werkzeug.wrappers import Response as BaseResponse + from werkzeug.http import parse_authorization_header + from raven.contrib.flask import Sentry +