From 80e557df2ed4fb69592b6f24aefd12385e320d45 Mon Sep 17 00:00:00 2001 From: Brian C. Lane Date: Jul 09 2010 00:53:22 +0000 Subject: - Upstream 0.21.1 - Removed patch for 500272, fixed upstream - http://www.logilab.org/ticket/22962 --- diff --git a/.cvsignore b/.cvsignore index 5efc85d..a8e2c1c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pylint-0.20.0.tar.gz +pylint-0.21.1.tar.gz diff --git a/pylint-disable-msg-cat-fix-bz500272.patch b/pylint-disable-msg-cat-fix-bz500272.patch deleted file mode 100644 index b6ea178..0000000 --- a/pylint-disable-msg-cat-fix-bz500272.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/utils.py -+++ a/utils.py -@@ -18,7 +18,7 @@ - main pylint class - """ - --import sys -+import sys, types - from os import linesep - - from logilab.common.textutils import normalize_text -@@ -181,8 +181,10 @@ class MessagesHandlerMixIn: - self.config.enable_msg = [mid for mid, val in msgs.items() if val] - - def _cat_ids(self, categories): -+ if isinstance(categories, types.StringType): -+ categories = [categories] - for catid in categories: -- catid = catid.upper() -+ catid = catid[0].upper() - if not catid in MSG_TYPES: - raise Exception('Unknown category identifier %s' % catid) - yield catid - diff --git a/pylint.spec b/pylint.spec index 749bdbc..0662ab5 100644 --- a/pylint.spec +++ b/pylint.spec @@ -1,8 +1,8 @@ %{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: pylint -Version: 0.20.0 -Release: 2%{?dist} +Version: 0.21.1 +Release: 1%{?dist} Summary: Analyzes Python code looking for bugs and signs of poor quality Group: Development/Debuggers @@ -15,9 +15,6 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: python-devel python-setuptools Requires: python-logilab-astng -# Sent upstream via python-projects list 20100405 -Patch0: pylint-disable-msg-cat-fix-bz500272.patch - %description Pylint is a python tool that checks if a module satisfy a coding standard. @@ -42,7 +39,6 @@ This package provides a gui tool for pylint written in tkinter. %prep %setup -q -%patch0 -p1 %build %{__python} setup.py build @@ -81,6 +77,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 08 2010 Brian C. Lane - 0.21.1-1 +- Upstream 0.21.1 +- Removed patch for 500272, fixed upstream - http://www.logilab.org/ticket/22962 + * Mon Apr 05 2010 Brian C. Lane - 0.20.0-2 - Added patch for bug 500272 (exception with --disable-msg-cat) diff --git a/sources b/sources index 62aa2f9..74005d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f5bda2719d6425a668d27a151d1721f pylint-0.20.0.tar.gz +70f82198cde208b9118e81a43f3c7d80 pylint-0.21.1.tar.gz