]> git.pld-linux.org Git - packages/python-pyflakes.git/blame - python-pyflakes.spec
- initial
[packages/python-pyflakes.git] / python-pyflakes.spec
CommitLineData
62420600
KK
1Summary: Passive checker of Python programs
2Name: pyflakes
3Version: 0.2.1
4Release: 0.1
5License: MIT
6Group: Development/Tools
7Source0: http://www.divmod.org/static/projects/pyflakes/%{name}-%{version}.tar.gz
8# Source0-md5: e65d9245d706350b3db811280d897f30
9Patch0: %{name}-IOError.patch
10URL: http://www.divmod.org/projects/pyflakes
11BuildRequires: python-devel
12BuildRequires: rpm-pythonprov
13BuildRequires: rpmbuild(macros) >= 1.219
14%pyrequires_eq python-modules
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Pyflakes is a simple program which checks Python source files for
20errors. It is similar to PyChecker in scope, but differs in that it
21does not execute the modules to check them. This is both safer and
22faster, although it does not perform as many checks. Unlike PyLint,
23Pyflakes checks only for logical errors in programs; it does not
24perform any checks on style.
25
26%prep
27%setup -q
28%patch0 -p1
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33python ./setup.py install \
34 --optimize=2 \
35 --root=$RPM_BUILD_ROOT
36
37%py_postclean
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%attr(755,root,root) %{_bindir}/*
45%{py_sitescriptdir}/pyflakes
This page took 0.059201 seconds and 4 git commands to generate.