git: e493d628ba7e - main - www/py-flask-security: Unbreak

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 06:29:49 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e493d628ba7e4be07a9b39d1c0fe64a4ec18a84c

commit e493d628ba7e4be07a9b39d1c0fe64a4ec18a84c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-05 06:27:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-05 06:27:19 +0000

    www/py-flask-security: Unbreak
    
    Python version comparison procedure thinks that
    the version 2.6.2 is greater than 6.0.0 for some reason.
    
    Reported by:    fallout
    Approved by:    portmgr (unbreak)
---
 www/py-flask-security/files/patch-setup.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/www/py-flask-security/files/patch-setup.py b/www/py-flask-security/files/patch-setup.py
new file mode 100644
index 000000000000..4efe72b220fd
--- /dev/null
+++ b/www/py-flask-security/files/patch-setup.py
@@ -0,0 +1,13 @@
+- fix the problem that Python thinks that the version 2.6.2 is greater than 6.0.0 for pytest-runner
+
+--- setup.py.orig	2022-10-05 06:23:53 UTC
++++ setup.py
+@@ -42,7 +42,7 @@ for reqs in extras_require.values():
+ 
+ setup_requires = [
+     'Babel>=1.3',
+-    'pytest-runner>=2.6.2',
++    'pytest-runner',
+ ]
+ 
+ install_requires = [