Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-pycodestyle for
openSUSE:Factory checked in at 2025-11-12 21:15:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-pycodestyle (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-pycodestyle.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-pycodestyle"
Wed Nov 12 21:15:30 2025 rev:10 rq:1317317 version:2.5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-pycodestyle/python-pytest-pycodestyle.changes
2025-11-10 19:22:03.956238796 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-pycodestyle.new.1980/python-pytest-pycodestyle.changes
2025-11-12 21:16:12.078695878 +0100
@@ -1,0 +2,6 @@
+Wed Nov 12 09:49:16 UTC 2025 - Daniel Garcia <[email protected]>
+
+- Add support-old-pyproject.patch instead of sed command to support
+ old license format in pyproject.toml
+
+-------------------------------------------------------------------
New:
----
support-old-pyproject.patch
----------(New B)----------
New:
- Add support-old-pyproject.patch instead of sed command to support
old license format in pyproject.toml
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-pycodestyle.spec ++++++
--- /var/tmp/diff_new_pack.EyP7BC/_old 2025-11-12 21:16:12.890729915 +0100
+++ /var/tmp/diff_new_pack.EyP7BC/_new 2025-11-12 21:16:12.890729915 +0100
@@ -24,6 +24,9 @@
License: MIT
URL: https://github.com/henry0312/pytest-pycodestyle
Source:
https://files.pythonhosted.org/packages/source/p/pytest-pycodestyle/pytest_pycodestyle-%{version}.tar.gz
+# Needed to build correctly in sle-15 with python3.11
+# PATCH-FIX-OPENSUSE support-old-pyproject.patch -- [email protected]
+Patch0: support-old-pyproject.patch
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycodestyle}
@@ -34,10 +37,8 @@
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-py
Requires: python-pycodestyle
Requires: python-pytest
-Requires: python-setuptools
Provides: python-pytest-codestyle = %{version}
Obsoletes: python-pytest-codestyle < %{version}
BuildArch: noarch
@@ -47,10 +48,7 @@
pytest plugin to run pycodestyle in python tests
%prep
-%setup -q -n pytest_pycodestyle-%{version}
-%if 0%{?suse_version} <= 1500
-sed -i 's/license = "MIT"/license = { text = "MIT" }/' pyproject.toml
-%endif
+%autosetup -p1 -n pytest_pycodestyle-%{version}
%build
%pyproject_wheel
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.EyP7BC/_old 2025-11-12 21:16:12.934731759 +0100
+++ /var/tmp/diff_new_pack.EyP7BC/_new 2025-11-12 21:16:12.938731927 +0100
@@ -1,6 +1,6 @@
-mtime: 1762786147
-commit: f4663b8d48d50867965a7cb1a63284e448e7c6d8bb4c9569d406c194699b79d7
+mtime: 1762941005
+commit: e7baf79d43083399434c18a9e0aebf4733591cdbd7877074c8c6e1bdef8b17e9
url: https://src.opensuse.org/python-pytest/python-pytest-pycodestyle.git
-revision: f4663b8d48d50867965a7cb1a63284e448e7c6d8bb4c9569d406c194699b79d7
+revision: e7baf79d43083399434c18a9e0aebf4733591cdbd7877074c8c6e1bdef8b17e9
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2025-11-12 14:17:42.000000000 +0100
@@ -0,0 +1 @@
+.osc
++++++ support-old-pyproject.patch ++++++
Index: pytest_pycodestyle-2.5.0/pyproject.toml
===================================================================
--- pytest_pycodestyle-2.5.0.orig/pyproject.toml
+++ pytest_pycodestyle-2.5.0/pyproject.toml
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
name = "pytest-pycodestyle"
description = "pytest plugin to run pycodestyle"
readme = "README.md"
-license = "MIT"
+license = { text = "MIT" }
authors = [
{ name = "OMOTO Tsukasa", email = "[email protected]" }
]