Hello community,

here is the log from the commit of package python-autoflake for 
openSUSE:Factory checked in at 2019-09-16 10:50:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autoflake (Old)
 and      /work/SRC/openSUSE:Factory/.python-autoflake.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-autoflake"

Mon Sep 16 10:50:29 2019 rev:5 rq:730690 version:1.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autoflake/python-autoflake.changes        
2019-05-16 22:11:09.542225209 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autoflake.new.7948/python-autoflake.changes  
    2019-09-16 10:50:36.195170672 +0200
@@ -1,0 +2,6 @@
+Fri Sep 13 11:32:10 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.3.1:
+  * no upstream changelog
+
+-------------------------------------------------------------------

Old:
----
  autoflake-1.3.tar.gz

New:
----
  autoflake-1.3.1.tar.gz

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

Other differences:
------------------
++++++ python-autoflake.spec ++++++
--- /var/tmp/diff_new_pack.Uj3pZT/_old  2019-09-16 10:50:36.979170571 +0200
+++ /var/tmp/diff_new_pack.Uj3pZT/_new  2019-09-16 10:50:36.979170571 +0200
@@ -17,28 +17,22 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:           python-autoflake
-Version:        1.3
+Version:        1.3.1
 Release:        0
-# for license file
-%define tag     44b07bb9dab60a74cb5da0b67cc78b734763785c
 Summary:        Program to removes unused Python imports and variables
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/myint/autoflake
+URL:            https://github.com/myint/autoflake
 Source:         
https://files.pythonhosted.org/packages/source/a/autoflake/autoflake-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module pyflakes >= 1.1.0}
-%endif
 Requires:       python-pyflakes >= 1.1.0
-BuildArch:      noarch
 Requires(post):   update-alternatives
 Requires(postun):  update-alternatives
-
+BuildArch:      noarch
+BuildRequires:  %{python_module pyflakes >= 1.1.0}
 %python_subpackages
 
 %description
@@ -67,11 +61,9 @@
 
 %python_clone -a %{buildroot}%{_bindir}/autoflake
 
-%if %{with test}
 %check
 export $LANG=en_US.UTF-8
 %python_exec setup.py test
-%endif
 
 %post
 %python_install_alternative autoflake
@@ -80,7 +72,6 @@
 %python_uninstall_alternative autoflake
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc AUTHORS.rst README.rst
 %license LICENSE
 %python_alternative %{_bindir}/autoflake

++++++ autoflake-1.3.tar.gz -> autoflake-1.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoflake-1.3/AUTHORS.rst 
new/autoflake-1.3.1/AUTHORS.rst
--- old/autoflake-1.3/AUTHORS.rst       2019-04-21 18:25:39.000000000 +0200
+++ new/autoflake-1.3.1/AUTHORS.rst     2019-06-02 17:57:42.000000000 +0200
@@ -8,4 +8,8 @@
 - Adhika Setya Pramudita (https://github.com/adhikasp)
 - Andrew Dassonville (https://github.com/andrewda)
 - toddrme2178 (https://github.com/toddrme2178)
+- Sebastián Ramírez (https://github.com/tiangolo)
+- Charlie Liu (https://github.com/CLiu13)
+- Nobuhiro Kasai (https://github.com/sh4869)
 - James Curtin (https://github.com/jamescurtin)
+- Sargun Dhillon (https://github.com/sargun)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoflake-1.3/PKG-INFO new/autoflake-1.3.1/PKG-INFO
--- old/autoflake-1.3/PKG-INFO  2019-04-21 18:27:29.000000000 +0200
+++ new/autoflake-1.3.1/PKG-INFO        2019-08-04 17:14:15.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: autoflake
-Version: 1.3
+Version: 1.3.1
 Summary: Removes unused imports and unused variables
 Home-page: https://github.com/myint/autoflake
 Author: Steven Myint
@@ -127,6 +127,8 @@
               --remove-all-unused-imports
                                     remove all unused imports (not just those 
from the
                                     standard library)
+              --ignore-init-module-imports
+                                    exclude __init__.py when removing unused 
imports
               --remove-duplicate-keys
                                     remove all duplicate keys in objects
               --remove-unused-variables
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoflake-1.3/README.rst 
new/autoflake-1.3.1/README.rst
--- old/autoflake-1.3/README.rst        2019-04-21 18:25:39.000000000 +0200
+++ new/autoflake-1.3.1/README.rst      2019-06-02 17:45:00.000000000 +0200
@@ -119,6 +119,8 @@
       --remove-all-unused-imports
                             remove all unused imports (not just those from the
                             standard library)
+      --ignore-init-module-imports
+                            exclude __init__.py when removing unused imports
       --remove-duplicate-keys
                             remove all duplicate keys in objects
       --remove-unused-variables
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoflake-1.3/autoflake.egg-info/PKG-INFO 
new/autoflake-1.3.1/autoflake.egg-info/PKG-INFO
--- old/autoflake-1.3/autoflake.egg-info/PKG-INFO       2019-04-21 
18:27:28.000000000 +0200
+++ new/autoflake-1.3.1/autoflake.egg-info/PKG-INFO     2019-08-04 
17:14:15.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: autoflake
-Version: 1.3
+Version: 1.3.1
 Summary: Removes unused imports and unused variables
 Home-page: https://github.com/myint/autoflake
 Author: Steven Myint
@@ -127,6 +127,8 @@
               --remove-all-unused-imports
                                     remove all unused imports (not just those 
from the
                                     standard library)
+              --ignore-init-module-imports
+                                    exclude __init__.py when removing unused 
imports
               --remove-duplicate-keys
                                     remove all duplicate keys in objects
               --remove-unused-variables
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoflake-1.3/autoflake.py 
new/autoflake-1.3.1/autoflake.py
--- old/autoflake-1.3/autoflake.py      2019-04-21 18:26:12.000000000 +0200
+++ new/autoflake-1.3.1/autoflake.py    2019-08-04 17:13:52.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-# Copyright (C) 2012-2018 Steven Myint
+# Copyright (C) 2012-2019 Steven Myint
 #
 # Permission is hereby granted, free of charge, to any person obtaining
 # a copy of this software and associated documentation files (the
@@ -43,7 +43,7 @@
 import pyflakes.reporter
 
 
-__version__ = '1.3'
+__version__ = '1.3.1'
 
 
 ATOMS = frozenset([tokenize.NAME, tokenize.NUMBER, tokenize.STRING])
@@ -665,7 +665,7 @@
             standard_out.write(''.join(diff))
     else:
         if args.check:
-            standard_out.write('No issues detected!')
+            standard_out.write('No issues detected!\n')
 
 
 def open_with_encoding(filename, encoding, mode='r',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoflake-1.3/test_autoflake.py 
new/autoflake-1.3.1/test_autoflake.py
--- old/autoflake-1.3/test_autoflake.py 2019-04-21 18:25:39.000000000 +0200
+++ new/autoflake-1.3.1/test_autoflake.py       2019-06-02 17:53:59.000000000 
+0200
@@ -1362,7 +1362,7 @@
             autoflake._main(argv=['my_fake_program', '--check', filename],
                             standard_out=output_file,
                             standard_error=None)
-            self.assertEqual('No issues detected!', output_file.getvalue())
+            self.assertEqual('No issues detected!\n', output_file.getvalue())
 
     def test_check_correct_file(self):
         with temporary_file("""\
@@ -1374,7 +1374,7 @@
             autoflake._main(argv=['my_fake_program', '--check', filename],
                             standard_out=output_file,
                             standard_error=None)
-            self.assertEqual('No issues detected!', output_file.getvalue())
+            self.assertEqual('No issues detected!\n', output_file.getvalue())
 
     def test_check_useless_pass(self):
         with temporary_file("""\


Reply via email to