forked from pool/python-pyflakes
- 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:
42
python-pyflakes.spec
Normal file
42
python-pyflakes.spec
Normal 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)
|
Reference in New Issue
Block a user