Hello community,

here is the log from the commit of package python-sphinxcontrib-plantuml for 
openSUSE:Factory checked in at 2020-03-06 21:29:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-plantuml (Old)
 and      /work/SRC/openSUSE:Factory/.python-sphinxcontrib-plantuml.new.26092 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinxcontrib-plantuml"

Fri Mar  6 21:29:16 2020 rev:2 rq:782223 version:0.18

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sphinxcontrib-plantuml/python-sphinxcontrib-plantuml.changes
      2019-09-04 09:12:50.886958949 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-plantuml.new.26092/python-sphinxcontrib-plantuml.changes
   2020-03-06 21:33:40.781786090 +0100
@@ -1,0 +2,6 @@
+Fri Mar  6 12:41:55 UTC 2020 - [email protected]
+
+- version update to 0.18
+  * no upstream changelog
+
+-------------------------------------------------------------------

Old:
----
  sphinxcontrib-plantuml-0.17.1.tar.gz

New:
----
  sphinxcontrib-plantuml-0.18.tar.gz

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

Other differences:
------------------
++++++ python-sphinxcontrib-plantuml.spec ++++++
--- /var/tmp/diff_new_pack.WKlHJ1/_old  2020-03-06 21:33:41.377786457 +0100
+++ /var/tmp/diff_new_pack.WKlHJ1/_new  2020-03-06 21:33:41.377786457 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinxcontrib-plantuml
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-sphinxcontrib-plantuml
-Version:        0.17.1
+Version:        0.18
 Release:        0
 Summary:        Sphinx API for Web Apps
 License:        BSD-2-Clause
 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
+BuildRequires:  %{python_module Sphinx >= 1.1}
 BuildRequires:  %{python_module Sphinx-latex}
-BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  ghostscript
@@ -35,7 +36,7 @@
 BuildRequires:  texlive-epstopdf
 BuildRequires:  tox
 Requires:       plantuml
-Requires:       python-Sphinx
+Requires:       python-Sphinx >= 1.1
 BuildArch:      noarch
 %python_subpackages
 
@@ -57,7 +58,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH="." nosetests-%{$python_bin_suffix} -w tests
+# upstream knows: 
https://github.com/sphinx-contrib/plantuml/commit/e1b3f7e709eae0e95c70564a7e42279db08c8447
+# s/class="figure"/class="figure align-default"/ in test_functional.py
+%pytest -k 'not test_buildhtml_name'
 
 %files %{python_files}
 %doc README.rst

++++++ sphinxcontrib-plantuml-0.17.1.tar.gz -> 
sphinxcontrib-plantuml-0.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plantuml-0.17.1/setup.py new/plantuml-0.18/setup.py
--- old/plantuml-0.17.1/setup.py        2019-09-02 13:39:34.000000000 +0200
+++ new/plantuml-0.18/setup.py  2020-01-01 02:34:22.000000000 +0100
@@ -8,7 +8,7 @@
 
 setup(
     name='sphinxcontrib-plantuml',
-    version='0.17.1',
+    version='0.18',
     url='https://github.com/sphinx-contrib/plantuml/',
     download_url='https://pypi.python.org/pypi/sphinxcontrib-plantuml',
     license='BSD',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plantuml-0.17.1/sphinxcontrib/plantuml.py 
new/plantuml-0.18/sphinxcontrib/plantuml.py
--- old/plantuml-0.17.1/sphinxcontrib/plantuml.py       2019-09-02 
13:39:34.000000000 +0200
+++ new/plantuml-0.18/sphinxcontrib/plantuml.py 2020-01-01 02:34:22.000000000 
+0100
@@ -88,13 +88,14 @@
     optional_arguments = 1
     option_spec = {
         'alt': directives.unchanged,
+        'align': align,
         'caption': directives.unchanged,
         'height': directives.length_or_unitless,
-        'width': directives.length_or_percentage_or_unitless,
-        'scale': directives.percentage,
-        'align': align,
         'html_format': html_format,
         'latex_format': latex_format,
+        'name': directives.unchanged,
+        'scale': directives.percentage,
+        'width': directives.length_or_percentage_or_unitless,
     }
 
     def run(self):
@@ -134,6 +135,7 @@
             caption_node.extend(messages)
             set_source_info(self, caption_node)
             node += caption_node
+        self.add_name(node)
         if 'html_format' in self.options:
             node['html_format'] = self.options['html_format']
         if 'latex_format' in self.options:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plantuml-0.17.1/tests/fixture/README.rst 
new/plantuml-0.18/tests/fixture/README.rst
--- old/plantuml-0.17.1/tests/fixture/README.rst        2019-09-02 
13:39:34.000000000 +0200
+++ new/plantuml-0.18/tests/fixture/README.rst  2020-01-01 02:34:22.000000000 
+0100
@@ -1,7 +1,7 @@
 tests/fixture
 =============
 
-Files under `testx/fixture` are used by `test_functional.py`.
+Files under `tests/fixture` are used by `test_functional.py`.
 `test_functional.py` runs sphinx.build with *fake* plantuml executable,
 `fakecmd.py`.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plantuml-0.17.1/tests/test_functional.py 
new/plantuml-0.18/tests/test_functional.py
--- old/plantuml-0.17.1/tests/test_functional.py        2019-09-02 
13:39:34.000000000 +0200
+++ new/plantuml-0.18/tests/test_functional.py  2020-01-01 02:34:22.000000000 
+0100
@@ -139,6 +139,18 @@
             in readfile('index.html'))
 
 @with_runsphinx('html')
+def test_buildhtml_name():
+    """Generate HTML with name specified
+
+    .. uml::
+       :caption: Caption
+       :name: label
+
+       Hello
+    """
+    assert b'<div class="figure" id="label">' in readfile('index.html')
+
+@with_runsphinx('html')
 def test_buildhtml_nonascii():
     u"""Generate simple HTML of non-ascii diagram
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plantuml-0.17.1/tox.ini new/plantuml-0.18/tox.ini
--- old/plantuml-0.17.1/tox.ini 2019-09-02 13:39:34.000000000 +0200
+++ new/plantuml-0.18/tox.ini   2020-01-01 02:34:22.000000000 +0100
@@ -1,33 +1,8 @@
-## configuration for tox <http://codespeak.net/tox/>
-
-## tox automates running certain tasks within virtualenvs.  The following
-## tox configuration outlines a basic setup for running unit tests and
-## building sphinx docs in separate virtual environments.  Give it a try!
-
 [tox]
-envlist=python,doc
+envlist = py27
 
-# test running
-[testenv:python]
-deps=
-    ## if you use nose for test running
+[testenv]
+deps =
     nose
-    ## if you use py.test for test running
-    # py
     rst2pdf
-commands=
-    ## run tests with py.test
-    # py.test []
-    ## run tests with nose
-    nosetests []
-
-[testenv:doc]
-deps=
-    sphinx
-    # add all Sphinx extensions and other dependencies required to build your 
docs
-commands=
-    ## test links
-    # sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc 
{envtmpdir}/linkcheck
-    ## test html output
-    # sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
-
+commands = nosetests


Reply via email to