aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-fido2/broken-check.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-24 15:20:28 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-24 16:02:37 -0300
commit43e65d47559e1cd3566e4f43173d6f7b0d3c20b2 (patch)
treec33d4dc7055f5478afcc58f64551f2a7fd020d22 /testing/py3-fido2/broken-check.patch
parentc69a0d448c420e4a8e01329152f35df1e2f53c79 (diff)
downloadaports-43e65d47559e1cd3566e4f43173d6f7b0d3c20b2.tar.bz2
aports-43e65d47559e1cd3566e4f43173d6f7b0d3c20b2.tar.xz
testing/py3-fido2: upgrade to 0.7.2
Diffstat (limited to 'testing/py3-fido2/broken-check.patch')
-rw-r--r--testing/py3-fido2/broken-check.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/py3-fido2/broken-check.patch b/testing/py3-fido2/broken-check.patch
new file mode 100644
index 0000000000..f65dd22ff9
--- /dev/null
+++ b/testing/py3-fido2/broken-check.patch
@@ -0,0 +1,23 @@
+diff --git a/setup.py b/setup.py
+index fa723fc..2298bac 100755
+--- a/setup.py
++++ b/setup.py
+@@ -25,17 +25,10 @@
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ # POSSIBILITY OF SUCH DAMAGE.
+
+-from distutils.version import StrictVersion
+ from setuptools import setup, find_packages, __version__
+ import re
+ import sys
+
+-if StrictVersion(__version__) < StrictVersion("20.2"):
+- sys.exit(
+- "Your setuptools version does not support PEP 508.\n"
+- "Please install setuptools 20.2 or later."
+- )
+-
+
+ def get_version():
+ with open("fido2/__init__.py", "r") as f:
+