commit python-flake8-comprehensions for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-flake8-comprehensions for openSUSE:Factory checked in at 2024-02-29 21:50:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8-comprehensions (Old) and /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-flake8-comprehensions" Thu Feb 29 21:50:18 2024 rev:14 rq:1153128 version:3.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8-comprehensions/python-flake8-comprehensions.changes 2023-07-12 17:27:34.522595853 +0200 +++ /work/SRC/openSUSE:Factory/.python-flake8-comprehensions.new.1770/python-flake8-comprehensions.changes 2024-02-29 21:50:37.278575809 +0100 @@ -1,0 +2,6 @@ +Tue Feb 27 19:41:44 UTC 2024 - Ben Greiner <code@bnavigator.de> + +- Add flake8-comprehensions-pr559-notnormalized.patch + gh#adamchainz/flake8-comprehensions#559 + +------------------------------------------------------------------- Old: ---- 3.14.0.tar.gz New: ---- flake8-comprehensions-3.14.0-gh.tar.gz flake8-comprehensions-pr559-notnormalized.patch BETA DEBUG BEGIN: New: - Add flake8-comprehensions-pr559-notnormalized.patch gh#adamchainz/flake8-comprehensions#559 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8-comprehensions.spec ++++++ --- /var/tmp/diff_new_pack.IVkvvQ/_old 2024-02-29 21:50:37.906598961 +0100 +++ /var/tmp/diff_new_pack.IVkvvQ/_new 2024-02-29 21:50:37.910599109 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flake8-comprehensions # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%define skip_python2 1 Name: python-flake8-comprehensions Version: 3.14.0 Release: 0 @@ -24,7 +23,9 @@ License: ISC Group: Development/Languages/Python URL: https://github.com/adamchainz/flake8-comprehensions -Source: https://github.com/adamchainz/flake8-comprehensions/archive/%{version}.tar.gz +Source: https://github.com/adamchainz/flake8-comprehensions/archive/%{version}.tar.gz#/flake8-comprehensions-%{version}-gh.tar.gz +# PATCH-FIX-UPSTREAM flake8-comprehensions-pr559-notnormalized.patch gh#adamchainz/flake8-comprehensions#559 +Patch0: flake8-comprehensions-pr559-notnormalized.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -45,7 +46,7 @@ A flake8 plugin that helps you write better list/set/dict comprehensions. %prep -%setup -q -n flake8-comprehensions-%{version} +%autosetup -p1 -n flake8-comprehensions-%{version} %build %pyproject_wheel @@ -61,5 +62,5 @@ %license LICENSE %doc README.rst %{python_sitelib}/flake8_comprehensions -%{python_sitelib}/flake8_comprehensions-%{version}*-info +%{python_sitelib}/flake8_comprehensions-%{version}.dist-info ++++++ flake8-comprehensions-pr559-notnormalized.patch ++++++ diff -ur flake8-comprehensions-3.14.0.orig/tests/test_flake8_comprehensions.py flake8-comprehensions-3.14.0/tests/test_flake8_comprehensions.py --- flake8-comprehensions-3.14.0.orig/tests/test_flake8_comprehensions.py 2024-02-27 20:40:03.434499715 +0100 +++ flake8-comprehensions-3.14.0/tests/test_flake8_comprehensions.py 2024-02-27 20:40:14.791498740 +0100 @@ -22,7 +22,7 @@ def test_version(flake8_path): result = flake8_path.run_flake8(["--version"]) - version_regex = r"flake8-comprehensions:( )*" + version("flake8-comprehensions") + version_regex = r"flake8[-_]comprehensions:( )*" + version("flake8-comprehensions") unwrapped = "".join(result.out_lines) assert re.search(version_regex, unwrapped)
participants (1)
-
Source-Sync