summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-03 23:31:37 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-04 00:35:17 +0100
commit849964d21582d2a1069edad36b7ef58baaf5f4dd (patch)
tree50436eb627c885b951a8a4f746df669ddc5cc6c0 /dev-python/flask/files
parentdev-python/flask-wtf: Clean old up (diff)
downloadgentoo-849964d21582d2a1069edad36b7ef58baaf5f4dd.tar.gz
gentoo-849964d21582d2a1069edad36b7ef58baaf5f4dd.tar.bz2
gentoo-849964d21582d2a1069edad36b7ef58baaf5f4dd.zip
dev-python/flask: Clean old up
Diffstat (limited to 'dev-python/flask/files')
-rw-r--r--dev-python/flask/files/flask-0.10.1-is_package.patch13
-rw-r--r--dev-python/flask/files/flask-0.10.1-sort_json.patch54
-rw-r--r--dev-python/flask/files/flask-0.10.1-test_appcontext.patch14
3 files changed, 0 insertions, 81 deletions
diff --git a/dev-python/flask/files/flask-0.10.1-is_package.patch b/dev-python/flask/files/flask-0.10.1-is_package.patch
deleted file mode 100644
index 611d931d502f..000000000000
--- a/dev-python/flask/files/flask-0.10.1-is_package.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/mitsuhiko/flask/issues/487
-diff -ur Flask-0.10.1.orig/flask/helpers.py Flask-0.10.1/flask/helpers.py
---- flask/helpers.py 2013-06-14 06:35:43.000000000 +0800
-+++ flask/helpers.py 2013-08-16 16:18:36.194006290 +0800
-@@ -679,7 +679,7 @@
- filename = sys.modules[import_name].__file__
- package_path = os.path.abspath(os.path.dirname(filename))
- # package_path ends with __init__.py for a package
-- if loader.is_package(root_mod_name):
-+ if package_path.endswith('__init__.py'):
- package_path = os.path.dirname(package_path)
-
- site_parent, site_folder = os.path.split(package_path)
diff --git a/dev-python/flask/files/flask-0.10.1-sort_json.patch b/dev-python/flask/files/flask-0.10.1-sort_json.patch
deleted file mode 100644
index e78cd0dee825..000000000000
--- a/dev-python/flask/files/flask-0.10.1-sort_json.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-https://github.com/mitsuhiko/flask/commit/a2bc61b5ab19e899735f8945f68123b4cea570d5
-diff --git a/flask/testsuite/helpers.py b/flask/testsuite/helpers.py
-index 636f67f..7de70c0 100644
---- a/flask/testsuite/helpers.py
-+++ b/flask/testsuite/helpers.py
-@@ -173,7 +173,33 @@ def index():
- c = app.test_client()
- rv = c.get('/')
- lines = [x.strip() for x in rv.data.strip().decode('utf-8').splitlines()]
-- self.assert_equal(lines, [
-+ sorted_by_str = [
-+ '{',
-+ '"values": {',
-+ '"0": "foo",',
-+ '"1": "foo",',
-+ '"10": "foo",',
-+ '"11": "foo",',
-+ '"12": "foo",',
-+ '"13": "foo",',
-+ '"14": "foo",',
-+ '"15": "foo",',
-+ '"16": "foo",',
-+ '"17": "foo",',
-+ '"18": "foo",',
-+ '"19": "foo",',
-+ '"2": "foo",',
-+ '"3": "foo",',
-+ '"4": "foo",',
-+ '"5": "foo",',
-+ '"6": "foo",',
-+ '"7": "foo",',
-+ '"8": "foo",',
-+ '"9": "foo"',
-+ '}',
-+ '}'
-+ ]
-+ sorted_by_int = [
- '{',
- '"values": {',
- '"0": "foo",',
-@@ -198,8 +224,12 @@ def index():
- '"19": "foo"',
- '}',
- '}'
-- ])
-+ ]
-
-+ try:
-+ self.assert_equal(lines, sorted_by_int)
-+ except AssertionError:
-+ self.assert_equal(lines, sorted_by_str)
-
- class SendfileTestCase(FlaskTestCase):
-
diff --git a/dev-python/flask/files/flask-0.10.1-test_appcontext.patch b/dev-python/flask/files/flask-0.10.1-test_appcontext.patch
deleted file mode 100644
index 11dee7a9f6bf..000000000000
--- a/dev-python/flask/files/flask-0.10.1-test_appcontext.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://github.com/mitsuhiko/flask/commit/f88cc2d2f9d14d97e33ddd2bbaa4b1885db06e1c.
-diff --git a/flask/testsuite/signals.py b/flask/testsuite/signals.py
-index e061932..45ca45d 100644
---- a/flask/testsuite/signals.py
-+++ b/flask/testsuite/signals.py
-@@ -102,7 +102,7 @@ def test_appcontext_signals(self):
- def record_push(sender, **kwargs):
- recorded.append('push')
- def record_pop(sender, **kwargs):
-- recorded.append('push')
-+ recorded.append('pop')
-
- @app.route('/')
- def index():