1
0
python-pyflakes/python-pyflakes.spec

43 lines
1016 B
RPMSpec
Raw Normal View History

# norootforbuild
Name: python-pyflakes
Version: 0.5.0
Release: 1
Summary: Passive checker of Python programs
License: MIT
Group: Development/Libraries/Python
Source: pyflakes-%{version}.tar.bz2
URL: https://launchpad.net/pyflakes
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
Pyflakes is program to analyze Python programs and detect 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.
Author:
--------
Moe Aboulkheir <moe@divmod.com>
%prep
%setup -q -n pyflakes-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)