--- pylint-1.1.0.orig/debian/NEWS +++ pylint-1.1.0/debian/NEWS @@ -0,0 +1,19 @@ +pylint (0.24.0-1) unstable; urgency=low + + Ids of logging and string_format checkers have been changed: + logging: 65 -> 12, string_format: 99 -> 13 + + -- Sandro Tosi Sun, 31 Jul 2011 00:35:59 +0200 + +pylint (0.21.1-1) unstable; urgency=low + + With version 0.21.0, pylint introduces and incompatible change with + command-line parameters. + + Please check the upstream changelog [1] and compare against it the way you're + used to execute pylint. + + [1] /usr/share/doc/pylint/changelog.gz + + -- Sandro Tosi Sat, 12 Jun 2010 09:15:12 +0200 + --- pylint-1.1.0.orig/debian/NEWS.Debian +++ pylint-1.1.0/debian/NEWS.Debian @@ -0,0 +1,10 @@ +pylint (0.13.2-2) unstable; urgency=low + + * pylint.el is no longer installed for emacs, because it is not + compatible with emacs22 and has a large number of related bugs. It + will be reenabled in a future version, when all the bugs have been + dealt with by upstream (patches are welcome by the way). Emacs21 + users may get it from /usr/share/doc/pylint/examples/pylint.el + + -- Alexandre Fayolle Wed, 04 Jul 2007 12:18:23 +0200 + --- pylint-1.1.0.orig/debian/changelog +++ pylint-1.1.0/debian/changelog @@ -0,0 +1,615 @@ +pylint (1.1.0-1) unstable; urgency=low + + * New upstream release + * debian/pylint.docs + - don't install doc (as provided by the tarball) + + -- Sandro Tosi Sun, 12 Jan 2014 02:38:03 +0100 + +pylint (1.0.0-1) unstable; urgency=low + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + [ Sandro Tosi ] + * New upstream release; thanks to Michal Čihař for the report; Closes: #720533 + - crash when include-ids is activated; Closes: #689172 + * debian/copyright + - updated to machine-parsable format + - extended packaging copyright years + * debian/control + - bump Standards-Version to 3.9.5 (no changes needed) + - replace all depencencies on astng with astroid + * debian/rules + - moved to dh sequencer + * debian/compat + - bump compat to 9 + * debian/{control, rules} + - switch to dh_python2; thanks to Benjamin Drung for the report and patch; + Closes: #702128 + + -- Sandro Tosi Sun, 05 Jan 2014 12:25:48 +0100 + +pylint (0.27.0-1) experimental; urgency=low + + * New upstream release + * debian/control + - new Homepage + * debian/watch + - update download URL + * debian/copyright + - update upstream copyright information + - extended packaging copyright years + + -- Sandro Tosi Sun, 14 Apr 2013 23:22:37 +0200 + +pylint (0.26.0-1) experimental; urgency=low + + * New upstream release; Closes: #691108 + + -- Sandro Tosi Thu, 25 Oct 2012 23:09:47 +0200 + +pylint (0.25.2-1) experimental; urgency=low + + * New upstream release + * debian/copyright + - update upstream and packaging copyright years + * debian/control + - bump Standards-Version to 3.9.3 (no changes needed) + + -- Sandro Tosi Sat, 11 Aug 2012 14:26:44 +0200 + +pylint (0.25.1-1) unstable; urgency=low + + * New upstream release + + -- Sandro Tosi Fri, 30 Dec 2011 23:28:42 +0100 + +pylint (0.25.0-1) unstable; urgency=low + + * New upstream release + + -- Sandro Tosi Sun, 16 Oct 2011 12:32:22 +0200 + +pylint (0.24.0-1) unstable; urgency=low + + * New upstream release + * debian/copyright + - bump upstream and packaging copyright years + * debian/rules + - add build-arch build-indep targets, as suggested by lintian + * debian/control + - bump Standards-Version to 3.9.2 (no changes needed) + + -- Sandro Tosi Tue, 02 Aug 2011 20:05:50 +0200 + +pylint (0.23.0-1) unstable; urgency=low + + * New upstream release + - provides manpages for epylint, pylint-gui, symilar; Closes: #575679 + * debian/control + - mention pyreverse, symilar, epylint, pylint-gui additional commands in + long description + - update versioned Depends and b-d-i on logilab-{common, astng} + - added python-unittest2 to b-d-i, needed to run tests + * debian/pylint.manpages + - install all the available manpages + + -- Sandro Tosi Tue, 29 Mar 2011 19:27:47 +0200 + +pylint (0.22.0-1) experimental; urgency=low + + * New upstream release; Closes: #598482 + * debian/control + - minimum supported python version is 2.6 + - bump versioned depends on python-logilab-common to' >= 0.53.0' + - bump versioned depends on python-logilab-astng to '>= 0.21.0' + + -- Sandro Tosi Tue, 07 Dec 2010 01:30:49 +0100 + +pylint (0.21.3-1) experimental; urgency=low + + * New upstream release + + -- Sandro Tosi Sun, 10 Oct 2010 00:29:57 +0200 + +pylint (0.21.2-1) experimental; urgency=low + + * New upstream release + - fixed "Class 'baz' has no 'egg' member" in non-class code; thanks to + Helmut Grohne for the report; Closes: #534682 + - fixed "KeyError: 'RP0401'" crash (referring to "R0401"); thanks to Jakub + Wilk for the report; Closes: #591670 + - fixed "'unable to import module' when in try: except ImportError"; thanks + to Helmut Grohne for the report; Closes: #533296 + * debian/copyright + - updated upstream author information + * debian/control + - bump Standards-Version to 3.9.1 (no changes needed) + + -- Sandro Tosi Sat, 25 Sep 2010 15:10:34 +0200 + +pylint (0.21.1-1) unstable; urgency=low + + * New upstream release + - updated manpage; thanks to John Kozak for the report; Closes: #582494 + * debian/NEWS + - added to notify of the incompatible changes in 0.21.0 + + -- Sandro Tosi Sat, 12 Jun 2010 09:15:05 +0200 + +pylint (0.21.0-1) unstable; urgency=low + + * New upstream release + - doesn't crash in presence of '~/.pylintrc' config file; thanks to Thomas + Nilsson for the report and Neil Muller for following up; Closes: #580637 + - fix '--enable-msg'; thanks to Francois Gouget for the report; + Closes: #541063 + * debian/control + - bump dependencies for python-logilab-common to '>= 0.50.1' + - bump dependencies for python-logilab-astng to '>= 0.20.1' + + -- Sandro Tosi Thu, 20 May 2010 19:54:54 +0200 + +pylint (0.20.0-1) unstable; urgency=low + + * New upstream release + - thanks to Michael Richters for the report; Closes: #475939 + * debian/copyright + - updated upstream and packaging copyright years + * debian/control + - bump Depends on python-logilab-common to '>= 0.49.0' + - bump Depends on python-logilab-astng to '>= 0.20.0' + - bump Standards-Version to 3.8.4 (no changes needed) + - dropped XB-Python-Version + - added python-logilab-common to b-d-i to have 'pytest' available + - added python-logilab-astng to b-d-i, needed to run tests + * debian/rules + - also delete *.pyo files (generated by tests running with -OO) + + -- Sandro Tosi Sun, 28 Mar 2010 12:57:48 +0200 + +pylint (0.19.0-1) unstable; urgency=low + + * New upstream release + * debian/pylint.docs + - removed 'TODO', no more shipped + * debian/copyright + - updated copyright information, also adding new files with different info + * debian/{rules, TODO} + - run tests at build-time + * debian/pylint.postrm + - use 'set -e' instead of calling shell with '-e' + + -- Sandro Tosi Sat, 19 Dec 2009 21:38:49 +0100 + +pylint (0.18.1-1) unstable; urgency=medium + + [ Julien Lavergne ] + * Python 2.6 transition, thanks Alessio Treglia for the patch; Closes: #530509 + - Use --install-layout=deb for setup.py install. + - Replace site-packages by *-packages. + - Build-depends on python >= 2.5.4-1~ for --install-layout=deb. + + [ Alexandre Fayolle ] + * debian/rules: set NO_SETUPTOOLS when calling python setup.py + + [ Sandro Tosi ] + * New upstream release + - fix a false positive on E0611; thanks to Yann Dirson for the report; + Closes: #546522 + * debian/control + - removed Conflicts and Replaces, no more needed + - bump Standards-Version to 3.8.3 (no changes needed) + - bump versioned dependencies on python-logilab-common and + python-logilab-astng (to correctly handle migratation from pycentral to + pysupport, hence the urgency) + * debian/README.source + - removed, not needed + + -- Sandro Tosi Mon, 14 Sep 2009 23:52:18 +0200 + +pylint (0.18.0-1) unstable; urgency=low + + * New upstream release + * debian/copyright + - added packaging copyright for the work I do + - clearly separated copyright and license notices, indenting by 4 spaces + - link to GPL-2 file, not to the generic GPL + * debian/control + - updated Homepage field + - bump versions for python-logilab-common and python-logilab-astng depends + - bump Standard-Versions to 3.8.1 (no changes needed) + * debian/{control, rules} + - switch from python-central to python-support + * debian/rules + - 'build' is a dir, we need to clean with 'rm' + + -- Sandro Tosi Fri, 27 Mar 2009 09:45:39 +0100 + +pylint (0.16.0-1) unstable; urgency=low + + * New upstream release; Closes: #515799 + * debian/control + - added Vcs-{Svn,Browser} field + - bump versioned depe on python-logilab-astng and python-logilab-common + * debian/copyright + - extended copyright years + * debian/rules + - using '--root' instead of '--prefix' to install + * debian/pycompat + - removed since python-central uses XS-Python-Version control field + * debian/pylint.{postinst,prerm} + - removed since empty + * debian/pylint.dirs + - removed 'test' dir from doc, not needed and hence empty + + -- Sandro Tosi Wed, 18 Feb 2009 19:35:44 +0100 + +pylint (0.15.2-1) unstable; urgency=low + + * New upstream release + * debian/control + - added under PAPT umbrella (in agreement with Alexandre Fayolle) + - added me to uploaders + - moved Homepage field to source stanza + - bump Standards-Version to 3.8.0 + + added debian/README.source + - moved python (removing version, since we are in a 2.4+2.5 distribution) to + build-dep from build-dep-indep (to satisfy clean target needs) + - added ${python:Depends}, ${misc:Depends} to depends instead of directly + depending on "python" package + * debian/watch + - bump verstion to 3 + - left only the url to scan, adding "opts=pasv" for ftp scan + * debian/pylint.docs + - install all doc/ directory files + - added README and TODO (from debian/rules) + * debian/rules + - merged 'rm -f' commands into dh_clean call + - added "python setup.py clean" call in clean target + - install upstream "Changelog" using dh_installchangelog + - removed files passed to dh_installdocs since using debian/pylint.docs and + because debian/NEWS.Debian is automatically installed + - using '-delete' find option instead of xargs + - fix executables shebang with a for loop + + -- Sandro Tosi Wed, 26 Nov 2008 16:45:36 +0100 + +pylint (0.15.2-0) unstable; urgency=low + + * new upstream release + + -- Emile Anclin Mon, 13 Oct 2008 13:38:00 +0200 + +pylint (0.15.1-1) unstable; urgency=low + + * new upstream release + + -- Emile Anclin Mon, 15 Sep 2008 14:38:00 +0200 + +pylint (0.15.0-1) unstable; urgency=low + + * new upstream release + * Acknowledge NMU: thanks a lot, your patches have been backported in + upstream code (closes: #427244, #448102, #415485, #431653) + + -- Emile Anclin Wed, 10 Sep 2008 12:16:00 +0200 + +pylint (0.14.0-2.2) unstable; urgency=low + + * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490488. + + -- Matthias Klose Fri, 18 Jul 2008 15:53:30 +0000 + +pylint (0.14.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * BF: flavor -> debian-emacs-flavor in startup + * NF: added pylint-options variable visible to users to tune up (closes: + #427244) + * BF: reenabled installation of pylint.el (closes: #448102) + * Recent upstream of pylint.el fixed few bugs which weren't closed + in the upload to Debian. Since this is first upload which enables + pylint.el, imho it is ok to close them here (closes: #415485, #431653) + + -- Yaroslav Halchenko Mon, 03 Mar 2008 22:22:07 -0500 + +pylint (0.14.0-2) unstable; urgency=low + + * Acknowledge NMU by Kumar Appaiah (Closes: #454401) + * Debian upload of the new upstream release + * Install modules for all available python versions (Closes: #438438) + * new standards version, no changes required + + -- Alexandre Fayolle Wed, 13 Feb 2008 17:36:30 +0100 + +pylint (0.14.0-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Mon, 14 Jan 2008 13:34:24 +0100 + +pylint (0.13.2-2.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/pylint.postrm: + + Added to remove old Emacs mode upon purge. + (Closes: #454401) + + -- Kumar Appaiah Thu, 31 Jan 2008 22:27:18 +0530 + +pylint (0.13.2-2) unstable; urgency=low + + * Upload package to debian (closes: #426418) + * tests are no longer installed in /usr/share/doc/pylint, use the source + package to get them + * pylint.el is no longer installed for emacs, because it is not + compatible with emacs22. It will be reenabled in a future version, + when all the bugs have been dealt with by upstream. Emacs21 users may + get it from /usr/share/doc/pylint/examples/pylint.el. Added a note + about this in NEWS.Debian. + * Only Recommend python-tk and give a nicer warning in the pylint-gui + script if tkinter is not available. + * Updated versions of dependencies on logilab-common and astng + + -- Alexandre Fayolle Wed, 04 Jul 2007 12:21:24 +0200 + +pylint (0.13.2-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Thu, 07 Jun 2007 16:44:53 +0200 + +pylint (0.13.1-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Fri, 2 Mar 2007 08:24:08 +0100 + +pylint (0.13.0-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Thu, 22 Feb 2007 11:28:23 +0100 + +pylint (0.12.2-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Thu, 23 Nov 2006 16:08:28 +0100 + +pylint (0.12.1-1) unstable; urgency=low + + * new uptream release + + -- Sylvain Thénault Mon, 25 Sep 2006 16:46:40 +0200 + +pylint (0.12.0-2) unstable; urgency=low + + * Upload to Debian + * Fixed the XS-Python-Version value (closes: #388158) + + -- Alexandre Fayolle Tue, 19 Sep 2006 09:51:03 +0200 + +pylint (0.12.0-1) unstable; urgency=low + + * new upstream release + + -- Adrien.DiMascio Thu, 10 Aug 2006 11:18:50 +0200 + +pylint (0.11.0-2) unstable; urgency=low + + * Updated standards to 3.7.2 + * use debhelper 5 + * new python policy + + -- Alexandre Fayolle Thu, 15 Jun 2006 10:38:32 +0200 + +pylint (0.11.0-1) unstable; urgency=low + + * new upstream release, depending on python-astng 0.16 + * Applied Sebastian Rittau's patch to avoid NameError on InferenceError + exception (closes: #358194) + + -- Sylvain Thénault Wed, 19 Apr 2006 18:10:47 +0200 + +pylint (0.10.0-1) unstable; urgency=low + + * new upstream release, depending on python-astng 0.15 + + -- Sylvain Thénault Mon, 6 Mar 2006 09:43:19 +0100 + +pylint (0.9.0-3) unstable; urgency=low + + * Added missing provides/replaces/conflicts on pylint-test (closes: #352316) + + -- Alexandre Fayolle Mon, 13 Feb 2006 10:07:26 +0100 + +pylint (0.9.0-2) unstable; urgency=low + + * Build a single package which installs modules in /usr/lib/site-python + (closes: #351130) + * Remove duplication from man page (closes: #349689) + * Fixed typo in control file + * upload new release to Debian + + -- Alexandre Fayolle Fri, 10 Feb 2006 16:03:37 +0100 + +pylint (0.9.0-1) unstable; urgency=low + + * fix false positive with staticmethod used on a metaclass (closes: #341121) + * reorganization to install into site-python, removing the need for + pythonX.X- packages and for the pylint-common and pylint-test packages + + -- Sylvain Thénault Tue, 10 Jan 2006 14:19:57 +0100 + +pylint (0.8.1-1) unstable; urgency=low + + * added missing dependancy to logilab-astng + * added missing .docs and .examples files + * update control'standards-version to 3.6.2 + * fixed FSF address in the copyright file + * new upstream release + + -- Sylvain Thénault Mon, 7 Nov 2005 15:40:52 +0100 + +pylint (0.8.0-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Fri, 21 Oct 2005 18:44:24 +0200 + +pylint (0.7.0-1) unstable; urgency=low + + * new upstream release (closes: #310957) + + -- Sylvain Thénault Fri, 27 May 2005 11:17:44 +0200 + +pylint (0.6.4-1) unstable; urgency=low + + * new upstream release + * added man page for pylint + + -- Sylvain Thénault Thu, 14 Apr 2005 12:02:15 +0200 + +pylint (0.6.3-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Thu, 24 Feb 2005 17:44:35 +0100 + +pylint (0.6.2-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Wed, 16 Feb 2005 12:00:47 +0100 + +pylint (0.6.1-1) unstable; urgency=low + + * new upstream release + * added option to specify rc file location (closes: #265159) + + -- Sylvain Thénault Fri, 4 Feb 2005 16:48:09 +0100 + +pylint (0.6.0-1) unstable; urgency=low + + * new upstream release + * build package for python 2.4 + * remove unused directory from logilab-common.dirs + * updated copyright + + -- Sylvain Thénault Thu, 20 Jan 2005 18:06:29 +0100 + +pylint (0.5.0-2) unstable; urgency=low + + * Patched pylint.el using latest upsrteam CVS (closes: #280870) + + -- Alexandre Fayolle Mon, 15 Nov 2004 10:59:51 +0100 + +pylint (0.5.0-1) unstable; urgency=low + + * use Build-depends instead of Build-depends-indep in control + * new upstream release + * updated debian/watch file to version 2 + + -- Alexandre Fayolle Tue, 9 Nov 2004 16:22:47 +0100 + +pylint (0.4.2-2) unstable; urgency=low + + * fixed typos in debian/control (closes: #265156) + * updated description of pylint-test + * changed dependency on pylint-common to a recommendation (closes: #265157) + * updated maintainer address + + -- Alexandre Fayolle Sun, 15 Aug 2004 10:39:06 +0200 + +pylint (0.4.2-1) unstable; urgency=low + + * new upstream release + * initial upload to Debian (closes: #258235) + + -- Alexandre Fayolle Thu, 8 Jul 2004 12:54:18 +0200 + +pylint (0.4.0-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Mon, 10 May 2004 17:03:04 +0200 + +pylint (0.3.3-1) unstable; urgency=low + + * new upstream release + * emacs lisp for pylint in a new pylint-common package + + -- Sylvain Thénault Mon, 16 Feb 2004 18:09:23 +0100 + +pylint (0.3.2-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Tue, 23 Dec 2003 14:56:04 +0100 + +pylint (0.3.1-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Fri, 5 Dec 2003 16:20:44 +0100 + +pylint (0.3.0-1) unstable; urgency=low + + * new upstream release + * depends on logilab.common >= 0.4 + * build depends on debhelper >= 4.0 + + -- Sylvain Thénault Wed, 19 Nov 2003 11:07:45 +0100 + +pylint (0.2.1-2) unstable; urgency=low + + * fixed dependency on logilab-common (>=0.3.4) since earlier versions + caused bugs with some python2.3 code + * included sample pylintrc files with the documentation + * added documentation that had disappeared in the previous 0.2.1-1 + * only puts html documentation in doc/html/, all others in doc/ + + -- Sylvain Thénault Fri, 10 Oct 2003 12:11:53 +0200 + +pylint (0.2.1-1) unstable; urgency=low + + * new upstream release + * package renamed to pylint instead of logilab-pylint + * move tests in a separated package + + -- Sylvain Thénault Fri, 10 Oct 2003 09:39:22 +0200 + +logilab-pylint (0.2.0-1) unstable; urgency=low + + * new upstream release + * dropped python2.1 support + + -- Sylvain Thénault Fri, 12 Sep 2003 18:26:15 +0200 + +logilab-pylint (0.1.2-1) unstable; urgency=low + + * new upstream release + + -- Sylvain Thénault Wed, 11 Jun 2003 15:21:44 +0200 + +logilab-pylint (0.1.1-2) unstable; urgency=low + + * fix dependencie to logilab.common + + -- Sylvain Thénault Wed, 4 Jun 2003 18:07:45 +0200 + +logilab-pylint (0.1.1-1) unstable; urgency=low + + * New upstream release + + -- Sylvain Thénault Mon, 19 May 2003 15:10:25 +0200 + +logilab-pylint (0.1.0-1) unstable; urgency=low + + * Initial Release. + + -- Sylvain Thénault Wed, 23 Apr 2003 14:42:05 +0200 + --- pylint-1.1.0.orig/debian/compat +++ pylint-1.1.0/debian/compat @@ -0,0 +1 @@ +9 --- pylint-1.1.0.orig/debian/control +++ pylint-1.1.0/debian/control @@ -0,0 +1,37 @@ +Source: pylint +Section: python +Priority: optional +Maintainer: Python Applications Packaging Team +Uploaders: Sylvain Thénault , Alexandre Fayolle , Sandro Tosi +Build-Depends: debhelper (>= 9), python (>= 2.6.6-3~) +Build-Depends-Indep: python-logilab-common (>= 0.53.0), python-astroid, python-unittest2 +Standards-Version: 3.9.5 +XS-Python-Version: >= 2.6 +Homepage: http://www.pylint.org/ +Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pylint/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/pylint/trunk/ + +Package: pylint +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common (>= 0.53.0), python-astroid +Recommends: python-tk +Description: python code static checker and UML diagram generator + Pylint is a Python source code analyzer which looks for programming + errors, helps enforcing a coding standard and sniffs for some code + smells (as defined in Martin Fowler's Refactoring book) + . + Pylint can be seen as another PyChecker since nearly all tests you + can do with PyChecker can also be done with Pylint. However, Pylint + offers some more features, like checking length of lines of code, + checking if variable names are well-formed according to your coding + standard, or checking if declared interfaces are truly implemented, + and much more. + . + Additionally, it is possible to write plugins to add your own checks. + . + The package also ships the following additional commands: + . + * pyreverse: an UML diagram generator + * symilar: an independent similarities checker + * epylint: Emacs and Flymake compatible Pylint + * pylint-gui: a graphical interface (reason for python-tk recommends) --- pylint-1.1.0.orig/debian/copyright +++ pylint-1.1.0/debian/copyright @@ -0,0 +1,48 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pylint +Source: http://www.pylint.org/ + +Files: * +Copyright: Copyright (c) 2003-2010 Sylvain Thenault (thenault@gmail.com). + Copyright (c) 2000-2013 LOGILAB S.A. (Paris, FRANCE). +License: GPL-2+ + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License v2 + may be found in '/usr/share/common-licenses/GPL-2'. + +Files: debian/* +Copyright: Copyright (C) 2008-2014, Sandro Tosi +License: GPL-2+ + +Files: checkers/logging.py +Copyright: Copyright (c) 2009-2010 Google, Inc. +License: GPL-2+ + +Files: checkers/base.py checkers/strings.py +Copyright: Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE). + Copyright (c) 2009-2010 Arista Networks, Inc. +License: GPL-2+ + +Files: elisp/pylint.el +Copyright: Copyright (c) 2009, 2010 Ian Eure +License: GPL-2+ + +Files: checkers/stdlib.py +Copyright: Copyright 2012 Google Inc. +License: GPL-2+ + +Files: test/test_misc.py test/test_utils.py +Copyright: Copyright 2013 Google Inc. All Rights Reserved. +License: GPL-2+ --- pylint-1.1.0.orig/debian/pylint.dirs +++ pylint-1.1.0/debian/pylint.dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/pylint --- pylint-1.1.0.orig/debian/pylint.docs +++ pylint-1.1.0/debian/pylint.docs @@ -0,0 +1,2 @@ +#doc/* +README --- pylint-1.1.0.orig/debian/pylint.emacsen-install +++ pylint-1.1.0/debian/pylint.emacsen-install @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/#PACKAGE# + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=pylint + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 --- pylint-1.1.0.orig/debian/pylint.emacsen-remove +++ pylint-1.1.0/debian/pylint.emacsen-remove @@ -0,0 +1,14 @@ +#!/bin/sh -e + +FLAVOR=$1 +PACKAGE=pylint + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- pylint-1.1.0.orig/debian/pylint.emacsen-startup +++ pylint-1.1.0/debian/pylint.emacsen-startup @@ -0,0 +1,17 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux pylint package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The pylint package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(setq load-path (cons (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/pylint") load-path)) +(load-library "pylint") --- pylint-1.1.0.orig/debian/pylint.examples +++ pylint-1.1.0/debian/pylint.examples @@ -0,0 +1,2 @@ +examples/* +elisp/pylint.el --- pylint-1.1.0.orig/debian/pylint.manpages +++ pylint-1.1.0/debian/pylint.manpages @@ -0,0 +1 @@ +man/*.1 --- pylint-1.1.0.orig/debian/pylint.postrm +++ pylint-1.1.0/debian/pylint.postrm @@ -0,0 +1,10 @@ +#! /bin/sh + +set -e + +if [ "$1" = "purge" ]; then + # remove old emacs file + rm -f /etc/emacs/site-start.d/50pylint.el +fi + +#DEBHELPER# --- pylint-1.1.0.orig/debian/rules +++ pylint-1.1.0/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS := $(shell pyversions -s -v) + +%: + dh $@ --with python2 + +override_dh_auto_build: + dh_auto_build + NO_SETUPTOOLS=1 python setup.py -q build + +override_dh_auto_test: +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + # use the default python version to select the script dir to run the tests + -./test/fulltest.sh $(PYVERS) +endif + + +override_dh_auto_install: + NO_SETUPTOOLS=1 python setup.py -q install --no-compile \ + --root=$(CURDIR)/debian/pylint \ + --install-layout=deb + + rm -rf debian/pylint/usr/lib/python*/*-packages/pylint/test + + # fixes shebangs + for exec in pylint pylint-gui symilar ; do \ + if head -1 debian/pylint/usr/bin/$$exec | grep "^#! */usr/bin" | grep "python" >/dev/null ; then \ + sed -i "s@^#! */usr/bin/env \+python\$$@#!/usr/bin/python@" debian/pylint/usr/bin/$$exec; \ + fi ; \ + chmod a+x debian/pylint/usr/bin/$$exec; \ + done + + install -m 644 elisp/pylint.el debian/pylint/usr/share/emacs/site-lisp/pylint/ + +override_dh_installchangelogs: + dh_installchangelogs -i ChangeLog + +override_dh_compress: + dh_compress -i -X.py -X.ini -X.xml -Xtest --- pylint-1.1.0.orig/debian/source/format +++ pylint-1.1.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- pylint-1.1.0.orig/debian/watch +++ pylint-1.1.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://pypi.python.org/packages/source/p/pylint/pylint-(.*)\.tar.gz