Hello community,

here is the log from the commit of package python-metaextract for 
openSUSE:Factory checked in at 2016-10-28 10:46:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-metaextract (Old)
 and      /work/SRC/openSUSE:Factory/.python-metaextract.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-metaextract"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-metaextract/python-metaextract.changes    
2016-10-13 11:27:48.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-metaextract.new/python-metaextract.changes   
    2016-10-28 10:46:15.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Aug 29 17:55:42 UTC 2016 - [email protected]
+
+update to version 0.0.7
+  * Sort some of the data keys
+  * Post release version bump to 0.0.7
+  * Sort json dump by key
+
+-------------------------------------------------------------------

Old:
----
  metaextract-0.0.6.tar.gz

New:
----
  metaextract-0.0.7.tar.gz

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

Other differences:
------------------
++++++ python-metaextract.spec ++++++
--- /var/tmp/diff_new_pack.BZi2DN/_old  2016-10-28 10:46:16.000000000 +0200
+++ /var/tmp/diff_new_pack.BZi2DN/_new  2016-10-28 10:46:16.000000000 +0200
@@ -13,19 +13,20 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:           python-metaextract
-Version:        0.0.6
+Version:        0.0.7
 Release:        0
-License:        Apache-2.0
 Summary:        get metadata for python modules
-Url:            http://github.com/toabctl/metaextract
+License:        Apache-2.0
 Group:          Development/Languages/Python
+Url:            http://github.com/toabctl/metaextract
 Source:         
https://pypi.io/packages/source/m/metaextract/metaextract-%{version}.tar.gz
 BuildRequires:  python-devel
-BuildRequires:  python-setuptools
 BuildRequires:  python-pytest-runner
+BuildRequires:  python-setuptools
 Requires:       python-setuptools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch

++++++ metaextract-0.0.6.tar.gz -> metaextract-0.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/PKG-INFO 
new/metaextract-0.0.7/PKG-INFO
--- old/metaextract-0.0.6/PKG-INFO      2016-08-28 08:07:24.000000000 +0200
+++ new/metaextract-0.0.7/PKG-INFO      2016-08-29 19:39:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 0.0.6
+Version: 0.0.7
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/metaextract/metaextract.py 
new/metaextract-0.0.7/metaextract/metaextract.py
--- old/metaextract-0.0.6/metaextract/metaextract.py    2016-08-28 
08:07:07.000000000 +0200
+++ new/metaextract-0.0.7/metaextract/metaextract.py    2016-08-29 
19:39:00.000000000 +0200
@@ -63,6 +63,7 @@
 
         if self.output:
             with open(self.output, "w+") as f:
-                f.write(json.dumps(data_with_version, indent=2))
+                f.write(json.dumps(data_with_version, indent=2,
+                                   sort_keys=True))
         else:
-            print(json.dumps(data_with_version, indent=2))
+            print(json.dumps(data_with_version, indent=2, sort_keys=True))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/metaextract/utils.py 
new/metaextract-0.0.7/metaextract/utils.py
--- old/metaextract-0.0.6/metaextract/utils.py  2016-08-28 08:07:07.000000000 
+0200
+++ new/metaextract-0.0.7/metaextract/utils.py  2016-08-29 19:39:00.000000000 
+0200
@@ -110,6 +110,13 @@
         # read json file and return data
         with open(output_json.name, "r") as f:
             data = json.loads(f.read())
+
+        # sort some of the keys if the dict values are lists
+        for key in ['data_files', 'entry_points', 'extras_require',
+                    'install_requires', 'setup_requires', 'scripts',
+                    'tests_require', 'tests_suite']:
+            if key in data['data'] and isinstance(data['data'][key], list):
+                data['data'][key] = sorted(data['data'][key])
     return data
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/metaextract.egg-info/PKG-INFO 
new/metaextract-0.0.7/metaextract.egg-info/PKG-INFO
--- old/metaextract-0.0.6/metaextract.egg-info/PKG-INFO 2016-08-28 
08:07:24.000000000 +0200
+++ new/metaextract-0.0.7/metaextract.egg-info/PKG-INFO 2016-08-29 
19:39:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: metaextract
-Version: 0.0.6
+Version: 0.0.7
 Summary: get metadata for python modules
 Home-page: http://github.com/toabctl/metaextract
 Author: Thomas Bechtold
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metaextract-0.0.6/setup.py 
new/metaextract-0.0.7/setup.py
--- old/metaextract-0.0.6/setup.py      2016-08-28 08:07:07.000000000 +0200
+++ new/metaextract-0.0.7/setup.py      2016-08-29 19:39:00.000000000 +0200
@@ -24,7 +24,7 @@
 
 setuptools.setup(
     name="metaextract",
-    version="0.0.6",
+    version="0.0.7",
     license="Apache-2.0",
     description="get metadata for python modules",
     long_description=long_description,


Reply via email to