Skip to content

Commit

Permalink
www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change

With hat:	python
  • Loading branch information
sunpoet committed Jun 16, 2022
1 parent 37f8359 commit 8f00981
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions 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}
Expand Down
11 changes: 11 additions & 0 deletions 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

0 comments on commit 8f00981

Please sign in to comment.