Hello community,
here is the log from the commit of package python-XlsxWriter for
openSUSE:Factory checked in at 2019-09-23 12:17:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-XlsxWriter (Old)
and /work/SRC/openSUSE:Factory/.python-XlsxWriter.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-XlsxWriter"
Mon Sep 23 12:17:46 2019 rev:9 rq:731192 version:1.1.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-XlsxWriter/python-XlsxWriter.changes
2019-07-30 13:05:35.078384871 +0200
+++
/work/SRC/openSUSE:Factory/.python-XlsxWriter.new.7948/python-XlsxWriter.changes
2019-09-23 12:17:47.557803004 +0200
@@ -1,0 +2,6 @@
+Sat Sep 14 06:44:46 UTC 2019 - John Vandenberg <[email protected]>
+
+- Use %pytest, as setup.py test invokes python which does not exist
+ if only python3 flavour is built.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-XlsxWriter.spec ++++++
--- /var/tmp/diff_new_pack.1LXhe3/_old 2019-09-23 12:17:48.517802847 +0200
+++ /var/tmp/diff_new_pack.1LXhe3/_new 2019-09-23 12:17:48.521802846 +0200
@@ -27,6 +27,7 @@
Url: https://xlsxwriter.readthedocs.org/
Source:
https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_%{version}.tar.gz#/XlsxWriter-RELEASE_%{version}.tar.gz
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
@@ -72,7 +73,7 @@
%python_uninstall_alternative vba_extract
%check
-%python_exec setup.py test
+%pytest
%files %{python_files}
%doc Changes README.rst