Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-pep3101 for
openSUSE:Factory checked in at 2023-12-06 23:48:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-pep3101 (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-pep3101.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-pep3101"
Wed Dec 6 23:48:12 2023 rev:4 rq:1131209 version:2.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-flake8-pep3101/python-flake8-pep3101.changes
2022-10-10 18:47:17.207221297 +0200
+++
/work/SRC/openSUSE:Factory/.python-flake8-pep3101.new.25432/python-flake8-pep3101.changes
2023-12-06 23:48:43.676363594 +0100
@@ -1,0 +2,11 @@
+Tue Dec 5 21:09:50 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.1.0:
+ * Drop python 3.7 support.
+ * Test against python 3.12.
+ * Use `pyproject.toml` rather than `setup.py`.
+ * Switch from `setuptools` to `hatchling`.
+ * Switch to `main` branch.
+ * Use `tox` and `pre-commit` to ease project maintenance.
+
+-------------------------------------------------------------------
Old:
----
flake8-pep3101-2.0.0.tar.gz
New:
----
flake8_pep3101-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-pep3101.spec ++++++
--- /var/tmp/diff_new_pack.O9ahN6/_old 2023-12-06 23:48:44.356388171 +0100
+++ /var/tmp/diff_new_pack.O9ahN6/_new 2023-12-06 23:48:44.356388171 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-pep3101
#
-# 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,16 +16,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
Name: python-flake8-pep3101
-Version: 2.0.0
+Version: 2.1.0
Release: 0
Summary: Checks for old string formatting
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/gforcada/flake8-pep3101
-Source:
https://files.pythonhosted.org/packages/source/f/flake8-pep3101/flake8-pep3101-%{version}.tar.gz
-BuildRequires: %{python_module setuptools}
+Source:
https://files.pythonhosted.org/packages/source/f/flake8-pep3101/flake8_pep3101-%{version}.tar.gz
+BuildRequires: %{python_module hatchling}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8 >= 3.0
@@ -41,13 +43,13 @@
Checks for old string formatting.
%prep
-%autosetup -p1 -n flake8-pep3101-%{version}
+%autosetup -p1 -n flake8_pep3101-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,5 +58,7 @@
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/flake8_pep3101.py
+%pycache_only %{python_sitelib}/__pycache__/flake8_pep3101*
+%{python_sitelib}/flake8_pep3101-%{version}.dist-info