Hello community,
here is the log from the commit of package python-signedjson for
openSUSE:Factory checked in at 2020-08-17 14:40:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-signedjson (Old)
and /work/SRC/openSUSE:Factory/.python-signedjson.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-signedjson"
Mon Aug 17 14:40:20 2020 rev:5 rq:827212 version:1.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-signedjson/python-signedjson.changes
2020-04-16 23:05:58.935820540 +0200
+++
/work/SRC/openSUSE:Factory/.python-signedjson.new.3399/python-signedjson.changes
2020-08-17 14:40:21.106581559 +0200
@@ -1,0 +2,5 @@
+Sun Aug 16 20:48:03 UTC 2020 - John Vandenberg <[email protected]>
+
+- Replace nose with pytest
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-signedjson.spec ++++++
--- /var/tmp/diff_new_pack.kBmTIE/_old 2020-08-17 14:40:21.846581866 +0200
+++ /var/tmp/diff_new_pack.kBmTIE/_new 2020-08-17 14:40:21.850581867 +0200
@@ -28,13 +28,7 @@
URL: https://github.com/matrix-org/%{name}
Source0:
https://files.pythonhosted.org/packages/source/s/signedjson/%{modname}-%{version}.tar.gz
Patch0: no-importlib-on-py38.patch
-BuildRequires: %{python_module PyNaCl >= 0.3.0}
-BuildRequires: %{python_module canonicaljson >= 1.0.0}
-BuildRequires: %{python_module importlib-metadata}
-BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module typing_extensions >= 3.5}
-BuildRequires: %{python_module unpaddedbase64 >= 1.0.1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyNaCl >= 0.3.0
@@ -43,6 +37,14 @@
Requires: python-typing_extensions >= 3.5
Requires: python-unpaddedbase64 >= 1.0.1
BuildArch: noarch
+# SECTION test requirements
+BuildRequires: %{python_module PyNaCl >= 0.3.0}
+BuildRequires: %{python_module canonicaljson >= 1.0.0}
+BuildRequires: %{python_module importlib-metadata}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module typing_extensions >= 3.5}
+BuildRequires: %{python_module unpaddedbase64 >= 1.0.1}
+# /SECTION
%if %{with python2}
BuildRequires: python2-typing >= 3.5
%endif
@@ -69,10 +71,10 @@
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{modname}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand nosetests-%{$python_bin_suffix}
+%pytest
%files %{python_files}
%license LICENSE