From de86cffc8b094f7d978a963cb320ff038fa0d726 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: May 05 2005 22:31:42 +0000 Subject: auto-import pylint-0.6.4-3 on branch devel from pylint-0.6.4-3.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..92ae510 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pylint-0.6.4.tar.gz diff --git a/pylint.spec b/pylint.spec new file mode 100644 index 0000000..a19bb89 --- /dev/null +++ b/pylint.spec @@ -0,0 +1,99 @@ +%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: pylint +Version: 0.6.4 +Release: 3 +Summary: Analyzes Python code looking for bugs and signs of poor quality + +Group: Development/Debuggers +License: GPL +URL: http://www.logilab.org/projects/pylint +Source0: ftp://ftp.logilab.org/pub/pylint/pylint-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python-devel +Requires: python-abi = %(%{__python} -c "import sys; print sys.version[:3]") +Requires: python-logilab-common >= 0.9.3 + +%description +Pylint is a python tool that checks if a module satisfy a coding standard. +Pylint can be seen as another PyChecker since nearly all tests you can do +with PyChecker can also be done with Pylint. But Pylint offers some more +features, like checking line-code's length, checking if variable names are +well-formed according to your coding standard, or checking if declared +interfaces are truly implemented, and much more. The big advantage with +Pylint is that it is highly configurable, customizable, and you can easily +write a small plugin to add a personal feature. + + +%package gui +Summary: Graphical Interface tool for Pylint +Group: Development/Debuggers +Requires: %{name} = %{version}-%{release} +Requires: tkinter + +%description gui +This package provides a gui tool for pylint written in tkinter. + + +%prep +%setup -q + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT%{_python_sitelib}/logilab/pylint/test +# This file is provided by python-logilab-common +rm -f $RPM_BUILD_ROOT%{_python_sitelib}/logilab/*.py + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc doc/*.txt README ChangeLog TODO +%dir %{_python_sitelib}/logilab/pylint +%dir %{_python_sitelib}/logilab/pylint/checkers +%dir %{_python_sitelib}/logilab/pylint/reporters +%{_python_sitelib}/logilab/pylint/*.py +%{_python_sitelib}/logilab/pylint/*.pyc +%ghost %{_python_sitelib}/logilab/pylint/*.pyo +%{_python_sitelib}/logilab/pylint/*/*.py +%{_python_sitelib}/logilab/pylint/*/*.pyc +%ghost %{_python_sitelib}/logilab/pylint/*/*.pyo +%{_bindir}/pylint +%{_bindir}/symilar +%exclude %{_python_sitelib}/logilab/pylint/gui.py* + + +%files gui +%defattr(-,root,root,-) +%{_python_sitelib}/logilab/pylint/gui.py +%{_python_sitelib}/logilab/pylint/gui.pyc +%ghost %{_python_sitelib}/logilab/pylint/gui.pyo +%{_bindir}/pylint-gui + + +%changelog +* Thu May 05 2005 Konstantin Ryabitsev - 0.6.4-3 +- Only doc the .txt files. +- Don't buildrequire python-logilab-common +- Fix paths. + +* Tue Apr 26 2005 Konstantin Ryabitsev - 0.6.4-2 +- Ghost .pyo files. +- Remove the test dir, as it doesn't do anything. +- Separate the gui package, which depends on tkinter. +- Don't own site-packages/logilab, which is owned by + python-logilab-common. + +* Fri Apr 22 2005 Konstantin Ryabitsev - 0.6.4-1 +- Initial packaging. diff --git a/sources b/sources index e69de29..c4377a8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7b15dc734ea91995256da22ad6a3aeb0 pylint-0.6.4.tar.gz