forked from pool/python-pytest-pycodestyle
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
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -25,11 +25,13 @@ License: MIT
|
||||
URL: https://github.com/henry0312/pytest-pycodestyle
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-pycodestyle/pytest_pycodestyle-%{version}.tar.gz
|
||||
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
|
||||
@@ -49,10 +51,10 @@ pytest plugin to run pycodestyle in python tests
|
||||
sed -i -e 's:~=:>=:g' setup.py
|
||||
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user