Hello community,

here is the log from the commit of package python3-pylint for openSUSE:Factory 
checked in at 2013-12-06 13:45:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pylint (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pylint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pylint"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pylint/python3-pylint.changes    
2013-08-15 20:03:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pylint.new/python3-pylint.changes       
2013-12-06 14:44:54.000000000 +0100
@@ -1,0 +2,77 @@
+Fri Nov 29 09:36:36 UTC 2013 - toddrme2...@gmail.com
+
+- Implement update-alternatives
+- Update requires and buildrequires
+- Update to version 1.0.0
+  * Add check for the use of 'exec' function
+  * New --msg-template option to control output, deprecating "msvc" and
+    "parseable" output formats as well as killing `--include-ids` and 
`--symbols`
+    options
+  * Do not emit [fixme] for every line if the config value 'notes'
+    is empty, but [fixme] is enabled.
+  * Emit warnings about lines exceeding the column limit when
+    those lines are inside multiline docstrings.
+  * Do not double-check parameter names with the regex for parameters and
+    inline variables.
+  * Added a new warning missing-final-newline (C0304) for files missing
+    the final newline.
+  * Methods that are decorated as properties are now treated as attributes
+    for the purposes of name checking.
+  * Names of derived instance class member are not checked any more.
+  * Names in global statements are now checked against the regular
+    expression for constants.
+  * For toplevel name assignment, the class name regex will be used if
+    pylint can detect that value on the right-hand side is a class
+    (like collections.namedtuple()).
+  * Simplified invalid-name message
+  * Added a new warning invalid-encoded-data (W0512) for files that
+    contain data that cannot be decoded with the specified or
+    default encoding.
+  * New warning bad-open-mode (W1501) for calls to open (or file) that
+    specify invalid open modes (Original implementation by Sasha Issayev).
+  * New warning old-style-class (C1001) for classes that do not have any
+    base class.
+  * Add new name type 'class_attribute' for attributes defined
+    in class scope. By default, allow both const and variable names.
+  * New warning trailing-whitespace (C0303) that warns about
+    trailing whitespace.
+  * Added a new warning unpacking-in-except (W0712) about unpacking
+    exceptions in handlers, which is unsupported in Python 3.
+  * Add a configuration option for missing-docstring to
+    optionally exempt short functions/methods/classes from
+    the check.
+  * Add the type of the offending node to missing-docstring
+    and empty-docstring.
+  * New utility classes for per-checker unittests in testutils.py
+  * Do not warn about redefinitions of variables that match the
+    dummy regex.
+  * Do not treat all variables starting with _ as dummy variables,
+    only _ itself.
+  * Make the line-too-long warning configurable by adding a regex for lines
+    for with the length limit should not be enforced
+  * Do not warn about a long line if a pylint disable
+    option brings it above the length limit
+  * Do not flag names in nested with statements as undefined.
+  * Added a new warning 'old-raise-syntax' for the deprecated syntax
+    raise Exception, args
+  * Support for PEP 3102 and new missing-kwoa (E1125) message for missing
+    mandatory keyword argument (logilab.org's #107788)
+  * Fix spelling of max-branchs option, now max-branches
+  * Added a new base class and interface for checkers that work on the
+    tokens rather than the syntax, and only tokenize the input file
+    once.
+  * Follow astng renaming to astroid
+  * bitbucket #37: check for unbalanced unpacking in assignments
+  * bitbucket #25: fix incomplete-protocol false positive for read-only
+    containers like tuple
+  * bitbucket #16: fix False positive E1003 on Python 3 for argument-less 
super()
+  * bitbucket #6: put back documentation in source distribution
+  * bitbucket #15: epylint shouldn't hang anymore when there is a large
+    output on pylint'stderr
+  * bitbucket #7: fix epylint w/ python3
+  * bitbucket #3: remove string module from the default list of deprecated
+    modules
+- Remove unwanted %{py_requires} macro
+- Remove redundant %clean section
+
+-------------------------------------------------------------------

Old:
----
  pylint-0.28.0.tar.gz

New:
----
  pylint-1.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pylint.spec ++++++
--- /var/tmp/diff_new_pack.0QikGI/_old  2013-12-06 14:44:55.000000000 +0100
+++ /var/tmp/diff_new_pack.0QikGI/_new  2013-12-06 14:44:55.000000000 +0100
@@ -17,19 +17,22 @@
 
 
 Name:           python3-pylint
-Version:        0.28.0
+Version:        1.0.0
 Release:        0
 Summary:        Syntax and style checker for Python code
 License:        GPL-2.0+
 Group:          Development/Languages/Python
 Url:            http://www.logilab.org/projects/pylint/
 Source:         
https://pypi.python.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-%if 0%{?suse_version} == 1220
 BuildRequires:  python3-2to3
-%endif
-BuildRequires:  python3-devel
-Requires:       python3-logilab-astng >= 0.21.1
+BuildRequires:  python3-astroid
+BuildRequires:  python3-logilab-common >= 0.55
+BuildRequires:  python3-tk
+Requires:       python3-astroid
 Requires:       python3-logilab-common >= 0.55
+Requires:       python3-tk
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -58,14 +61,56 @@
 %install
 # build failes without --no-compile
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --no-compile
-for f in %{buildroot}%{_bindir}/*; do mv $f $f-python%{py3_ver}; done
 # fix non-executable rpmlint warning
 chmod +x %{buildroot}%{python3_sitelib}/pylint/epylint.py
+# update-alternatives
+mv %{buildroot}%{_bindir}/pylint %{buildroot}%{_bindir}/pylint-%{py3_ver}
+mv %{buildroot}%{_bindir}/epylint %{buildroot}%{_bindir}/epylint-%{py3_ver}
+mv %{buildroot}%{_bindir}/pylint-gui 
%{buildroot}%{_bindir}/pylint-gui-%{py3_ver}
+mv %{buildroot}%{_bindir}/pyreverse %{buildroot}%{_bindir}/pyreverse-%{py3_ver}
+mv %{buildroot}%{_bindir}/symilar %{buildroot}%{_bindir}/symilar-%{py3_ver}
+ln -s %{_bindir}/pylint-%{py3_ver} %{buildroot}%{_bindir}/pylint
+ln -s %{_bindir}/epylint-%{py3_ver} %{buildroot}%{_bindir}/epylint
+ln -s %{_bindir}/pylint-gui-%{py3_ver} %{buildroot}%{_bindir}/pylint-gui
+ln -s %{_bindir}/pyreverse-%{py3_ver} %{buildroot}%{_bindir}/pyreverse
+ln -s %{_bindir}/symilar-%{py3_ver} %{buildroot}%{_bindir}/symilar
+
+%pre
+# Since /usr/bin/pylint, etc. became ghosted to be used with 
update-alternatives, we have to get rid
+# of the old binary resulting from the non-update-alternativies-ified package:
+[[ ! -L %{_bindir}/pylint ]] && rm -f %{_bindir}/pylint
+[[ ! -L %{_bindir}/epylint ]] && rm -f %{_bindir}/epylint
+[[ ! -L %{_bindir}/pylint-gui ]] && rm -f %{_bindir}/pylint-gui
+[[ ! -L %{_bindir}/pyreverse ]] && rm -f %{_bindir}/pyreverse
+[[ ! -L %{_bindir}/symilar ]] && rm -f %{_bindir}/symilar
+exit 0
+
+%post
+update-alternatives \
+   --install %{_bindir}/pylint pylint %{_bindir}/pylint-%{py3_ver} 30 \
+   --slave %{_bindir}/epylint epylint %{_bindir}/epylint-%{py3_ver} \
+   --slave %{_bindir}/pylint-gui pylint-gui %{_bindir}/pylint-gui-%{py3_ver} \
+   --slave %{_bindir}/pyreverse pyreverse %{_bindir}/pyreverse-%{py3_ver} \
+   --slave %{_bindir}/symilar symilar %{_bindir}/symilar-%{py3_ver}
+
+%preun
+if [ $1 -eq 0 ] ; then
+    update-alternatives --remove pylint %{_bindir}/pylint-%{py3_ver}
+fi
 
 %files
 %defattr(-,root,root)
-%doc COPYING README.Python3 ChangeLog examples/
-%{_bindir}/*-python%{py3_ver}
+%doc ChangeLog COPYING README README.Python3 examples/
+%{_bindir}/pylint-%{py3_ver}
+%{_bindir}/epylint-%{py3_ver}
+%{_bindir}/pylint-gui-%{py3_ver}
+%{_bindir}/pyreverse-%{py3_ver}
+%{_bindir}/symilar-%{py3_ver}
+%ghost %{_bindir}/pylint
+%ghost %{_bindir}/epylint
+%ghost %{_bindir}/pylint-gui
+%ghost %{_bindir}/pyreverse
+%ghost %{_bindir}/symilar
 %{python3_sitelib}/pylint/
 %{python3_sitelib}/pylint-%{version}-py%{py3_ver}.egg-info
 

++++++ pylint-0.28.0.tar.gz -> pylint-1.0.0.tar.gz ++++++
++++ 11726 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to