diff --git a/python-pylint.spec b/python-pylint.spec index b0cb65d..3a29bcd 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -1,5 +1,5 @@ # -# spec file for package python-pylint (Version 0.18.0) +# spec file for package python-pylint (Version 0.18.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,17 +24,16 @@ Summary: Syntax and style checker for Python code Version: 0.18.1 Release: 1 Source: pylint-%{version}.tar.bz2 -#Patch: %{name}-%{version}.patch License: GPL v2 or later Group: Development/Languages/Python Url: http://www.logilab.org/projects/pylint/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-logilab-common python-logilab-astng -Provides: pylint -Obsoletes: pylint +Provides: pylint = 0.16.0 +Obsoletes: pylint <= 0.16.0 %{py_requires} %if 0%suse_version > 1110 -BuildArch: noarch +BuildArch: noarch %define py_sitedir %python_sitelib %endif @@ -89,195 +88,3 @@ rm -rf $RPM_BUILD_ROOT %{py_sitedir}/*egg-info %changelog -* Fri Sep 12 2008 garloff@suse.de -- Update to version 0.15.0: - * include pyreverse package and class diagram generation - * included Stefan Rank's patch to deal with 2.4 relative import - * included Robert Kirkpatrick's tutorial and typos fixes - * fix bug in reenabling message - * fix #2473: invoking pylint on __init__.py (hopefuly) - * typecheck: acquired-members option has been dropped in favor of the more - generic generated-members option. If the zope option is set, the behaviour - is now to add some default values to generated-members. - * flymake integration: added bin/epylint and elisp/pylint-flymake.el -* Fri Aug 22 2008 garloff@suse.de -- Update to verions 0.14.0: - * fix #3733: Messages (dis)appear depending on order of file names - * fix #4026: pylint.el should require compile - * fix a bug in colorized reporter, spotted by Dave Borowitz - * applied patch from Stefan Rank to avoid W0410 false positive when - multiple "from __future__" import statements - * implement #4012: flag back tick as deprecated (new W0333 message) - * new ignored-class option on typecheck checker allowing to skip members - checking based on class name (patch provided by Thomas W Barr) -* Tue Jul 17 2007 garloff@suse.de -- Update to pylint 0.13.2: - * fix disable-checker option so that it won't accidentally enable the - rpython checker which is disabled by default - * added note about the gedit plugin into documentation -- Update to pylint 0.13.1: - * fix some unexplained 0.13.0 packaging issue which led a bunch of - files missing from the distribution -- Update to pylint 0.13.0: - * new RPython (Restricted Python) checker for PyPy felow or people - wanting to get a compiled version of their python program using the - translator of the PyPy project. For more information about PyPy or - RPython, visit http://codespeak.net/pypy/ - * new E0104 and E0105 messages introduced to respectivly warn about - "return" and "yield" outside function or method - * new E0106 message when "yield" and "return something" are mixed in a - function or method - * new W0107 message for unnecessary pass statement - * new W0614 message to differentiate between unused 'import X' and - unused 'from X import *" (#3209, patch submitted by Daniel Drake) - * included Daniel Drake's patch to have a different message E1003 instead of - E1001 when a missing member is found but an inference failure has been - detected - * msvs reporter for Visual Studio line number reporting (#3285) - * allow disable-all option inline (#3218, patch submitted by Daniel Drake) - * --init-hook option to call arbitray code necessary to set - environment (eg sys.path) (#3156) - * One more Daniel's patch fixing a command line option parsing - problem, this'll definitly be the DDrake release :) - * fix #3184: crashes on "return" outside function - * fix #3205: W0704 false positive - * fix #3123: W0212 false positive on static method - * fix #2485: W0222 false positive - * fix #3259: when a message is explicitly enabled, check the checker - emitting it is enabled -- Update to pylint 0.12.2: - * fix #3143: W0233 bug w/ YES objects - * fix #3119: Off-by-one error counting lines in a file - * fix #3117: ease sys.stdout overriding for reporters - * fix #2508: E0601 false positive with lambda - * fix #3125: E1101 false positive and a message duplication. Only the last part - is actually fixed since the initial false positive is due to dynaming setting of - attributes on the decimal.Context class. - * fix #3149: E0101 false positives and introduced E0100 for generator __init__ - methods - * fixed some format checker false positives -- Update to pylint 0.12.1: - * fixed python >= 2.4 format false positive with multiple lines statement - * fixed some 2.5 issues - * fixed generator expression scope bug (depends on astng 0.16.1) - * stop requiring __revision__ -* Tue Sep 26 2006 cthiel@suse.de -- fix build with python 2.5 -- update to version 0.12.0 - * usability changes: - o parseable, html and color options are now handled by a single - output-format option - o enable- and disable-all options are now handled by - two (exclusive) enable-checker and disable-checker options - taking a comma separated list of checker names as value - o renamed debug-mode option to errors-only - * started a reference user manual - * new W0212 message for access to protected member from client code - * new W0105 and W0106 messages extracted from W0104 (statement seems to - have no effect) respectivly when the statement is actually string - (that's sometimes used instead of comments for documentation) or an - empty statement generated by a useless semicolumn - * reclassified W0302 to C0302 - * fix so that global messages are not anymore connected to the last - analyzed module - * fix some bugs related to local disabling of messages - * fix cr/lf pb when generating the rc file on windows platforms -- changes from 0.10.0 to 0.11.0 - * fix crash caused by the exceptions checker in some case - * fix some E1101 false positive with abstract method or classes defining - __getattr__ - * dirty fix to avoid "_socketobject" has not "connect" member. The actual - problem is that astng isn't able to understand the code used to create - socket.socket object with exec - * added an option in the similarity checker to ignore docstrings, enabled - by default - * included patch from Benjamin Niemann to allow block level - enabling/disabling of messages -- changes from 0.9.0 to 0.10.0 - * WARNING, this release include some configuration changes (see below), so - you may have to check and update your own configuration file(s) if you - use one - * this release require the 0.15 version of astng or superior (it will save - you a lot of pylint crashes...) - * W0705 has been reclassified to E0701, and is now detecting more - inheriting problem, and a false positive when empty except clause is - following an Exception catch has been fixed - * E0212 and E0214 (metaclass/class method should have mcs/cls as first - argument have been reclassified to C0202 and C0203 since this not as - well established as "self" for instance method (E0213) - * W0224 has been reclassified into F0220 (failed to resolve interfaces - implemented by a class) - * a new typecheck checker, introducing the following checks: - o E1101, access to unexistant member (implements #10430), remove the - need of E0201 and so some options has been moved from the classes - checker to this one - o E1102, calling a non callable object - o E1111 and W1111 when an assigment is done on a function call but the - infered function returns None (implements #10431) - * change in the base checker: - o checks module level and instance attribute names (new const-rgx - and attr-rgx configuration option) - o list comprehension and generator expression variables have their - own regular expression (the inlinevar-rgx option) - o the C0101 check with its min-name-lentgh option has - been removed (this can be specified in the regxp after all...) - o W0103 and W0121 are now handled by the variables checker - (W0103 is now W0603 and W0604 has been splitted into different messages) - o W0131 and W0132 messages have been reclassified to C0111 and - C0112 respectivly - o new W0104 message on statement without effect - * regexp support for dummy-variables (dummy-variables-rgx option - replace dummy-variables) - * better global statement handling, see W0602, W0603, W0604 messages - * --debug-mode option, disabling all checkers without error message - and filtering others to only display error - * fixed some R0201 (method could be a function) false positive -* Tue Feb 28 2006 jmatejek@suse.cz -- updated to reflect python changes due to #149809 -* Sat Jan 28 2006 garloff@suse.de -- Update to 0.9.0: - * Updates induced by astng-0.14. - * Allow additional plugins. - * Use local dir's pylintrc in preference over others. - * Many bugfixes (W0706, E0611, E0203, E0214, W0212, W0401, #9789) -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Thu Dec 22 2005 garloff@suse.de -- Add dependency on python-logilab-astng. -* Tue Dec 20 2005 garloff@suse.de -- Update to 0.8.1: - * fix "deprecated module" false positive when the code imports a - module whose name starts with a deprecated module's name. - * fix "module has no name __dict__" false positive. - * fix "access to undefined variable __path__" false positive. - * fix "explicit return in __init__" false positive when return is - actually in an inner function. -- Update to 0.8.0: - * check names imported from a module exists in the module (E0611), - patch contributed by Amaury Forgeot d'Arc. - * print a warning (W0212) for methods that could be a function. - * new --defining-attr-methods option on classes checker. - * new --acquired-members option on the classes checker, used when - --zope=yes to avoid false positive on acquired attributes (listed - using this new option). - * generate one E0602 for each use of an undefined variable - (previously, only one for the first use but not for the following). - * make profile option saveable. - * fix Windows .bat file, patch contributed by Amaury Forgeot d'Arc - * fix one more false positive for E0601 (access before definition) - with for loop such as "for i in range(10): print i" (test - func_noerror_defined_and_used_on_same_line) - * fix false positive for E0201 (undefined member) when accessing to - __name__ on a class object - * fix astng checkers traversal order - * fix bug in format checker when parsing a file from a platform - using different new line characters - * fix encoding detection regexp - * fix --rcfile handling (support for --rcfile=file, close #9590) -- bzip2 sources. -* Sat Aug 13 2005 ro@suse.de -- remove noarch for now -* Tue Jul 26 2005 garloff@suse.de -- Make it a noarch package. -* Sun Jul 17 2005 garloff@suse.de -- Initial creation of package pylint-0.7.0.