# Created by pyp2rpm-3.3.2 %global pypi_name flake8-debugger Name: python-%{pypi_name} Version: 3.1.0 Release: 1%{?dist} Summary: ipdb/pdb statement checker plugin for flake8 License: MIT URL: https://github.com/jbkahn/flake8-debugger Source0: https://files.pythonhosted.org/packages/source/f/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(flake8) >= 1.5 BuildRequires: python3dist(flake8) >= 1.5 BuildRequires: python3dist(pycodestyle) BuildRequires: python3dist(pycodestyle) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-runner) BuildRequires: python3dist(setuptools) %description Flake8 debugger plugin Check for pdb;idbp imports and set traces, as well as from IPython.terminal.embed import InteractiveShellEmbed and InteractiveShellEmbed()().This module provides a plugin for flake8, the Python code checker. Installation You can install or upgrade flake8-debugger with these commands:: $ pip install flake8-debugger $ pip install --upgrade flake8-debugger Plugin for Flake8... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(flake8) >= 1.5 Requires: python3dist(pycodestyle) Requires: python3dist(setuptools) %description -n python3-%{pypi_name} Flake8 debugger plugin Check for pdb;idbp imports and set traces, as well as from IPython.terminal.embed import InteractiveShellEmbed and InteractiveShellEmbed()().This module provides a plugin for flake8, the Python code checker. Installation You can install or upgrade flake8-debugger with these commands:: $ pip install flake8-debugger $ pip install --upgrade flake8-debugger Plugin for Flake8... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check # Currently there are no tests, even though setup.py says to run them. # rc5 means no tests run; so treat that as success. %{__python3} setup.py test || test $? -eq 5 %files -n python3-%{pypi_name} %doc README.rst %{python3_sitelib}/__pycache__/* %{python3_sitelib}/flake8_debugger.py %{python3_sitelib}/flake8_debugger-%{version}-py?.?.egg-info %changelog * Thu Mar 21 2019 Mike DePaulo - 3.1.0-1 - Initial package.