52 lines
1.5 KiB
RPMSpec
52 lines
1.5 KiB
RPMSpec
|
|
Name: python-pydocstyle
|
||
|
|
Version: 6.1.1
|
||
|
|
Release: 1
|
||
|
|
Summary: Python docstring style checker
|
||
|
|
License: MIT
|
||
|
|
URL: https://github.com/PyCQA/pydocstyle/
|
||
|
|
Source0: https://github.com/PyCQA/pydocstyle/archive/refs/tags/6.1.1.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description
|
||
|
|
pydocstyle is a static analysis tool for checking compliance with Python docstring conventions.
|
||
|
|
pydocstyle supports most of PEP 257 out of the box, but it should not be considered a reference implementation.
|
||
|
|
|
||
|
|
%package -n python3-pydocstyle
|
||
|
|
Summary: Python docstring style checker
|
||
|
|
Provides: python-pydocstyle
|
||
|
|
Requires: python3-snowballstemmer python3-toml
|
||
|
|
BuildRequires: python3-devel python3-setuptools
|
||
|
|
|
||
|
|
%description -n python3-pydocstyle
|
||
|
|
pydocstyle is a static analysis tool for checking compliance with Python docstring conventions.
|
||
|
|
pydocstyle supports most of PEP 257 out of the box, but it should not be considered a reference implementation.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Development documents and examples for pydocstyle
|
||
|
|
Requires: python3-pydocstyle
|
||
|
|
Provides: python3-pydocstyle-doc
|
||
|
|
|
||
|
|
%description help
|
||
|
|
Documentation for python3-pydocstyle.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n pydocstyle-6.1.1
|
||
|
|
|
||
|
|
%build
|
||
|
|
%py3_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py3_install
|
||
|
|
|
||
|
|
%files -n python3-pydocstyle
|
||
|
|
%{_bindir}/pydocstyle
|
||
|
|
%{python3_sitelib}/pydocstyle
|
||
|
|
%{python3_sitelib}/pydocstyle-6.1.1-py%{python3_version}.egg-info
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%doc docs
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Fri Jul 16 2021 Kou Wenqi <kouwenqi@kylinos.cn> - 6.1.1-1
|
||
|
|
- Init package
|