forked from pool/python-pytest-pycodestyle
Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e7baf79d43 | |||
| f4663b8d48 | |||
| 316fce3ded | |||
|
|
33807b88c9 | ||
| 767e477071 | |||
| 9bbd86a27d | |||
| 33845eb00e | |||
| 855546b92d | |||
| 99e9ed1525 | |||
| 7da72ac498 |
@@ -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
BIN
pytest_pycodestyle-2.5.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,7 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Wed Nov 30 11:33:22 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
- Remove python_module macro definition
|
- Remove python_module macro definition
|
||||||
- Add python-py dependency
|
- Add python-py dependency
|
||||||
- More specific python_sitelib in %files
|
- More specific python_sitelib in %files
|
||||||
- Update to 2.3.1:
|
- Update to 2.3.1:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-pycodestyle
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: python-pytest-pycodestyle
|
||||||
Version: 2.3.1
|
Version: 2.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin to run pycodestyle
|
Summary: Pytest plugin to run pycodestyle
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/henry0312/pytest-pycodestyle
|
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 base >= 3.6}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pycodestyle}
|
BuildRequires: %{python_module pycodestyle}
|
||||||
BuildRequires: %{python_module pytest >= 5.4}
|
BuildRequires: %{python_module pytest >= 5.4}
|
||||||
BuildRequires: %{python_module pytest-isort}
|
BuildRequires: %{python_module pytest-isort}
|
||||||
BuildRequires: %{python_module py}
|
BuildRequires: %{python_module py}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-py
|
|
||||||
Requires: python-pycodestyle
|
Requires: python-pycodestyle
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
Requires: python-setuptools
|
|
||||||
Provides: python-pytest-codestyle = %{version}
|
Provides: python-pytest-codestyle = %{version}
|
||||||
Obsoletes: python-pytest-codestyle < %{version}
|
Obsoletes: python-pytest-codestyle < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -45,14 +48,13 @@ BuildArch: noarch
|
|||||||
pytest plugin to run pycodestyle in python tests
|
pytest plugin to run pycodestyle in python tests
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-pycodestyle-%{version}
|
%autosetup -p1 -n pytest_pycodestyle-%{version}
|
||||||
sed -i -e 's:~=:>=:g' setup.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -61,8 +63,8 @@ sed -i -e 's:~=:>=:g' setup.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%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.py
|
||||||
%{python_sitelib}/pytest_pycodestyle-%{version}*-info
|
%{python_sitelib}/pytest_pycodestyle-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
13
support-old-pyproject.patch
Normal file
13
support-old-pyproject.patch
Normal 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" }
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user