Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-autopep8 for openSUSE:Factory
checked in at 2023-01-23 18:32:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autopep8 (Old)
and /work/SRC/openSUSE:Factory/.python-autopep8.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autopep8"
Mon Jan 23 18:32:38 2023 rev:25 rq:1060375 version:2.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autopep8/python-autopep8.changes
2021-11-10 21:46:23.103809802 +0100
+++
/work/SRC/openSUSE:Factory/.python-autopep8.new.32243/python-autopep8.changes
2023-01-23 18:32:48.976414224 +0100
@@ -1,0 +2,18 @@
+Sat Jan 21 18:45:56 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 2.0.1
+ * require pycodestyle 2.10.0 and higher version by @hhatto in
+ #659
+ * fix: e265, e266 by @hhatto in #663
+- Release 2.0.0
+ * Fix E265 and E266 confusion and overlap by @PeterJCLaw in #650
+ * Use tomli in place of unmaintained toml package by @mgorny in
+ #629
+ * fix: special case of auto value with flake8 config by @hhatto
+ in #653
+- Release 1.7.0
+ * Require pycodestyle 2.9.1 and higher version ( Thanks
+ @heavenshell)
+ * Drop support Python2.7
+
+-------------------------------------------------------------------
Old:
----
autopep8-1.6.0.tar.gz
New:
----
autopep8-2.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-autopep8.spec ++++++
--- /var/tmp/diff_new_pack.bG6xu9/_old 2023-01-23 18:32:49.632418764 +0100
+++ /var/tmp/diff_new_pack.bG6xu9/_new 2023-01-23 18:32:49.640418819 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-autopep8
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,25 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-autopep8
-Version: 1.6.0
+Version: 2.0.1
Release: 0
Summary: Automatic generated to pep8 checked code
License: MIT
Group: Development/Languages/Python
URL: https://github.com/hhatto/autopep8
Source:
https://files.pythonhosted.org/packages/source/a/autopep8/autopep8-%{version}.tar.gz
+BuildRequires: %{python_module base >= 3.6}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycodestyle >= 2.8}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module toml}
+BuildRequires: %{python_module tomli if %python-base < 3.11}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
-Requires: python-pycodestyle >= 2.8
-Requires: python-setuptools
-Requires: python-toml
+Requires: python-pycodestyle >= 2.10.0
+%if %{python_version_nodots} < 311
+Requires: python-tomli
+%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
@@ -46,10 +49,10 @@
sed -i '1s/^#!.*//' autopep8.py # Remove she-bang line
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/autopep8
%check
@@ -73,6 +76,6 @@
%python_alternative %{_bindir}/autopep8
%pycache_only %{python_sitelib}/__pycache__/*
%{python_sitelib}/autopep8.py*
-%{python_sitelib}/autopep8-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/autopep8-%{version}.dist-info
%changelog
++++++ autopep8-1.6.0.tar.gz -> autopep8-2.0.1.tar.gz ++++++
++++ 3246 lines of diff (skipped)