forked from pool/python-flake8-class-newline
Accepting request 1280600 from devel:languages:python
Forwarded request #1280546 from mcalabkova - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1280600 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-class-newline?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 12:01:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 06:46:49 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-class-newline
|
||||
#
|
||||
# Copyright (c) 2021 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
|
||||
@@ -20,21 +20,22 @@
|
||||
Name: python-flake8-class-newline
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Flake8 lint for newline after class definitions
|
||||
URL: https://github.com/AlexanderVanEck/flake8-class-newline
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/AlexanderVanEck/flake8-class-newline
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-class-newline/flake8-class-newline-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-flake8
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-flake8
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -44,10 +45,10 @@ Flake8 Extension to lint for a method newline after a Class definition
|
||||
%setup -q -n flake8-class-newline-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -56,6 +57,7 @@ Flake8 Extension to lint for a method newline after a Class definition
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/flake8[-_]class[-_]newline
|
||||
%{python_sitelib}/flake8[-_]class[-_]newline-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user