forked from pool/python-pytest-flakes
Accepting request 1275098 from devel:languages:python:pytest
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1275098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-flakes?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 06:49:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 10 21:23:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Mon Jan 10 21:23:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-flakes
|
# spec file for package python-pytest-flakes
|
||||||
#
|
#
|
||||||
# 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,16 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-pytest-flakes
|
Name: python-pytest-flakes
|
||||||
Version: 4.0.5
|
Version: 4.0.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin to check source code with pyflakes
|
Summary: Pytest plugin to check source code with pyflakes
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/asmeurer/pytest-flakes
|
URL: https://github.com/asmeurer/pytest-flakes
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-flakes/pytest-flakes-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-flakes/pytest-flakes-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# Test requirements
|
# Test requirements
|
||||||
BuildRequires: %{python_module pyflakes}
|
BuildRequires: %{python_module pyflakes}
|
||||||
@@ -45,10 +45,10 @@ py.test plugin for efficiently checking python source with pyflakes.
|
|||||||
%setup -q -n pytest-flakes-%{version}
|
%setup -q -n pytest-flakes-%{version}
|
||||||
|
|
||||||
%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
|
||||||
@@ -57,8 +57,8 @@ py.test plugin for efficiently checking python source with pyflakes.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/pytest_flakes.py*
|
%{python_sitelib}/pytest_flakes.py
|
||||||
%pycache_only %{python_sitelib}/__pycache__/pytest_flakes.*
|
%pycache_only %{python_sitelib}/__pycache__/pytest_flakes.*pyc
|
||||||
%{python_sitelib}/pytest_flakes-%{version}-py*.egg-info
|
%{python_sitelib}/pytest_flakes-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user