summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2016-06-01 21:10:39 +0000
committerkleink <kleink@pkgsrc.org>2016-06-01 21:10:39 +0000
commit3977f4c79aabf357f08105ab026c1df02fbbc187 (patch)
treedae8ba670c26f3a4b58bb2959b9ae78310b79b0d
parent73dd1ce071f68dc82d80babe66ac9ec9e849eaa5 (diff)
downloadpkgsrc-3977f4c79aabf357f08105ab026c1df02fbbc187.tar.gz
Adjust for Flask 0.11, which removed the (herein unused) flask.Module.
Bump PKGREVISION.
-rw-r--r--www/py-flask-uploads/Makefile3
-rw-r--r--www/py-flask-uploads/distinfo3
-rw-r--r--www/py-flask-uploads/patches/patch-flask_uploads.py15
3 files changed, 19 insertions, 2 deletions
diff --git a/www/py-flask-uploads/Makefile b/www/py-flask-uploads/Makefile
index 8d4038d265a..4b2528d27e9 100644
--- a/www/py-flask-uploads/Makefile
+++ b/www/py-flask-uploads/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2016/01/08 17:14:13 kleink Exp $
+# $NetBSD: Makefile,v 1.4 2016/06/01 21:10:39 kleink Exp $
DISTNAME= Flask-Uploads-0.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://pypi.python.org/packages/source/F/Flask-Uploads/
diff --git a/www/py-flask-uploads/distinfo b/www/py-flask-uploads/distinfo
index 17f6d213ee7..b850f792069 100644
--- a/www/py-flask-uploads/distinfo
+++ b/www/py-flask-uploads/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2016/01/08 17:14:13 kleink Exp $
+$NetBSD: distinfo,v 1.4 2016/06/01 21:10:39 kleink Exp $
SHA1 (Flask-Uploads-0.2.0.tar.gz) = b276d9498848d9dc795583adc71df95e3ec3afa1
RMD160 (Flask-Uploads-0.2.0.tar.gz) = d8da87d67306e4e0144ac464be26531cb6d2954d
SHA512 (Flask-Uploads-0.2.0.tar.gz) = 7151dc5bad2813040afac84434518a3dc6df7394b60add31a26d5e19c10d42b78729eebfd5ef5a12e289ca73377f0a20b5b4b649036eba9d9e494c054d3e4efc
Size (Flask-Uploads-0.2.0.tar.gz) = 7628 bytes
+SHA1 (patch-flask_uploads.py) = 9490423d8037c8824e01f5c579bb5cfa122991de
diff --git a/www/py-flask-uploads/patches/patch-flask_uploads.py b/www/py-flask-uploads/patches/patch-flask_uploads.py
new file mode 100644
index 00000000000..9718cc0f89b
--- /dev/null
+++ b/www/py-flask-uploads/patches/patch-flask_uploads.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-flask_uploads.py,v 1.1 2016/06/01 21:10:39 kleink Exp $
+
+flask.Module, unused, was removed in Flask 0.11.
+
+--- flask_uploads.py.orig 2015-12-17 16:00:07.000000000 +0000
++++ flask_uploads.py
+@@ -21,7 +21,7 @@ else:
+ import os.path
+ import posixpath
+
+-from flask import current_app, Module, send_from_directory, abort, url_for
++from flask import current_app, send_from_directory, abort, url_for
+ from itertools import chain
+ from werkzeug import secure_filename, FileStorage
+