43 lines
1.0 KiB
RPMSpec
43 lines
1.0 KiB
RPMSpec
|
# norootforbuild
|
||
|
|
||
|
Name: python-pyflakes
|
||
|
Version: 0.4.0
|
||
|
Release: 1
|
||
|
Summary: Passive checker of Python programs
|
||
|
License: MIT
|
||
|
Group: Development/Libraries/Python
|
||
|
Source: pyflakes-%{version}.tar.gz
|
||
|
URL: http://www.divmod.org/trac/wiki/DivmodPyflakes
|
||
|
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)
|