# Created by pyp2rpm-1.0.1 %global pypi_name mccabe Name: python-mccabe Version: 0.7.0 Release: %mkrel 2 Group: Development/Python Summary: McCabe checker, plugin for flake8 License: MIT URL: https://pypi.python.org/pypi/mccabe Source0: %{pypi_source} BuildArch: noarch %description Ned's script to check McCabe complexity. This module provides a plugin for flake8, the Python code checker. %package -n python3-%{pypi_name} Group: Development/Python Summary: McCabe checker, plugin for flake8 BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest-runner BuildRequires: python3dist(setuptools) %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Ned's script to check McCabe complexity. This module provides a plugin for flake8, the Python code checker. %prep %setup -q -n %{pypi_name}-%{version} # drop bundled egg-info rm -rf *.egg-info/ %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %doc LICENSE %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{pypi_name}.py* %{python3_sitelib}/__pycache__/* %changelog * Sun Mar 27 2022 umeabot <umeabot> 0.7.0-2.mga9 + Revision: 1828868 - Mageia 9 Mass Rebuild * Sat Feb 12 2022 wally <wally> 0.7.0-1.mga9 + Revision: 1773563 - new version 0.7.0 - rebuild for python3.10 * Mon Mar 15 2021 wally <wally> 0.6.1-7.mga9 + Revision: 1703063 - rebuild for python 3.9 * Sun Feb 16 2020 umeabot <umeabot> 0.6.1-6.mga8 + Revision: 1530968 - Mageia 8 Mass Rebuild * Fri Sep 06 2019 wally <wally> 0.6.1-5.mga8 + Revision: 1437997 - rebuild for python3.8 - drop python2 support - update descriptions * Sat Jan 05 2019 wally <wally> 0.6.1-4.mga7 + Revision: 1349752 - rebuild for python3.7 * Thu Sep 20 2018 umeabot <umeabot> 0.6.1-3.mga7 + Revision: 1289184 - Mageia 7 Mass Rebuild * Thu Apr 05 2018 kekepower <kekepower> 0.6.1-2.mga7 + Revision: 1215390 - Renamed python-mccabe to python2-mccabe - Using python_provide * Sat Dec 02 2017 shlomif <shlomif> 0.6.1-1.mga7 + Revision: 1180691 - add dep - New version 0.6.1 * Fri Aug 04 2017 shlomif <shlomif> 0.3.1-2.mga7 + Revision: 1135034 - rebuild for new python3 * Sat Dec 19 2015 dglent <dglent> 0.3.1-1.mga6 + Revision: 911834 - imported package python-mccabe