Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-autoflake for
openSUSE:Factory checked in at 2022-08-29 15:16:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autoflake (Old)
and /work/SRC/openSUSE:Factory/.python-autoflake.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autoflake"
Mon Aug 29 15:16:32 2022 rev:8 rq:999934 version:1.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autoflake/python-autoflake.changes
2022-02-23 16:27:12.703510465 +0100
+++
/work/SRC/openSUSE:Factory/.python-autoflake.new.2083/python-autoflake.changes
2022-08-29 15:16:33.997989786 +0200
@@ -1,0 +2,13 @@
+Sun Aug 28 10:41:19 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to v1.5.1
+ * support for reading configuration from setup.cfg and
+ pyproject.toml
+ * new flag `--quiet`
+ * drop support for old versions of Python (<3.7)
+ * support for reading contents from stdin (prints the output to
+ stdout, ideal for integration with editors)
+ * support for parallel execution with `--jobs`
+- Skip building Python 3.8: gh#PyCQA/autoflake#100
+
+-------------------------------------------------------------------
Old:
----
autoflake-1.4.tar.gz
New:
----
autoflake-1.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-autoflake.spec ++++++
--- /var/tmp/diff_new_pack.lASU05/_old 2022-08-29 15:16:34.613991026 +0200
+++ /var/tmp/diff_new_pack.lASU05/_new 2022-08-29 15:16:34.617991034 +0200
@@ -16,23 +16,26 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# gh#PyCQA/autoflake#100
+%define skip_python38 1
Name: python-autoflake
-Version: 1.4
+Version: 1.5.1
Release: 0
Summary: Program to removes unused Python imports and variables
License: MIT
URL: https://github.com/myint/autoflake
Source:
https://files.pythonhosted.org/packages/source/a/autoflake/autoflake-%{version}.tar.gz
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module pyflakes >= 1.1.0}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module toml >= 0.10.2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pyflakes >= 1.1.0
+Requires: python-toml >= 0.10.2
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
-BuildRequires: %{python_module pyflakes >= 1.1.0}
%python_subpackages
%description
@@ -48,24 +51,19 @@
%prep
%setup -q -n autoflake-%{version}
+sed -i '1{/env python/d}' autoflake.py
%build
%python_build
%install
%python_install
-
-%{python_expand chmod a-x %{buildroot}%{$python_sitelib}/autoflake.py
-%fdupes %{buildroot}%{$python_sitelib}
-}
-
%python_clone -a %{buildroot}%{_bindir}/autoflake
+%fdupes %{buildroot}%{$python_sitelib}
%check
-export $LANG=en_US.UTF-8
-# gh#PyCQA/autoflake#104
-python310_skiptests='not test_is_literal_or_name'
-%pytest -k "${$python_skiptests}"
+export LANG=en_US.UTF-8
+%pyunittest -v test_autoflake
%post
%python_install_alternative autoflake
@@ -74,9 +72,11 @@
%python_uninstall_alternative autoflake
%files %{python_files}
-%doc AUTHORS.rst README.rst
+%doc AUTHORS.rst README.md
%license LICENSE
%python_alternative %{_bindir}/autoflake
-%{python_sitelib}/*
+%{python_sitelib}/autoflake.py*
+%pycache_only %{python_sitelib}/__pycache__/autoflake*.pyc
+%{python_sitelib}/autoflake-%{version}*-info
%changelog
++++++ autoflake-1.4.tar.gz -> autoflake-1.5.1.tar.gz ++++++
++++ 5352 lines of diff (skipped)