voltron: add patch to fix werkzeug import
This commit is contained in:
parent
29ebf3517f
commit
b1fe35c8e0
|
@ -0,0 +1,27 @@
|
||||||
|
From ba413dcbc1914c511d03e1d95f3663a91daf349a Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Sean Francis N. Ballais" <sfballais123@gmail.com>
|
||||||
|
Date: Wed, 27 May 2020 00:44:21 +0800
|
||||||
|
Subject: [PATCH] Fixes #271 (#276)
|
||||||
|
|
||||||
|
* Add support for werkzeug 1.0.
|
||||||
|
|
||||||
|
|
||||||
|
Co-authored-by: zcutlip <uid000@gmail.com>
|
||||||
|
---
|
||||||
|
voltron/core.py | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/voltron/core.py b/voltron/core.py
|
||||||
|
index f22f375..351a0ea 100644
|
||||||
|
--- voltron/core.py
|
||||||
|
+++ voltron/core.py
|
||||||
|
@@ -15,7 +15,8 @@
|
||||||
|
import voltron
|
||||||
|
from flask import Flask, Response, make_response, redirect, render_template, request
|
||||||
|
from werkzeug.serving import BaseWSGIServer, ThreadedWSGIServer, WSGIRequestHandler
|
||||||
|
-from werkzeug.wsgi import DispatcherMiddleware, SharedDataMiddleware
|
||||||
|
+from werkzeug.middleware.dispatcher import DispatcherMiddleware
|
||||||
|
+from werkzeug.middleware.shared_data import SharedDataMiddleware
|
||||||
|
from requests import ConnectionError
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'voltron'
|
# Template file for 'voltron'
|
||||||
pkgname=voltron
|
pkgname=voltron
|
||||||
version=0.1.7
|
version=0.1.7
|
||||||
revision=3
|
revision=4
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="voltron"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-blessed python3-Flask python3-Pygments python3-pysigset
|
depends="python3-blessed python3-Flask python3-Pygments python3-pysigset
|
||||||
python3-requests python3-scruffy python3-requests-unixsocket
|
python3-requests python3-scruffy python3-requests-unixsocket
|
||||||
|
|
Loading…
Reference in New Issue