Hello community,
here is the log from the commit of package python-sphinxcontrib-plantuml for
openSUSE:Factory checked in at 2020-04-23 18:38:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-plantuml (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-plantuml.new.2738
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-plantuml"
Thu Apr 23 18:38:35 2020 rev:3 rq:796518 version:0.18
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-plantuml/python-sphinxcontrib-plantuml.changes
2020-03-06 21:33:40.781786090 +0100
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-plantuml.new.2738/python-sphinxcontrib-plantuml.changes
2020-04-23 18:38:41.365034923 +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.7EZxSi/_old 2020-04-23 18:38:42.329036767 +0200
+++ /var/tmp/diff_new_pack.7EZxSi/_new 2020-04-23 18:38:42.333036775 +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)