14
0

- Initial package (0.4.0) for openSUSE.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=1
This commit is contained in:
Alexandre Rogoski
2009-12-28 20:09:39 +00:00
committed by Git OBS Bridge
commit f0a2b2060a
5 changed files with 73 additions and 0 deletions

42
python-pyflakes.spec Normal file
View File

@@ -0,0 +1,42 @@
# 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)