From 752d6256e5204b958b0ef7905675a940b5e9172f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 May 2022 16:42:50 +0300 Subject: gentoo resync : 12.05.2022 --- dev-python/flask-login/Manifest | 7 ++-- .../files/flask-login-0.5.0-fix-tests-py3.10.patch | 26 -------------- dev-python/flask-login/flask-login-0.5.0.ebuild | 39 -------------------- dev-python/flask-login/flask-login-0.6.0.ebuild | 2 +- dev-python/flask-login/flask-login-0.6.1.ebuild | 42 ++++++++++++++++++++++ 5 files changed, 46 insertions(+), 70 deletions(-) delete mode 100644 dev-python/flask-login/files/flask-login-0.5.0-fix-tests-py3.10.patch delete mode 100644 dev-python/flask-login/flask-login-0.5.0.ebuild create mode 100644 dev-python/flask-login/flask-login-0.6.1.ebuild (limited to 'dev-python/flask-login') diff --git a/dev-python/flask-login/Manifest b/dev-python/flask-login/Manifest index 68d9e2618f9e..51a53762572e 100644 --- a/dev-python/flask-login/Manifest +++ b/dev-python/flask-login/Manifest @@ -1,6 +1,5 @@ -AUX flask-login-0.5.0-fix-tests-py3.10.patch 769 BLAKE2B 82cfe4209de45f6c282b3e289daca11f31ecd96764eba7185909f8d7896e9e39e4401ab7e250155d07575a779bf98f836a7ffcb7d47ae1a1cb6f35f342fd86d4 SHA512 04f0cdf5b6beac3ecbc27513fd994362416c6990f9040710f979b997cace59d7560e4a0471b44e04f9de69fa93ac8698a0c73765f7548f1adc9ddaf5de834e4d -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 -EBUILD flask-login-0.5.0.ebuild 961 BLAKE2B c16aaa50f2efa07e036ac6ddf2048f91e613faf2beee1dc48a01b1581be1b9c622cd05c0a598dd3fef2ceb8a7b664679f59f81c1dadc96199e2685f815c439b5 SHA512 623d85c78f6742f4e1945ef52ff19c921ff05b883de01583ccf8e9465d40d6fe8d69854aae248d735d3ed952670d2a6367a1e1d6dab6f613cf31a3972060d731 -EBUILD flask-login-0.6.0.ebuild 829 BLAKE2B 459319f7661afed2cee11499f67be8b8e07128d8177debb784af692829ca0ed32b1a390fc83efddb4fca1a389a2aac1f7db07cdc731d17067dba912463813416 SHA512 3e301da2269eb213455dc1cfb4476ae4bcc3fc9ee8e347d5e2490ebcff5230744933b3ea98e8fd1627f446326ece1e828ca29dc568f88dac50490f5b846dfa2e +DIST flask-login-0.6.1.gh.tar.gz 48215 BLAKE2B eb1fa81aad9bd8cf663b3ea85649f90f39d7a91c4c771e697b0cb7d66c7e4a5994befbaad36a7deba6f5aea27e6f47ff616aa00cd073433851cf8a9248e4b3a3 SHA512 f220e24079923c669d1ce27fdbc7ff8e07e92bc947e2708034cb349176e33ae0adf36ef6c30e8328f592d9a3eb6d0796dc577033f07c33ef0bc48c13a11a942e +EBUILD flask-login-0.6.0.ebuild 825 BLAKE2B 2303ce435ed7c4a91fe0007c656157ab5e18f31a1e63b9651838819c3a00eaa9c9f994ac937c991cad95a5723891e0e2566f5225a50e2a12ab681e34e1cdf46a SHA512 57374937efe72e75abb9acef48959923959403061033014ae797f782d534fbb3bc828685bfbc6a86e7e8834523b66d9b4499f608b229315c5552496fe2d87866 +EBUILD flask-login-0.6.1.ebuild 886 BLAKE2B 899ebfe1af6639db53506f058d8a559dff152b0b8383b274271641e3bad30ce581180951d581778edcf8656c43aaa3d6ebf7627e9538a14c53e23a686eb9f646 SHA512 49b34e20ffd57dc371148a65c13f5fa877aad69996924442f086c9f6e0c3b8aaa0a9eb6ffbf927f0ebda7e145dc4b740bbd614d47fb59521c72cfd3e9d794c41 MISC metadata.xml 404 BLAKE2B 8f8070dd3be696102c88bf75e22511b75432dfd17d21f6f3ce084cbae8092bc91ce1cbb7e47d691c7ac502afd58882ccd0bd1ea732df9239a4ec1b70e8728f19 SHA512 0b32444d9f1508697be1a19a6eb57efa5cbff443baf35958c24161d0b716a55d96b0caf66936925970904642fde975d94f4360b8b96d018ebe0fad24216769a4 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..000000000000 --- 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..000000000000 --- 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 -} diff --git a/dev-python/flask-login/flask-login-0.6.0.ebuild b/dev-python/flask-login/flask-login-0.6.0.ebuild index 4bc29b40ada8..7db16f6f14aa 100644 --- a/dev-python/flask-login/flask-login-0.6.0.ebuild +++ b/dev-python/flask-login/flask-login-0.6.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-python/flask-1.0.4[${PYTHON_USEDEP}] diff --git a/dev-python/flask-login/flask-login-0.6.1.ebuild b/dev-python/flask-login/flask-login-0.6.1.ebuild new file mode 100644 index 000000000000..8ad7a727fcac --- /dev/null +++ b/dev-python/flask-login/flask-login-0.6.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Login session support for Flask" +HOMEPAGE=" + https://github.com/maxcountryman/flask-login/ + https://pypi.org/project/Flask-Login/ +" +SRC_URI=" + https://github.com/maxcountryman/flask-login/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/flask-1.0.4[${PYTHON_USEDEP}] + >=dev-python/werkzeug-1.0.1[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/semantic_version[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_test() { + epytest -p no:httpbin +} -- cgit v1.2.3