15
0
Files
python-interrogate/python-interrogate.spec

83 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-interrogate
#
Accepting request 1006809 from home:yarunachalam:branches:devel:languages:python - Update to 1.5.0 (2021-09-10) Added * Set minimum click version (thank you bildzeitung! #81, #82). * Add --omit-covered-files flag to skip reporting fully-covered files (#85). * Add support for different badge styles via new --badge-style flag (#86). * Add 3.10 support! Fixed * Clarify verbose configuration (#83). - Update to 1.4.0 (2021-05-14) Added * Support for generating the status badge as a PNG file with a new --badge-format flag (#70). * Add new option -C / --ignore-nested-classes to ignore – you guessed it – nested classes (#65). * Add new option -S / --ignore-setters to ignore property setter decorators (#68). - Update to 1.3.2 (2020-11-03) * Added * Add wicked cute Sloth logo to status badge (#48). * Testing/support for Python 3.9 – thank you s-weigand! Fixed * Excluding paths are no longer OS-dependent (#51) – thank you oriash93! * Include Python trove classifiers in packaging (#61) – thank you mmtj! Removed * Support for Python 3.5 – thank you s-weigand! - Update to 1.3.1 (2020-09-03) Fixed * Only generate a status badge if results have changed from an existing badge (#40). - Update to 1.3.0 (2020-08-23) Added * Read configuration from pyproject.toml by default (#36). * Add -P / --ignore-property-decorators flag to ignore methods with property getter/setter decorators (#37). * Add support for read configuration from setup.cfg (#35). OBS-URL: https://build.opensuse.org/request/show/1006809 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-interrogate?expand=0&rev=3
2022-09-29 09:05:20 +00:00
# Copyright (c) 2022 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-interrogate
Accepting request 1006809 from home:yarunachalam:branches:devel:languages:python - Update to 1.5.0 (2021-09-10) Added * Set minimum click version (thank you bildzeitung! #81, #82). * Add --omit-covered-files flag to skip reporting fully-covered files (#85). * Add support for different badge styles via new --badge-style flag (#86). * Add 3.10 support! Fixed * Clarify verbose configuration (#83). - Update to 1.4.0 (2021-05-14) Added * Support for generating the status badge as a PNG file with a new --badge-format flag (#70). * Add new option -C / --ignore-nested-classes to ignore – you guessed it – nested classes (#65). * Add new option -S / --ignore-setters to ignore property setter decorators (#68). - Update to 1.3.2 (2020-11-03) * Added * Add wicked cute Sloth logo to status badge (#48). * Testing/support for Python 3.9 – thank you s-weigand! Fixed * Excluding paths are no longer OS-dependent (#51) – thank you oriash93! * Include Python trove classifiers in packaging (#61) – thank you mmtj! Removed * Support for Python 3.5 – thank you s-weigand! - Update to 1.3.1 (2020-09-03) Fixed * Only generate a status badge if results have changed from an existing badge (#40). - Update to 1.3.0 (2020-08-23) Added * Read configuration from pyproject.toml by default (#36). * Add -P / --ignore-property-decorators flag to ignore methods with property getter/setter decorators (#37). * Add support for read configuration from setup.cfg (#35). OBS-URL: https://build.opensuse.org/request/show/1006809 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-interrogate?expand=0&rev=3
2022-09-29 09:05:20 +00:00
Version: 1.5.0
Release: 0
Summary: Interrogate a codebase for docstring coverage
License: MIT
Group: Development/Languages/Python
URL: https://github.com/econchick/interrogate
Source: https://files.pythonhosted.org/packages/source/i/interrogate/interrogate-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs
Requires: python-click
Requires: python-colorama
Requires: python-py
Requires: python-tabulate
Requires: python-toml
Requires(post): update-alternatives
Accepting request 1006809 from home:yarunachalam:branches:devel:languages:python - Update to 1.5.0 (2021-09-10) Added * Set minimum click version (thank you bildzeitung! #81, #82). * Add --omit-covered-files flag to skip reporting fully-covered files (#85). * Add support for different badge styles via new --badge-style flag (#86). * Add 3.10 support! Fixed * Clarify verbose configuration (#83). - Update to 1.4.0 (2021-05-14) Added * Support for generating the status badge as a PNG file with a new --badge-format flag (#70). * Add new option -C / --ignore-nested-classes to ignore – you guessed it – nested classes (#65). * Add new option -S / --ignore-setters to ignore property setter decorators (#68). - Update to 1.3.2 (2020-11-03) * Added * Add wicked cute Sloth logo to status badge (#48). * Testing/support for Python 3.9 – thank you s-weigand! Fixed * Excluding paths are no longer OS-dependent (#51) – thank you oriash93! * Include Python trove classifiers in packaging (#61) – thank you mmtj! Removed * Support for Python 3.5 – thank you s-weigand! - Update to 1.3.1 (2020-09-03) Fixed * Only generate a status badge if results have changed from an existing badge (#40). - Update to 1.3.0 (2020-08-23) Added * Read configuration from pyproject.toml by default (#36). * Add -P / --ignore-property-decorators flag to ignore methods with property getter/setter decorators (#37). * Add support for read configuration from setup.cfg (#35). OBS-URL: https://build.opensuse.org/request/show/1006809 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-interrogate?expand=0&rev=3
2022-09-29 09:05:20 +00:00
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module click}
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py}
BuildRequires: %{python_module tabulate}
BuildRequires: %{python_module toml}
# /SECTION
%python_subpackages
%description
Interrogate a codebase for docstring coverage.
%prep
%setup -q -n interrogate-%{version}
rm tox.ini
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/interrogate
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative interrogate
%postun
%python_uninstall_alternative interrogate
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%python_alternative %{_bindir}/interrogate
%{python_sitelib}/*
%changelog