Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-login/files/, dev-python/flask-login/
Date: Sun, 01 May 2022 12:56:26
Message-Id: 1651409617.f89e1f5bacb79afd9f863f9f0223ef2f5316f7d0.mgorny@gentoo
1 commit: f89e1f5bacb79afd9f863f9f0223ef2f5316f7d0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 12:53:37 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 12:53:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f89e1f5b
7
8 dev-python/flask-login: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flask-login/Manifest | 1 -
13 .../files/flask-login-0.5.0-fix-tests-py3.10.patch | 26 ---------------
14 dev-python/flask-login/flask-login-0.5.0.ebuild | 39 ----------------------
15 3 files changed, 66 deletions(-)
16
17 diff --git a/dev-python/flask-login/Manifest b/dev-python/flask-login/Manifest
18 index 866e813dab6b..22e1532de5fa 100644
19 --- a/dev-python/flask-login/Manifest
20 +++ b/dev-python/flask-login/Manifest
21 @@ -1,2 +1 @@
22 -DIST flask-login-0.5.0.tar.gz 44961 BLAKE2B a780a3ca1ced7f01cbc1f99e3d92f57819c73982a4098330be7b9b4dce88e5fac577d15b2989b99971c4b2f7e6c9f02a54aeab9f7fa1c101f409cbdcfa3c6942 SHA512 8ffecd2a512738f81ec3901ad30d356b1d63355268f7cf1b427e463d0a271a4623723255e139bbd0f88845d73fa4aab051418b5f68aef0b4576c30294f6207b3
23 DIST flask-login-0.6.0.gh.tar.gz 47368 BLAKE2B 799591ec0bd538e6cc467a80b3a8891a97ee60bbfcf01eb6ba7be1ab48e7ea9be22e8777801621b39bf089c00d7914f7b045e4e6617e45d623354276ba7e245b SHA512 0766ef5702105bc2cea7082b2b2a9bebed282a9166757adbc91a02c4adcc291d41a3217e8b9566b6bb4778db4a1d2453edb0b7a727c9bff2673833d27b69148e
24
25 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
26 deleted file mode 100644
27 index 858783b36e77..000000000000
28 --- a/dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch
29 +++ /dev/null
30 @@ -1,26 +0,0 @@
31 -From: Karthikeyan Singaravelan <tir.karthi@×××××.com>
32 -Date: Sun, 10 Jan 2021 21:12:36 +0530
33 -Subject: [PATCH] Import ABC from collections.abc (#525)
34 -
35 ---- a/test_login.py
36 -+++ b/test_login.py
37 -@@ -12,6 +12,10 @@
38 - from mock import ANY, patch, Mock
39 - except ImportError:
40 - from unittest.mock import ANY, patch, Mock
41 -+try:
42 -+ from collections.abc import Hashable
43 -+except ImportError:
44 -+ from collections import Hashable
45 - from semantic_version import Version
46 -
47 -
48 -@@ -1548,7 +1552,7 @@ def test_equality(self):
49 - self.assertTrue(first != u'1')
50 -
51 - def test_hashable(self):
52 -- self.assertTrue(isinstance(UserMixin(), collections.Hashable))
53 -+ self.assertTrue(isinstance(UserMixin(), Hashable))
54 -
55 -
56 - class AnonymousUserTestCase(unittest.TestCase):
57
58 diff --git a/dev-python/flask-login/flask-login-0.5.0.ebuild b/dev-python/flask-login/flask-login-0.5.0.ebuild
59 deleted file mode 100644
60 index e0a82f661725..000000000000
61 --- a/dev-python/flask-login/flask-login-0.5.0.ebuild
62 +++ /dev/null
63 @@ -1,39 +0,0 @@
64 -# Copyright 1999-2022 Gentoo Authors
65 -# Distributed under the terms of the GNU General Public License v2
66 -
67 -EAPI=7
68 -
69 -PYTHON_COMPAT=( python3_{8..10} )
70 -inherit distutils-r1
71 -
72 -DESCRIPTION="Login session support for Flask"
73 -HOMEPAGE="https://pypi.org/project/Flask-Login/"
74 -# Should be replaced with the PyPi URI for the next release, if possible
75 -# See https://github.com/maxcountryman/flask-login/pull/393
76 -SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
77 -
78 -LICENSE="BSD"
79 -SLOT="0"
80 -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
81 -
82 -RDEPEND="
83 - >=dev-python/flask-0.10[${PYTHON_USEDEP}]
84 - dev-python/werkzeug[${PYTHON_USEDEP}]
85 -"
86 -DEPEND="
87 - test? (
88 - dev-python/blinker[${PYTHON_USEDEP}]
89 - dev-python/mock[${PYTHON_USEDEP}]
90 - dev-python/semantic_version[${PYTHON_USEDEP}]
91 - )"
92 -
93 -PATCHES=(
94 - "${FILESDIR}/${P}-fix-tests-py3.10.patch"
95 -)
96 -
97 -distutils_enable_sphinx docs
98 -distutils_enable_tests pytest
99 -
100 -python_test() {
101 - epytest -p no:httpbin
102 -}