commit python-flake8-pep3101 for openSUSE:Factory

2023-12-06 Thread Source-Sync
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 
+
+- 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
 


commit python-flake8-pep3101 for openSUSE:Factory

2022-10-10 Thread Source-Sync
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 2022-10-10 18:46:52

Comparing /work/SRC/openSUSE:Factory/python-flake8-pep3101 (Old)
 and  /work/SRC/openSUSE:Factory/.python-flake8-pep3101.new.2275 (New)


Package is "python-flake8-pep3101"

Mon Oct 10 18:46:52 2022 rev:3 rq:1008957 version:2.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-flake8-pep3101/python-flake8-pep3101.changes  
2020-04-16 23:05:03.995771627 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-pep3101.new.2275/python-flake8-pep3101.changes
2022-10-10 18:47:17.207221297 +0200
@@ -1,0 +2,16 @@
+Sat Oct  8 16:43:35 UTC 2022 - Daniel Garcia 
+
+- Update to 2.0.0:
+  * Update dependencies. [gforcada]
+  * Test the code on GitHub actions. [gforcada]
+  * Drop python 2.7 and only support python 3.7+. [gforcada]
+  * Use linters and formatters to keep code sane and beautiful. [gforcada]
+  * Simplify the amount of code to write a test. [gforcada]
+- Delete 29.patch, not needed anymore
+
+---
+Tue Oct  4 16:20:28 UTC 2022 - Daniel Garcia 
+
+- Add 29.patch to fix tests
+
+---

Old:

  flake8-pep3101-1.3.0.tar.gz

New:

  flake8-pep3101-2.0.0.tar.gz



Other differences:
--
++ python-flake8-pep3101.spec ++
--- /var/tmp/diff_new_pack.G3iRGc/_old  2022-10-10 18:47:17.63528 +0200
+++ /var/tmp/diff_new_pack.G3iRGc/_new  2022-10-10 18:47:17.64346 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flake8-pep3101
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-flake8-pep3101
-Version:1.3.0
+Version:2.0.0
 Release:0
 Summary:Checks for old string formatting
 License:GPL-2.0-only
@@ -41,7 +41,7 @@
 Checks for old string formatting.
 
 %prep
-%setup -q -n flake8-pep3101-%{version}
+%autosetup -p1 -n flake8-pep3101-%{version}
 
 %build
 %python_build
@@ -55,7 +55,7 @@
 
 %files %{python_files}
 %doc CHANGES.rst README.rst
-%license LICENSE LICENSE.rst
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog

++ flake8-pep3101-1.3.0.tar.gz -> flake8-pep3101-2.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pep3101-1.3.0/CHANGES.rst 
new/flake8-pep3101-2.0.0/CHANGES.rst
--- old/flake8-pep3101-1.3.0/CHANGES.rst2019-12-15 00:32:11.0 
+0100
+++ new/flake8-pep3101-2.0.0/CHANGES.rst2022-10-08 18:13:28.0 
+0200
@@ -3,6 +3,19 @@
 Changelog
 =
 
+2.0.0 (2022-10-08)
+--
+
+- Update dependencies. [gforcada]
+
+- Test the code on GitHub actions. [gforcada]
+
+- Drop python 2.7 and only support python 3.7+. [gforcada]
+
+- Use linters and formatters to keep code sane and beautiful. [gforcada]
+
+- Simplify the amount of code to write a test. [gforcada]
+
 1.3.0 (2019-12-15)
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pep3101-1.3.0/LICENSE.rst 
new/flake8-pep3101-2.0.0/LICENSE.rst
--- old/flake8-pep3101-1.3.0/LICENSE.rst2019-12-15 00:32:11.0 
+0100
+++ new/flake8-pep3101-2.0.0/LICENSE.rst1970-01-01 01:00:00.0 
+0100
@@ -1,17 +0,0 @@
-.. -*- coding: utf-8 -*-
-
-flake8-pep3101 Copyright 2015, Gil Forcada
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 2
-as published by the Free Software Foundation.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-MA 02111-1307 USA.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flake8-pep3101-1.3.0/MANIFEST.in 
new/flake8-pep3101-2.0.0/MANIFEST.in
--- old/flake8-pep3101-1.3.0/MANIFEST.in2019-12-15 00:32:11.0 
+0100
+++ new/flake8-pep3101-2.0.0/MANIFEST.in1970-01-01 01:00:00.0 
+0100
@@ -1,3 +0,0 @@
-include MANIFEST.in LICENSE *.rst *.p