Hello community,

here is the log from the commit of package python-pyaml for openSUSE:Factory 
checked in at 2018-09-03 10:34:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyaml (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyaml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyaml"

Mon Sep  3 10:34:31 2018 rev:2 rq:632475 version:17.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyaml/python-pyaml.changes        
2018-01-10 23:29:54.882815039 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyaml.new/python-pyaml.changes   
2018-09-03 10:34:33.332584743 +0200
@@ -1,0 +2,7 @@
+Fri Aug 31 10:43:07 UTC 2018 - Martin Pluskal <[email protected]>
+
+- Update to version 17.12.1:
+  * Internal changes
+- Drop some useless dependencies and conditions
+
+-------------------------------------------------------------------

Old:
----
  pyaml-17.10.0.tar.gz

New:
----
  pyaml-17.12.1.tar.gz

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

Other differences:
------------------
++++++ python-pyaml.spec ++++++
--- /var/tmp/diff_new_pack.qceYG8/_old  2018-09-03 10:34:33.916586249 +0200
+++ /var/tmp/diff_new_pack.qceYG8/_new  2018-09-03 10:34:33.916586249 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyaml
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,33 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:           python-pyaml
-Version:        17.10.0
+Version:        17.12.1
 Release:        0
 Summary:        Produce pretty and readable YAML-serialized data
 License:        WTFPL
 Group:          Development/Languages/Python
-Url:            https://github.com/mk-fg/pretty-yaml
+URL:            https://github.com/mk-fg/pretty-yaml
 Source:         
https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-%{version}.tar.gz
 BuildRequires:  %{python_module PyYAML}
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-%if %{with test}
 BuildRequires:  %{python_module Unidecode}
-%endif
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML
 Recommends:     python-Unidecode
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -55,14 +49,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
 %python_exec setup.py test
-%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc COPYING README.rst
+%license COPYING
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog

++++++ pyaml-17.10.0.tar.gz -> pyaml-17.12.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyaml-17.10.0/PKG-INFO new/pyaml-17.12.1/PKG-INFO
--- old/pyaml-17.10.0/PKG-INFO  2017-10-08 03:33:50.000000000 +0200
+++ new/pyaml-17.12.1/PKG-INFO  2017-12-23 21:27:16.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pyaml
-Version: 17.10.0
+Version: 17.12.1
 Summary: PyYAML-based module to produce pretty and readable YAML-serialized 
data
 Home-page: https://github.com/mk-fg/pretty-yaml
 Author: Mike Kazantsev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyaml-17.10.0/pyaml/__init__.py 
new/pyaml-17.12.1/pyaml/__init__.py
--- old/pyaml-17.10.0/pyaml/__init__.py 2017-08-17 12:01:00.000000000 +0200
+++ new/pyaml-17.12.1/pyaml/__init__.py 2017-12-23 21:26:39.000000000 +0100
@@ -3,7 +3,9 @@
 
 import itertools as it, operator as op, functools as ft
 from collections import defaultdict, OrderedDict, namedtuple
-import os, sys, io, yaml
+import os, sys, io
+
+import yaml
 
 if sys.version_info.major > 2: unicode = str
 
@@ -42,9 +44,11 @@
 
        @staticmethod
        def pyaml_transliterate(string):
-               from unidecode import unidecode
+               if not all(ord(c) < 128 for c in string):
+                       from unidecode import unidecode
+                       string = unidecode(string)
                string_new = ''
-               for ch in unidecode(string):
+               for ch in string:
                        if '0' <= ch <= '9' or 'A' <= ch <= 'Z' or 'a' <= ch <= 
'z' or ch in '-_': string_new += ch
                        else: string_new += '_'
                return string_new.lower()
@@ -71,6 +75,13 @@
 PrettyYAMLDumper.add_representer(set, PrettyYAMLDumper.represent_list)
 PrettyYAMLDumper.add_representer(None, PrettyYAMLDumper.represent_undefined)
 
+if sys.version_info.major >= 3:
+       try: import pathlib
+       except ImportError: pass
+       else:
+               PrettyYAMLDumper.add_representer(
+                       type(pathlib.Path('')), lambda cls,o: 
cls.represent_data(str(o)) )
+
 
 class UnsafePrettyYAMLDumper(PrettyYAMLDumper):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyaml-17.10.0/pyaml.egg-info/PKG-INFO 
new/pyaml-17.12.1/pyaml.egg-info/PKG-INFO
--- old/pyaml-17.10.0/pyaml.egg-info/PKG-INFO   2017-10-08 03:33:50.000000000 
+0200
+++ new/pyaml-17.12.1/pyaml.egg-info/PKG-INFO   2017-12-23 21:27:16.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pyaml
-Version: 17.10.0
+Version: 17.12.1
 Summary: PyYAML-based module to produce pretty and readable YAML-serialized 
data
 Home-page: https://github.com/mk-fg/pretty-yaml
 Author: Mike Kazantsev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyaml-17.10.0/setup.py new/pyaml-17.12.1/setup.py
--- old/pyaml-17.10.0/setup.py  2017-10-08 03:32:37.000000000 +0200
+++ new/pyaml-17.12.1/setup.py  2017-12-23 21:22:03.000000000 +0100
@@ -12,7 +12,7 @@
 setup(
 
        name = 'pyaml',
-       version = '17.10.0',
+       version = '17.12.1',
        author = 'Mike Kazantsev',
        author_email = '[email protected]',
        license = 'WTFPL',


Reply via email to