File project.diff of Package python-PyJWT

--- python-PyJWT.spec.orig
+++ python-PyJWT.spec
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_without test
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-PyJWT
 Version:        1.7.1
@@ -61,8 +63,10 @@ find ./ -type f -name "*.py" -perm 644 -
 %postun
 %python_uninstall_alternative pyjwt
 
+%if %{with test}
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -o addopts="" -k "not test_verify_false_deprecated"
+%endif
 
 %files %{python_files}
 %license LICENSE
openSUSE Build Service is sponsored by