Hello community,

here is the log from the commit of package python-rsa for openSUSE:Factory 
checked in at 2020-08-25 12:37:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rsa (Old)
 and      /work/SRC/openSUSE:Factory/.python-rsa.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rsa"

Tue Aug 25 12:37:32 2020 rev:18 rq:827210 version:4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rsa/python-rsa.changes    2020-07-05 
01:10:54.755555203 +0200
+++ /work/SRC/openSUSE:Factory/.python-rsa.new.3399/python-rsa.changes  
2020-08-25 12:37:35.321401062 +0200
@@ -1,0 +2,6 @@
+Sun Aug 16 21:04:02 UTC 2020 - John Vandenberg <[email protected]>
+
+- Replace setup.py test with pytest
+- Remove %bcond_without tests
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-rsa.spec ++++++
--- /var/tmp/diff_new_pack.0DbCRB/_old  2020-08-25 12:37:36.089401284 +0200
+++ /var/tmp/diff_new_pack.0DbCRB/_new  2020-08-25 12:37:36.089401284 +0200
@@ -17,18 +17,14 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without tests
 Name:           python-rsa
 Version:        4.6
 Release:        0
 Summary:        Pure-Python RSA Implementation
 License:        Apache-2.0
 Group:          Development/Languages/Python
-URL:            http://stuvel.eu/rsa
+URL:            https://stuvel.eu/rsa
 Source:         
https://files.pythonhosted.org/packages/source/r/rsa/rsa-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module mypy}
-BuildRequires:  %{python_module pyasn1 >= 0.1.3}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -37,9 +33,12 @@
 Requires(pre):  coreutils
 Requires(preun): update-alternatives
 BuildArch:      noarch
-%if %{with tests}
-BuildRequires:  %{python_module nose}
-%endif
+# SECTION test requirements
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module mypy}
+BuildRequires:  %{python_module pyasn1 >= 0.1.3}
+BuildRequires:  %{python_module pytest}
+# /SECTION
 %python_subpackages
 
 %description
@@ -72,11 +71,9 @@
 %preun
 %python_uninstall_alternative pyrsa-priv2pub
 
-%if %{with tests}
 %check
 export LC_ALL=en_US.utf8
-%python_exec setup.py test
-%endif
+%pytest
 
 %files %{python_files}
 %license LICENSE


Reply via email to