1
0

Compare commits

10 Commits

Author SHA256 Message Date
e7baf79d43 Add support-old-pyproject.patch
Use a patch instead of sed command to support old license format in
pyproject.toml
2025-11-12 10:50:05 +01:00
f4663b8d48 Remove trailing whitespaces from changes 2025-11-10 15:49:07 +01:00
316fce3ded Make it work in 15.6 2025-11-10 09:53:41 +01:00
Marius Grossu
33807b88c9 Update to version 2.5.0 2025-11-07 16:07:54 +01:00
767e477071 Accepting request 1275109 from devel:languages:python:pytest
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1275109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-pycodestyle?expand=0&rev=8
2025-05-07 17:19:30 +00:00
9bbd86a27d - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pycodestyle?expand=0&rev=16
2025-05-07 07:05:40 +00:00
33845eb00e Accepting request 1243190 from devel:languages:python:pytest
- update to 2.4.1:
  * Test with Python 3.14-dev
  * Update checkout to v4 and setup-python to v5
  * Update `pytest_collect_file` hook to remove deprecated `path`
    argument
- update to 2.4.0:
  * Test with Python 3.12-dev
  * Test with Python 3.12 and 3.13-dev
  * Support Python 3.13

- Enable python-pytest-pycodestyle.
- Remove python_module macro definition

OBS-URL: https://build.opensuse.org/request/show/1243190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-pycodestyle?expand=0&rev=7
2025-02-04 18:35:04 +00:00
855546b92d - update to 2.4.1:
* Test with Python 3.14-dev
  * Update checkout to v4 and setup-python to v5
  * Update `pytest_collect_file` hook to remove deprecated `path`
    argument
- update to 2.4.0:
  * Test with Python 3.12-dev
  * Test with Python 3.12 and 3.13-dev
  * Support Python 3.13
- Enable python-pytest-pycodestyle.
- Remove python_module macro definition

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pycodestyle?expand=0&rev=14
2025-02-04 17:03:17 +00:00
99e9ed1525 Accepting request 1218370 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1218370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-pycodestyle?expand=0&rev=6
2024-10-27 10:24:57 +00:00
7da72ac498 Accepting request 1218131 from home:yeey:OpenWebUI
SUSE AI requires a more recent version

OBS-URL: https://build.opensuse.org/request/show/1218131
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pycodestyle?expand=0&rev=12
2024-10-25 15:04:39 +00:00
5 changed files with 68 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2901327b8e6beab90298a9803074483efe560e191bef81d9e18119b141222830
size 5188

BIN
pytest_pycodestyle-2.5.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Wed Nov 12 09:49:16 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Add support-old-pyproject.patch instead of sed command to support
old license format in pyproject.toml
-------------------------------------------------------------------
Fri Nov 7 15:04:58 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- update to 2.5.0:
* Migrate from setup.py to pyproject.toml
* Remove py.io dependency
- removed the setup.py in spec files
-------------------------------------------------------------------
Wed May 7 06:58:09 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Feb 4 17:02:50 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.4.1:
* Test with Python 3.14-dev
* Update checkout to v4 and setup-python to v5
* Update `pytest_collect_file` hook to remove deprecated `path`
argument
- update to 2.4.0:
* Test with Python 3.12-dev
* Test with Python 3.12 and 3.13-dev
* Support Python 3.13
-------------------------------------------------------------------
Thu Sep 26 22:38:15 UTC 2024 - Guang Yee <gyee@suse.com>
- Enable python-pytest-pycodestyle.
-------------------------------------------------------------------
Wed Nov 30 11:33:22 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-pycodestyle
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,29 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pytest-pycodestyle
Version: 2.3.1
Version: 2.5.0
Release: 0
Summary: Pytest plugin to run pycodestyle
License: MIT
URL: https://github.com/henry0312/pytest-pycodestyle
Source: https://files.pythonhosted.org/packages/source/p/pytest-pycodestyle/pytest-pycodestyle-%{version}.tar.gz
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 -- daniel.garcia@suse.com
Patch0: support-old-pyproject.patch
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycodestyle}
BuildRequires: %{python_module pytest >= 5.4}
BuildRequires: %{python_module pytest-isort}
BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools}
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
@@ -45,14 +48,13 @@ BuildArch: noarch
pytest plugin to run pycodestyle in python tests
%prep
%setup -q -n pytest-pycodestyle-%{version}
sed -i -e 's:~=:>=:g' setup.py
%autosetup -p1 -n pytest_pycodestyle-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -61,8 +63,8 @@ sed -i -e 's:~=:>=:g' setup.py
%files %{python_files}
%doc README.md
%license LICENSE
%pycache_only %{python_sitelib}/__pycache__/*.pyc
%pycache_only %{python_sitelib}/__pycache__/pytest_pycodestyle*.pyc
%{python_sitelib}/pytest_pycodestyle.py
%{python_sitelib}/pytest_pycodestyle-%{version}*-info
%{python_sitelib}/pytest_pycodestyle-%{version}.dist-info
%changelog

View File

@@ -0,0 +1,13 @@
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 = "tsukasa@oomo.to" }
]