Name: python-mccabe Version: 0.6.1 Release: 11 Summary: McCabe complexity checker for Python License: MIT URL: http://pypi.python.org/pypi/mccabe Source0: https://files.pythonhosted.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz BuildArch: noarch %description Ned's script to check McCabe complexity. This module provides a plugin for flake8, the Python code checker. %package -n python3-mccabe Summary: McCabe complexity checker for Python version 3 BuildRequires: python3-devel python3-setuptools python3-pytest python3-pytest-runner %{?python_provide:%python_provide python3-mccabe} %description -n python3-mccabe Ned's script to check McCabe complexity. This module provides a plugin for flake8, the Python code checker. %prep %autosetup -n mccabe-%{version} -p1 %build %py3_build %install %py3_install %check %{__python3} -m pytest -v %files -n python3-mccabe %doc README.rst LICENSE %{python3_sitelib}/mccabe.py* %{python3_sitelib}/mccabe-%{version}-* %{python3_sitelib}/__pycache__/mccabe.* %changelog * Wed Oct 21 2020 Ge Wang - 0.6.1-11 - remove python2 * Tue Feb 25 2020 Jiangping Hu - 0.6.1-10 - Package init