Hello community,

here is the log from the commit of package python-rsa for openSUSE:Factory 
checked in at 2020-12-12 20:29:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rsa (Old)
 and      /work/SRC/openSUSE:Factory/.python-rsa.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rsa"

Sat Dec 12 20:29:22 2020 rev:19 rq:854255 version:4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rsa/python-rsa.changes    2020-08-25 
12:37:35.321401062 +0200
+++ /work/SRC/openSUSE:Factory/.python-rsa.new.2328/python-rsa.changes  
2020-12-12 20:31:36.545804760 +0100
@@ -1,0 +2,9 @@
+Wed Dec  9 10:45:29 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Remove mypy test requirement. The test calls mypy via its API.
+  But mypy as importable module is only available for the default
+  python3 flavor. For packaging, we don't need to run the static
+  type checker at all.
+- Remove mock requirement.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-rsa.spec ++++++
--- /var/tmp/diff_new_pack.bp3NuQ/_old  2020-12-12 20:31:37.177805420 +0100
+++ /var/tmp/diff_new_pack.bp3NuQ/_new  2020-12-12 20:31:37.181805423 +0100
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-rsa
 Version:        4.6
 Release:        0
@@ -34,8 +35,6 @@
 Requires(preun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module mypy}
 BuildRequires:  %{python_module pyasn1 >= 0.1.3}
 BuildRequires:  %{python_module pytest}
 # /SECTION
@@ -73,7 +72,8 @@
 
 %check
 export LC_ALL=en_US.utf8
-%pytest
+# don't run the static type checker test -- mypy is only available for the 
default python3 flavor
+%pytest --ignore tests/test_mypy.py
 
 %files %{python_files}
 %license LICENSE
@@ -84,6 +84,7 @@
 %python_alternative %{_bindir}/pyrsa-priv2pub
 %python_alternative %{_bindir}/pyrsa-sign
 %python_alternative %{_bindir}/pyrsa-verify
-%{python_sitelib}/*
+%{python_sitelib}/rsa
+%{python_sitelib}/rsa-%{version}*-info
 
 %changelog
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to