[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-login/files/, dev-python/flask-login/

2022-05-01 Thread Michał Górny
commit: f89e1f5bacb79afd9f863f9f0223ef2f5316f7d0
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May  1 12:53:37 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May  1 12:53:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89e1f5b

dev-python/flask-login: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/flask-login/Manifest|  1 -
 .../files/flask-login-0.5.0-fix-tests-py3.10.patch | 26 ---
 dev-python/flask-login/flask-login-0.5.0.ebuild| 39 --
 3 files changed, 66 deletions(-)

diff --git a/dev-python/flask-login/Manifest b/dev-python/flask-login/Manifest
index 866e813dab6b..22e1532de5fa 100644
--- a/dev-python/flask-login/Manifest
+++ b/dev-python/flask-login/Manifest
@@ -1,2 +1 @@
-DIST flask-login-0.5.0.tar.gz 44961 BLAKE2B 
a780a3ca1ced7f01cbc1f99e3d92f57819c73982a4098330be7b9b4dce88e5fac577d15b2989b99971c4b2f7e6c9f02a54aeab9f7fa1c101f409cbdcfa3c6942
 SHA512 
8ffecd2a512738f81ec3901ad30d356b1d63355268f7cf1b427e463d0a271a4623723255e139bbd0f88845d73fa4aab051418b5f68aef0b4576c30294f6207b3
 DIST flask-login-0.6.0.gh.tar.gz 47368 BLAKE2B 
799591ec0bd538e6cc467a80b3a8891a97ee60bbfcf01eb6ba7be1ab48e7ea9be22e8777801621b39bf089c00d7914f7b045e4e6617e45d623354276ba7e245b
 SHA512 
0766ef5702105bc2cea7082b2b2a9bebed282a9166757adbc91a02c4adcc291d41a3217e8b9566b6bb4778db4a1d2453edb0b7a727c9bff2673833d27b69148e

diff --git 
a/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch 
b/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
deleted file mode 100644
index 858783b36e77..
--- a/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Karthikeyan Singaravelan 
-Date: Sun, 10 Jan 2021 21:12:36 +0530
-Subject: [PATCH] Import ABC from collections.abc (#525)
-
 a/test_login.py
-+++ b/test_login.py
-@@ -12,6 +12,10 @@
- from mock import ANY, patch, Mock
- except ImportError:
- from unittest.mock import ANY, patch, Mock
-+try:
-+from collections.abc import Hashable
-+except ImportError:
-+from collections import Hashable
- from semantic_version import Version
- 
- 
-@@ -1548,7 +1552,7 @@ def test_equality(self):
- self.assertTrue(first != u'1')
- 
- def test_hashable(self):
--self.assertTrue(isinstance(UserMixin(), collections.Hashable))
-+self.assertTrue(isinstance(UserMixin(), Hashable))
- 
- 
- class AnonymousUserTestCase(unittest.TestCase):

diff --git a/dev-python/flask-login/flask-login-0.5.0.ebuild 
b/dev-python/flask-login/flask-login-0.5.0.ebuild
deleted file mode 100644
index e0a82f661725..
--- a/dev-python/flask-login/flask-login-0.5.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Login session support for Flask"
-HOMEPAGE="https://pypi.org/project/Flask-Login/;
-# Should be replaced with the PyPi URI for the next release, if possible
-# See https://github.com/maxcountryman/flask-login/pull/393
-SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
-
-RDEPEND="
-   >=dev-python/flask-0.10[${PYTHON_USEDEP}]
-   dev-python/werkzeug[${PYTHON_USEDEP}]
-"
-DEPEND="
-   test? (
-   dev-python/blinker[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/semantic_version[${PYTHON_USEDEP}]
-   )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-fix-tests-py3.10.patch"
-)
-
-distutils_enable_sphinx docs
-distutils_enable_tests pytest
-
-python_test() {
-   epytest -p no:httpbin
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-login/files/

2020-05-14 Thread Aaron Bauman
commit: 076be65393381ba4a71b58f4b4e959fcd4e218f9
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Mar 30 16:16:10 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu May 14 22:19:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076be653

dev-python/flask-login: remove unused patch(es)

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 .../flask-login-0.3.2-fix-tests-python2.patch  | 29 --
 1 file changed, 29 deletions(-)

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
deleted file mode 100644
index 33811abdc7a..000
--- a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/test_login.py b/test_login.py
-index 3f110e0..0c060f5 100644
 a/test_login.py
-+++ b/test_login.py
-@@ -39,6 +39,7 @@ from flask.ext.login import (LoginManager, UserMixin, 
AnonymousUserMixin,
- if str is not bytes:
- unicode = str
- 
-+werkzeug_version = tuple(int(i) for i in werkzeug_version.split('.'))
- 
- @contextmanager
- def listen_to(signal):
-@@ -1073,14 +1074,14 @@ class LoginTestCase(unittest.TestCase):
- #
- # Misc
- #
--@unittest.skipIf(werkzeug_version.startswith("0.9"),
-+@unittest.skipIf(werkzeug_version >= (0, 9),
-  "wait for upstream implementing RFC 5987")
- def test_chinese_user_agent(self):
- with self.app.test_client() as c:
- result = c.get('/', headers=[('User-Agent', u'中文')])
- self.assertEqual(u'Welcome!', result.data.decode('utf-8'))
- 
--@unittest.skipIf(werkzeug_version.startswith("0.9"),
-+@unittest.skipIf(werkzeug_version >= (0, 9),
-  "wait for upstream implementing RFC 5987")
- def test_russian_cp1251_user_agent(self):
- with self.app.test_client() as c: