# Created by pyp2rpm-3.3.10 %global pypi_name pyflakes %global pypi_version 3.2.0 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: passive checker of Python programs License: MIT URL: https://github.com/PyCQA/pyflakes Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description Pyflakes A simple program which checks Python source files for errors.Pyflakes analyzes programs and detects various errors. It works by parsing the source file, not importing it, so it is safe to use on modules with side effects. It's also much faster.It is available on PyPI < and it supports all active versions of Python: 3.6+.Installation It can be installed with:: $ pip install --upgrade... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(setuptools) %description -n python3-%{pypi_name} Pyflakes A simple program which checks Python source files for errors.Pyflakes analyzes programs and detects various errors. It works by parsing the source file, not importing it, so it is safe to use on modules with side effects. It's also much faster.It is available on PyPI < and it supports all active versions of Python: 3.6+.Installation It can be installed with:: $ pip install --upgrade... %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{_bindir}/pyflakes %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info %changelog * Mon Oct 21 2024 mockbuilder - 3.2.0-1 - Initial package.