pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-flask-uploads Adjust for Flask 0.11, which remo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/badea4eba29a
branches:  trunk
changeset: 347887:badea4eba29a
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Wed Jun 01 21:10:39 2016 +0000

description:
Adjust for Flask 0.11, which removed the (herein unused) flask.Module.

Bump PKGREVISION.

diffstat:

 www/py-flask-uploads/Makefile                       |   3 ++-
 www/py-flask-uploads/distinfo                       |   3 ++-
 www/py-flask-uploads/patches/patch-flask_uploads.py |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r acb413d08c37 -r badea4eba29a www/py-flask-uploads/Makefile
--- a/www/py-flask-uploads/Makefile     Wed Jun 01 21:05:46 2016 +0000
+++ b/www/py-flask-uploads/Makefile     Wed Jun 01 21:10:39 2016 +0000
@@ -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 -r acb413d08c37 -r badea4eba29a www/py-flask-uploads/distinfo
--- a/www/py-flask-uploads/distinfo     Wed Jun 01 21:05:46 2016 +0000
+++ b/www/py-flask-uploads/distinfo     Wed Jun 01 21:10:39 2016 +0000
@@ -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 -r acb413d08c37 -r badea4eba29a www/py-flask-uploads/patches/patch-flask_uploads.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-uploads/patches/patch-flask_uploads.py       Wed Jun 01 21:10:39 2016 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index