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: 9b4aed8c9840dbc845a6a4ce4a03206d
10 URL: http://www.logilab.org/projects/pylint/view
12 BuildRequires: python-modules >= 2.2.1
13 BuildRequires: rpm-pythonprov
14 %pyrequires_eq python-modules
15 Requires: python-logilab-common >= 0.9.0
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}
36 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
38 install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}
40 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
42 # see install section of python-logilab-common for explanation
43 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/logilab/__init__.*
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 mtime md5) %{_sysconfdir}/*