Hello community,
here is the log from the commit of package python-pandocfilters for
openSUSE:Factory checked in at 2017-11-10 14:56:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pandocfilters (Old)
and /work/SRC/openSUSE:Factory/.python-pandocfilters.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pandocfilters"
Fri Nov 10 14:56:39 2017 rev:2 rq:539577 version:1.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pandocfilters/python-pandocfilters.changes
2017-04-14 13:37:07.736412407 +0200
+++
/work/SRC/openSUSE:Factory/.python-pandocfilters.new/python-pandocfilters.changes
2017-11-10 14:56:58.836982685 +0100
@@ -1,0 +2,11 @@
+Sat Nov 4 02:08:16 UTC 2017 - [email protected]
+
+- update to version 1.4.2:
+ * Fixed minor RST error in README.
+ * Fixed typo.
+ * Change element constructor function elt() to return a list instead
+ of a tuple when numargs > 1, enabling elements to be traversed by
+ walk().
+ * Fix indentation of a doc-string
+
+-------------------------------------------------------------------
Old:
----
pandocfilters-1.4.1.tar.gz
New:
----
pandocfilters-1.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pandocfilters.spec ++++++
--- /var/tmp/diff_new_pack.8peJTM/_old 2017-11-10 14:57:00.312929300 +0100
+++ /var/tmp/diff_new_pack.8peJTM/_new 2017-11-10 14:57:00.316929156 +0100
@@ -13,21 +13,22 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pandocfilters
-Version: 1.4.1
+Version: 1.4.2
Release: 0
-License: BSD-3-Clause
Summary: Python module for writing pandoc filters
-Url: http://github.com/jgm/pandocfilters
+License: BSD-3-Clause
Group: Development/Languages/Python
+Url: http://github.com/jgm/pandocfilters
Source:
https://pypi.io/packages/source/p/pandocfilters/pandocfilters-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: pandoc >= 1.16
+BuildRequires: python-rpm-macros
Requires: pandoc >= 1.16
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
++++++ pandocfilters-1.4.1.tar.gz -> pandocfilters-1.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandocfilters-1.4.1/PKG-INFO
new/pandocfilters-1.4.2/PKG-INFO
--- old/pandocfilters-1.4.1/PKG-INFO 2016-11-09 20:37:36.000000000 +0100
+++ new/pandocfilters-1.4.2/PKG-INFO 2017-08-08 05:47:36.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pandocfilters
-Version: 1.4.1
+Version: 1.4.2
Summary: Utilities for writing pandoc filters in python
Home-page: http://github.com/jgm/pandocfilters
Author: John MacFarlane
@@ -63,8 +63,7 @@
``action(key, value, format, meta)``, where:
- ``key`` is the type of the pandoc object (e.g. 'Str', 'Para')
- ``value`` is
- - the contents of the object (e.g. a string for 'Str', a list of
+ - ``value`` is the contents of the object (e.g. a string for
'Str', a list of
inline elements for 'Para')
- ``format`` is the target output format (as supplied by the
``format`` argument of ``walk``)
@@ -128,8 +127,9 @@
- ``attributes(attrs)``
Returns an attribute list, constructed from the dictionary attrs.
+
How to use
- --------------
+ ----------
Most users will only need ``toJSONFilter``. Here is a simple example
of its use::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandocfilters-1.4.1/README
new/pandocfilters-1.4.2/README
--- old/pandocfilters-1.4.1/README 2016-11-09 20:37:09.000000000 +0100
+++ new/pandocfilters-1.4.2/README 2017-08-08 05:39:27.000000000 +0200
@@ -55,8 +55,7 @@
``action(key, value, format, meta)``, where:
- ``key`` is the type of the pandoc object (e.g. 'Str', 'Para')
- ``value`` is
- - the contents of the object (e.g. a string for 'Str', a list of
+ - ``value`` is the contents of the object (e.g. a string for 'Str', a list
of
inline elements for 'Para')
- ``format`` is the target output format (as supplied by the
``format`` argument of ``walk``)
@@ -120,8 +119,9 @@
- ``attributes(attrs)``
Returns an attribute list, constructed from the dictionary attrs.
+
How to use
---------------
+----------
Most users will only need ``toJSONFilter``. Here is a simple example
of its use::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandocfilters-1.4.1/README.rst
new/pandocfilters-1.4.2/README.rst
--- old/pandocfilters-1.4.1/README.rst 2016-11-09 20:37:09.000000000 +0100
+++ new/pandocfilters-1.4.2/README.rst 2017-08-08 05:39:27.000000000 +0200
@@ -55,8 +55,7 @@
``action(key, value, format, meta)``, where:
- ``key`` is the type of the pandoc object (e.g. 'Str', 'Para')
- ``value`` is
- - the contents of the object (e.g. a string for 'Str', a list of
+ - ``value`` is the contents of the object (e.g. a string for 'Str', a list
of
inline elements for 'Para')
- ``format`` is the target output format (as supplied by the
``format`` argument of ``walk``)
@@ -120,8 +119,9 @@
- ``attributes(attrs)``
Returns an attribute list, constructed from the dictionary attrs.
+
How to use
---------------
+----------
Most users will only need ``toJSONFilter``. Here is a simple example
of its use::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandocfilters-1.4.1/pandocfilters.py
new/pandocfilters-1.4.2/pandocfilters.py
--- old/pandocfilters-1.4.1/pandocfilters.py 2016-11-09 20:37:09.000000000
+0100
+++ new/pandocfilters-1.4.2/pandocfilters.py 2016-12-24 15:43:04.000000000
+0100
@@ -102,7 +102,7 @@
list is merged with the neighbors of the orignal objects (spliced into
the list the original object belongs to); returning an empty list deletes
the object
-"""
+ """
if isinstance(x, list):
array = []
for item in x:
@@ -245,7 +245,7 @@
elif len(args) == 1:
xs = args[0]
else:
- xs = args
+ xs = list(args)
return {'t': eltType, 'c': xs}
return fun
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandocfilters-1.4.1/setup.py
new/pandocfilters-1.4.2/setup.py
--- old/pandocfilters-1.4.1/setup.py 2016-11-09 20:37:09.000000000 +0100
+++ new/pandocfilters-1.4.2/setup.py 2017-08-08 05:42:56.000000000 +0200
@@ -6,7 +6,7 @@
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='pandocfilters',
- version='1.4.1',
+ version='1.4.2',
description='Utilities for writing pandoc filters in python',
long_description=read('README.rst'),
author='John MacFarlane',