1 |
commit: 076be65393381ba4a71b58f4b4e959fcd4e218f9 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Mar 30 16:16:10 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 14 22:19:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076be653 |
7 |
|
8 |
dev-python/flask-login: remove unused patch(es) |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
13 |
|
14 |
.../flask-login-0.3.2-fix-tests-python2.patch | 29 ---------------------- |
15 |
1 file changed, 29 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch b/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch |
18 |
deleted file mode 100644 |
19 |
index 33811abdc7a..00000000000 |
20 |
--- a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch |
21 |
+++ /dev/null |
22 |
@@ -1,29 +0,0 @@ |
23 |
-diff --git a/test_login.py b/test_login.py |
24 |
-index 3f110e0..0c060f5 100644 |
25 |
---- a/test_login.py |
26 |
-+++ b/test_login.py |
27 |
-@@ -39,6 +39,7 @@ from flask.ext.login import (LoginManager, UserMixin, AnonymousUserMixin, |
28 |
- if str is not bytes: |
29 |
- unicode = str |
30 |
- |
31 |
-+werkzeug_version = tuple(int(i) for i in werkzeug_version.split('.')) |
32 |
- |
33 |
- @contextmanager |
34 |
- def listen_to(signal): |
35 |
-@@ -1073,14 +1074,14 @@ class LoginTestCase(unittest.TestCase): |
36 |
- # |
37 |
- # Misc |
38 |
- # |
39 |
-- @unittest.skipIf(werkzeug_version.startswith("0.9"), |
40 |
-+ @unittest.skipIf(werkzeug_version >= (0, 9), |
41 |
- "wait for upstream implementing RFC 5987") |
42 |
- def test_chinese_user_agent(self): |
43 |
- with self.app.test_client() as c: |
44 |
- result = c.get('/', headers=[('User-Agent', u'中文')]) |
45 |
- self.assertEqual(u'Welcome!', result.data.decode('utf-8')) |
46 |
- |
47 |
-- @unittest.skipIf(werkzeug_version.startswith("0.9"), |
48 |
-+ @unittest.skipIf(werkzeug_version >= (0, 9), |
49 |
- "wait for upstream implementing RFC 5987") |
50 |
- def test_russian_cp1251_user_agent(self): |
51 |
- with self.app.test_client() as c: |