2018-05-09 13:50:37 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-flake8-docstrings
|
|
|
|
|
#
|
2020-01-10 15:02:56 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-05-09 13:50:37 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-12-04 13:27:34 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-09 13:50:37 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
Name: python-flake8-docstrings
|
2019-10-08 08:58:56 +00:00
|
|
|
Version: 1.5.0
|
2018-05-09 13:50:37 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Extension for flake8 which uses pydocstyle to check docstrings
|
|
|
|
|
License: MIT
|
2018-12-04 17:13:33 +00:00
|
|
|
URL: https://gitlab.com/pycqa/flake8-docstrings
|
2018-05-09 13:50:37 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/f/flake8-docstrings/flake8-docstrings-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2019-09-13 07:28:36 +00:00
|
|
|
Requires: python-flake8 >= 3
|
2018-05-09 13:50:37 +00:00
|
|
|
Requires: python-flake8-polyfill
|
|
|
|
|
Requires: python-pydocstyle >= 2.1.0
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2018-05-18 18:07:30 +00:00
|
|
|
A module that adds an extension for the pydocstyle tool to flake8.
|
2018-05-09 13:50:37 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n flake8-docstrings-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%doc README.rst
|
2018-12-04 17:13:33 +00:00
|
|
|
%license LICENSE
|
2019-08-04 13:11:30 +00:00
|
|
|
%{python_sitelib}/flake8_docstrings.*
|
2020-01-09 18:57:38 +00:00
|
|
|
%{python_sitelib}/flake8_docstrings-%{version}-py*.egg-info
|
2019-08-04 13:11:30 +00:00
|
|
|
%pycache_only %{python_sitelib}/__pycache__
|
2018-05-09 13:50:37 +00:00
|
|
|
|
|
|
|
|
%changelog
|