forked from pool/python-flake8-debugger
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
4ed4cc0667 | |||
8265c13fcc |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 17 04:14:45 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 21 10:32:02 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue May 21 10:32:02 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-flake8-debugger
|
# spec file for package python-flake8-debugger
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 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,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%global skip_python2 1
|
|
||||||
Name: python-flake8-debugger
|
Name: python-flake8-debugger
|
||||||
Version: 4.1.2
|
Version: 4.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -29,6 +27,8 @@ Source1: LICENSE
|
|||||||
Source2: https://raw.githubusercontent.com/JBKahn/flake8-debugger/4.0.0/test_linter.py
|
Source2: https://raw.githubusercontent.com/JBKahn/flake8-debugger/4.0.0/test_linter.py
|
||||||
# https://github.com/JBKahn/flake8-debugger/issues/28
|
# https://github.com/JBKahn/flake8-debugger/issues/28
|
||||||
Patch1: pycodestyle-indent-size.patch
|
Patch1: pycodestyle-indent-size.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -37,6 +37,8 @@ BuildRequires: %{python_module flake8 >= 1.5}
|
|||||||
BuildRequires: %{python_module pycodestyle}
|
BuildRequires: %{python_module pycodestyle}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
Requires: python-flake8 >= 1.5
|
||||||
|
Requires: python-pycodestyle
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -49,10 +51,10 @@ cp %{SOURCE2} .
|
|||||||
%patch -P 1 -p1
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%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,6 +63,8 @@ cp %{SOURCE2} .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/flake8_debugger.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/flake8_debugger.*.pyc
|
||||||
|
%{python_sitelib}/flake8_debugger-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user