1 Summary: Python tool that checks if a module satisfy a coding standard
2 Summary(pl): Pythonowe narzêdzie sprawdzaj±ce zgodno¶æ modu³u ze standardem kodowania
7 Group: Development/Languages/Python
8 Source0: ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
9 # Source0-md5: f04addb7496a2a3e26675d36026718d7
10 URL: http://www.logilab.org/projects/pylint/view
11 BuildRequires: python-devel
12 BuildRequires: python-modules >= 2.2.1
13 BuildRequires: rpm-pythonprov
14 %pyrequires_eq python-modules
15 Requires: python-logilab-astng >= 0.13.1
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Python tool that checks if a module satisfy a coding standard.
23 Narzêdzie sprawdzaj±ce zgodno¶æ modu³ów napisanych w jêzyku Python
24 z regu³ami tworzenia kodu ¼ród³owego.
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man1}
36 python setup.py install \
38 --root=$RPM_BUILD_ROOT
40 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
41 install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}
43 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc ChangeLog TODO README examples/* doc/*.txt
51 %attr(755,root,root) %{_bindir}/*
52 %config(noreplace) %verify(not md5 mtime) %{_sysconfdir}/pylintrc