Hello community,
here is the log from the commit of package python-autoflake for
openSUSE:Factory checked in at 2019-02-11 21:28:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autoflake (Old)
and /work/SRC/openSUSE:Factory/.python-autoflake.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autoflake"
Mon Feb 11 21:28:04 2019 rev:3 rq:673161 version:1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autoflake/python-autoflake.changes
2018-12-12 17:26:11.927051011 +0100
+++
/work/SRC/openSUSE:Factory/.python-autoflake.new.28833/python-autoflake.changes
2019-02-11 21:28:07.594991826 +0100
@@ -1,0 +2,12 @@
+Sun Feb 10 13:50:19 UTC 2019 - John Vandenberg <[email protected]>
+
+- Update to v1.2
+ + Have `standard_paths` look in both platform-specific and
+ platform-independent directories
+ (replaces fix_standard_paths.patch)
+ + Add LICENSE
+ + Drop Python 3.3
+- Remove unnecessary build dependency %pythons
+- Remove unused build dependency 'coverage'
+
+-------------------------------------------------------------------
Old:
----
LICENSE
autoflake-1.1.tar.gz
fix_standard_paths.patch
New:
----
autoflake-1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-autoflake.spec ++++++
--- /var/tmp/diff_new_pack.MG0hKS/_old 2019-02-11 21:28:08.202991497 +0100
+++ /var/tmp/diff_new_pack.MG0hKS/_new 2019-02-11 21:28:08.206991495 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-autoflake
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-autoflake
-Version: 1.1
+Version: 1.2
Release: 0
# for license file
%define tag 44b07bb9dab60a74cb5da0b67cc78b734763785c
@@ -28,15 +28,10 @@
Group: Development/Languages/Python
Url: https://github.com/myint/autoflake
Source:
https://files.pythonhosted.org/packages/source/a/autoflake/autoflake-%{version}.tar.gz
-Source10:
https://raw.githubusercontent.com/myint/autoflake/%{tag}/LICENSE
-# PATCH-FIX-UPSTREAM fix_standard_paths.patch --
https://github.com/myint/autoflake/issues/32
-Patch0: fix_standard_paths.patch
-BuildRequires: %pythons
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
-BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pyflakes >= 1.1.0}
%endif
Requires: python-pyflakes >= 1.1.0
@@ -59,9 +54,6 @@
%prep
%setup -q -n autoflake-%{version}
-cp %{SOURCE10} .
-%patch0 -p1
-sed -i -e '/^#!\//, 1d' autoflake.py
%build
%python_build
++++++ autoflake-1.1.tar.gz -> autoflake-1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/AUTHORS.rst
new/autoflake-1.2/AUTHORS.rst
--- old/autoflake-1.1/AUTHORS.rst 2018-01-07 21:10:36.000000000 +0100
+++ new/autoflake-1.2/AUTHORS.rst 2018-02-15 03:01:06.000000000 +0100
@@ -7,3 +7,4 @@
- tell-k (https://github.com/tell-k)
- Adhika Setya Pramudita (https://github.com/adhikasp)
- Andrew Dassonville (https://github.com/andrewda)
+- toddrme2178 (https://github.com/toddrme2178)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/LICENSE new/autoflake-1.2/LICENSE
--- old/autoflake-1.1/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/autoflake-1.2/LICENSE 2018-05-09 16:06:15.000000000 +0200
@@ -0,0 +1,19 @@
+Copyright (C) 2012-2018 Steven Myint
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/MANIFEST.in
new/autoflake-1.2/MANIFEST.in
--- old/autoflake-1.1/MANIFEST.in 2017-04-19 15:41:00.000000000 +0200
+++ new/autoflake-1.2/MANIFEST.in 2018-05-09 16:06:34.000000000 +0200
@@ -1,4 +1,5 @@
include AUTHORS.rst
+include LICENSE
include README.rst
include test_autoflake.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/PKG-INFO new/autoflake-1.2/PKG-INFO
--- old/autoflake-1.1/PKG-INFO 2018-01-12 21:37:18.000000000 +0100
+++ new/autoflake-1.2/PKG-INFO 2018-05-09 16:09:31.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: autoflake
-Version: 1.1
+Version: 1.2
Summary: Removes unused imports and unused variables
Home-page: https://github.com/myint/autoflake
Author: Steven Myint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/autoflake.egg-info/PKG-INFO
new/autoflake-1.2/autoflake.egg-info/PKG-INFO
--- old/autoflake-1.1/autoflake.egg-info/PKG-INFO 2018-01-12
21:37:18.000000000 +0100
+++ new/autoflake-1.2/autoflake.egg-info/PKG-INFO 2018-05-09
16:09:30.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: autoflake
-Version: 1.1
+Version: 1.2
Summary: Removes unused imports and unused variables
Home-page: https://github.com/myint/autoflake
Author: Steven Myint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/autoflake.egg-info/SOURCES.txt
new/autoflake-1.2/autoflake.egg-info/SOURCES.txt
--- old/autoflake-1.1/autoflake.egg-info/SOURCES.txt 2018-01-12
21:37:18.000000000 +0100
+++ new/autoflake-1.2/autoflake.egg-info/SOURCES.txt 2018-05-09
16:09:31.000000000 +0200
@@ -1,4 +1,5 @@
AUTHORS.rst
+LICENSE
MANIFEST.in
README.rst
autoflake.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autoflake-1.1/autoflake.py
new/autoflake-1.2/autoflake.py
--- old/autoflake-1.1/autoflake.py 2018-01-12 21:36:41.000000000 +0100
+++ new/autoflake-1.2/autoflake.py 2018-05-09 16:08:59.000000000 +0200
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-# Copyright (C) 2012-2017 Steven Myint
+# Copyright (C) 2012-2018 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.1'
+__version__ = '1.2'
ATOMS = frozenset([tokenize.NAME, tokenize.NUMBER, tokenize.STRING])
@@ -68,16 +68,18 @@
def standard_paths():
"""Yield paths to standard modules."""
- path = distutils.sysconfig.get_python_lib(standard_lib=True)
+ for is_plat_spec in [True, False]:
+ path = distutils.sysconfig.get_python_lib(standard_lib=True,
+ plat_specific=is_plat_spec)
- for name in os.listdir(path):
- yield name
-
- try:
- for name in os.listdir(os.path.join(path, 'lib-dynload')):
+ for name in os.listdir(path):
yield name
- except OSError: # pragma: no cover
- pass
+
+ try:
+ for name in os.listdir(os.path.join(path, 'lib-dynload')):
+ yield name
+ except OSError: # pragma: no cover
+ pass
def standard_package_names():