git: 8f009815d35c - main - www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 Jun 2022 19:39:59 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f009815d35cfb5de7ae11d543b9bfd8426f2821

commit 8f009815d35cfb5de7ae11d543b9bfd8426f2821
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-16 19:35:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-16 19:35:59 +0000

    www/py-httpbin: Fix runtime with py-werkzeug 2.1.0+
    
    - Bump PORTREVISION for package change
    
    With hat:       python
---
 www/py-httpbin/Makefile                    |  1 +
 www/py-httpbin/files/patch-httpbin-core.py | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/www/py-httpbin/Makefile b/www/py-httpbin/Makefile
index 13c34c7ba23a..d9610bd1b674 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 000000000000..61f342b9188f
--- /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
+