Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-deprecated for
openSUSE:Factory checked in at 2023-12-06 23:47:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-deprecated (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-deprecated.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-deprecated"
Wed Dec 6 23:47:56 2023 rev:4 rq:1131185 version:2.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-flake8-deprecated/python-flake8-deprecated.changes
2022-12-16 17:51:52.060088980 +0100
+++
/work/SRC/openSUSE:Factory/.python-flake8-deprecated.new.25432/python-flake8-deprecated.changes
2023-12-06 23:48:21.595557291 +0100
@@ -1,0 +2,9 @@
+Tue Dec 5 17:41:25 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.2.1:
+ * Use `pyproject.toml` rather than `setup.py`.
+ * Switch from `setuptools` to `hatchling`.
+ * Drop python 3.7 support.
+ * Fix error message.
+
+-------------------------------------------------------------------
Old:
----
flake8-deprecated-2.0.1.tar.gz
New:
----
flake8_deprecated-2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-deprecated.spec ++++++
--- /var/tmp/diff_new_pack.iNZYTn/_old 2023-12-06 23:48:22.387586490 +0100
+++ /var/tmp/diff_new_pack.iNZYTn/_new 2023-12-06 23:48:22.387586490 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-deprecated
#
-# Copyright (c) 2022 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,17 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
Name: python-flake8-deprecated
-Version: 2.0.1
+Version: 2.2.1
Release: 0
Summary: Flake8 deprecations plugin
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/gforcada/flake8-deprecated
-Source:
https://files.pythonhosted.org/packages/source/f/flake8-deprecated/flake8-deprecated-%{version}.tar.gz
-BuildRequires: %{python_module base >= 3.7}
-BuildRequires: %{python_module setuptools}
+Source:
https://files.pythonhosted.org/packages/source/f/flake8-deprecated/flake8_deprecated-%{version}.tar.gz
+BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module hatchling}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8 >= 5.0.4
@@ -42,13 +44,13 @@
they should be replaced with.
%prep
-%setup -q -n flake8-deprecated-%{version}
+%setup -q -n flake8_deprecated-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,5 +59,7 @@
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
-%{python_sitelib}/*
+%{python_sitelib}/flake8_deprecated.py
+%pycache_only %{python_sitelib}/__pycache__/*
+%{python_sitelib}/flake8_deprecated-%{version}.dist-info