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: 7b15dc734ea91995256da22ad6a3aeb0
10 URL: http://www.logilab.org/projects/pylint/view
12 BuildRequires: python-modules >= 2.2.1
13 %pyrequires_eq python-modules
14 Requires: python-logilab-common >= 0.10.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Python tool that checks if a module satisfy a coding standard.
22 Narzêdzie sprawdzaj±ce zgodno¶æ modu³ów napisanych w jêzyku Python
23 z regu³ami tworzenia kodu ¼ród³owego.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_sysconfdir}
35 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
37 install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}
39 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
41 # see install section of python-logilab-common for explanation
42 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/logilab/__init__.*
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc ChangeLog TODO README examples/* doc/*.txt
50 %attr(755,root,root) %{_bindir}/*
51 %config(noreplace) %verify(not mtime md5) %{_sysconfdir}/*