forked from pool/python-flake8-quotes
Accepting request 1280545 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1280545 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-quotes?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 12:07:51 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 20:20:38 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-quotes
|
||||
#
|
||||
# Copyright (c) 2024 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,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global skip_python2 1
|
||||
Name: python-flake8-quotes
|
||||
Version: 3.4.0
|
||||
Release: 0
|
||||
@@ -27,8 +25,10 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/zheller/flake8-quotes/
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-quotes/flake8-quotes-%{version}.tar.gz
|
||||
BuildRequires: %{python_module flake8 >= 3.5.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-flake8 >= 3.3.0
|
||||
@@ -42,10 +42,10 @@ Flake8 Extension to lint for quotes.
|
||||
%setup -q -n flake8-quotes-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -57,7 +57,7 @@ Flake8 Extension to lint for quotes.
|
||||
%license LICENSE
|
||||
%dir %{python_sitelib}/flake8_quotes
|
||||
%{python_sitelib}/flake8_quotes/*
|
||||
%dir %{python_sitelib}/flake8_quotes-%{version}-py*.egg-info
|
||||
%{python_sitelib}/flake8_quotes-%{version}-py*.egg-info
|
||||
%dir %{python_sitelib}/flake8_quotes-%{version}*-info
|
||||
%{python_sitelib}/flake8_quotes-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user