Hello community,
here is the log from the commit of package python-sphinxcontrib-plantuml for
openSUSE:Leap:15.2 checked in at 2020-04-25 19:04:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-sphinxcontrib-plantuml (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-sphinxcontrib-plantuml.new.2738
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-plantuml"
Sat Apr 25 19:04:58 2020 rev:3 rq:797083 version:0.18
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-sphinxcontrib-plantuml/python-sphinxcontrib-plantuml.changes
2020-03-13 11:01:00.416590045 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-sphinxcontrib-plantuml.new.2738/python-sphinxcontrib-plantuml.changes
2020-04-25 19:05:03.439592219 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 11:38:22 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add patch to call tests using python3 not python2:
+ * py3-for-tests.patch
+
+-------------------------------------------------------------------
New:
----
py3-for-tests.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-plantuml.spec ++++++
--- /var/tmp/diff_new_pack.C4SU1n/_old 2020-04-25 19:05:03.923593259 +0200
+++ /var/tmp/diff_new_pack.C4SU1n/_new 2020-04-25 19:05:03.927593268 +0200
@@ -25,6 +25,7 @@
Group: Development/Languages/Python
URL: https://github.com/sphinx-contrib/plantuml/
Source:
https://github.com/sphinx-contrib/plantuml/archive/%{version}.tar.gz#/sphinxcontrib-plantuml-%{version}.tar.gz
+Patch0: py3-for-tests.patch
BuildRequires: %{python_module Sphinx >= 1.1}
BuildRequires: %{python_module Sphinx-latex}
BuildRequires: %{python_module nose}
@@ -49,6 +50,7 @@
%prep
%setup -q -n plantuml-%{version}
+%patch0 -p1
%build
%python_build
++++++ py3-for-tests.patch ++++++
Index: plantuml-0.18/tests/fakecmd.py
===================================================================
--- plantuml-0.18.orig/tests/fakecmd.py
+++ plantuml-0.18/tests/fakecmd.py
@@ -1,7 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
# embed as PostScript comment
-print '%', ' '.join(sys.argv)
+print('%', ' '.join(sys.argv))
for line in sys.stdin:
sys.stdout.write('% ' + line)