summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorroot <devnull@localhost>2006-04-26 10:48:09 +0000
committerroot <devnull@localhost>2006-04-26 10:48:09 +0000
commiteea76f1da01a33dec2afc42119e001e4350aaea2 (patch)
tree3bb03a16daa8c780bf60c622dc288eb01cfca145 /debian
downloadpylint-eea76f1da01a33dec2afc42119e001e4350aaea2.tar.gz
forget the past.
forget the past.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog205
-rw-r--r--debian/control30
-rw-r--r--debian/copyright29
-rw-r--r--debian/pylint.dirs7
-rw-r--r--debian/pylint.docs6
-rw-r--r--debian/pylint.emacsen-install45
-rw-r--r--debian/pylint.emacsen-remove14
-rw-r--r--debian/pylint.emacsen-startup17
-rw-r--r--debian/pylint.examples1
-rw-r--r--debian/pylint.manpages1
-rw-r--r--debian/pylint.postinst24
-rw-r--r--debian/pylint.prerm14
-rw-r--r--debian/rules84
-rw-r--r--debian/watch3
14 files changed, 480 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c28605e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,205 @@
+pylint (0.11.0-1) unstable; urgency=low
+
+ * new upstream release, depending on python-astng 0.16
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> 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 <afayolle@debian.org> 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 <afayolle@debian.org> 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 <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> Mon, 7 Nov 2005 15:40:52 +0100
+
+pylint (0.8.0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 21 Oct 2005 18:44:24 +0200
+
+pylint (0.7.0-1) unstable; urgency=low
+
+ * new upstream release (closes: #310957)
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> Thu, 14 Apr 2005 12:02:15 +0200
+
+pylint (0.6.3-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> Thu, 24 Feb 2005 17:44:35 +0100
+
+pylint (0.6.2-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> 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 <afayolle@debian.org> 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 <afayolle@debian.org> 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 <afayolle@debian.org> 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 <alexandre.fayolle@logilab.fr> Thu, 8 Jul 2004 12:54:18 +0200
+
+pylint (0.4.0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> Mon, 16 Feb 2004 18:09:23 +0100
+
+pylint (0.3.2-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> Tue, 23 Dec 2003 14:56:04 +0100
+
+pylint (0.3.1-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> Fri, 12 Sep 2003 18:26:15 +0200
+
+logilab-pylint (0.1.2-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> 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 <sylvain.thenault@logilab.fr> Wed, 4 Jun 2003 18:07:45 +0200
+
+logilab-pylint (0.1.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 19 May 2003 15:10:25 +0200
+
+logilab-pylint (0.1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 23 Apr 2003 14:42:05 +0200
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..25560a0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: pylint
+Section: python
+Priority: optional
+Maintainer: Sylvain Thenault <sylvain.thenault@logilab.fr>
+Uploaders: Alexandre Fayolle <afayolle@debian.org>
+Build-Depends: debhelper (>= 4.0.0), python-dev
+Standards-Version: 3.6.2
+
+Package: pylint
+Architecture: all
+Depends: python, python-logilab-common (>= 0.13.0), python-logilab-astng (>= 0.16.0), python-tk, emacsen-common
+Provides: python2.2-pylint, python2.3-pylint, python2.4-pylint, pylint-common, pylint-test
+Conflicts: python2.2-pylint, python2.3-pylint, python2.4-pylint, pylint-common, pylint-test
+Replaces: python2.2-pylint, python2.3-pylint, python2.4-pylint, pylint-common, pylint-test
+Description: python code static checker
+ 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.
+ .
+ Homepage: http://www.logilab.org/projects/pylint
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e574a13
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Sylvain Thenault <sylvain.thenault@logilab.fr> Sat, 13 Apr 2002 19:05:23 +0200.
+
+It was downloaded from ftp://ftp.logilab.org/pub/pylint
+
+Upstream Author:
+
+ Sylvain Thenault <sylvain.thenault@logilab.fr>
+
+Copyright:
+
+Copyright (c) 2003-2006 Sylvain Thenault (thenault@gmail.com).
+Copyright (c) 2003-2006 LOGILAB S.A. (Paris, FRANCE).
+http://www.logilab.fr/ -- mailto:contact@logilab.fr
+
+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
+may be found in '/usr/share/common-licenses/GPL'.
diff --git a/debian/pylint.dirs b/debian/pylint.dirs
new file mode 100644
index 0000000..3b56eda
--- /dev/null
+++ b/debian/pylint.dirs
@@ -0,0 +1,7 @@
+usr/lib/site-python
+usr/lib/site-python/pylint
+usr/share/doc/pylint
+usr/share/emacs/site-lisp/
+usr/share/emacs/site-lisp/pylint
+usr/share/doc/pylint
+usr/share/doc/pylint/test
diff --git a/debian/pylint.docs b/debian/pylint.docs
new file mode 100644
index 0000000..27ad787
--- /dev/null
+++ b/debian/pylint.docs
@@ -0,0 +1,6 @@
+doc/features.html
+doc/quickstart.html
+doc/FAQ.html
+doc/FAQ.txt
+doc/quickstart.txt
+doc/features.txt
diff --git a/debian/pylint.emacsen-install b/debian/pylint.emacsen-install
new file mode 100644
index 0000000..66a8480
--- /dev/null
+++ b/debian/pylint.emacsen-install
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/#PACKAGE#
+
+# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+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
diff --git a/debian/pylint.emacsen-remove b/debian/pylint.emacsen-remove
new file mode 100644
index 0000000..9795dc4
--- /dev/null
+++ b/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
diff --git a/debian/pylint.emacsen-startup b/debian/pylint.emacsen-startup
new file mode 100644
index 0000000..646bd81
--- /dev/null
+++ b/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 <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
+
+;; 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")
diff --git a/debian/pylint.examples b/debian/pylint.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/pylint.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/pylint.manpages b/debian/pylint.manpages
new file mode 100644
index 0000000..12b9a33
--- /dev/null
+++ b/debian/pylint.manpages
@@ -0,0 +1 @@
+man/pylint.1
diff --git a/debian/pylint.postinst b/debian/pylint.postinst
new file mode 100644
index 0000000..aa64362
--- /dev/null
+++ b/debian/pylint.postinst
@@ -0,0 +1,24 @@
+#! /bin/sh -e
+#
+
+
+
+# precompile python files
+VERSION=2.3
+PACKAGEDIR=/usr/lib/site-python/pylint
+case "$1" in
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ python$VERSION -O /usr/lib/python$VERSION/compileall.py -q $PACKAGEDIR
+ python$VERSION /usr/lib/python$VERSION/compileall.py -q $PACKAGEDIR
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/pylint.prerm b/debian/pylint.prerm
new file mode 100644
index 0000000..dbe2144
--- /dev/null
+++ b/debian/pylint.prerm
@@ -0,0 +1,14 @@
+#! /bin/sh -e
+#
+
+# remove .pyc and .pyo files
+dpkg --listfiles pylint |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2
+
+
+
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..35284a4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+#
+# adapted by Logilab for automatic generation by debianize
+# (part of the devtools project, http://www.logilab.org/projects/devtools)
+#
+# Copyright (c) 2003-2005 LOGILAB S.A. (Paris, FRANCE).
+# http://www.logilab.fr/ -- mailto:contact@logilab.fr
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ python setup.py -q build
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ rm -rf build
+ find . -name "*.pyc" | xargs rm -f
+ rm -f changelog.gz
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ python setup.py -q install_lib --no-compile --install-dir=debian/pylint/usr/lib/site-python
+ python setup.py -q install_headers --install-dir=debian/pylint/usr/include/
+ python setup.py -q install_scripts --install-dir=debian/pylint/usr/bin/
+ # remove test directory (installed in a separated package)
+ rm -rf debian/pylint/usr/lib/site-python/pylint/test
+ if head -1 debian/pylint/usr/bin/pylint | grep "^#! */usr/bin" | grep "python" >/dev/null ; then \
+ sed -i "s@^#! */usr/bin/env \+python\$$@#!/usr/bin/python@" debian/pylint/usr/bin/pylint; \
+ fi
+ chmod a+x debian/pylint/usr/bin/pylint
+ if head -1 debian/pylint/usr/bin/pylint-gui | grep "^#! */usr/bin" | grep "python" >/dev/null ; then \
+ sed -i "s@^#! */usr/bin/env \+python\$$@#!/usr/bin/python@" debian/pylint/usr/bin/pylint-gui; \
+ fi
+ chmod a+x debian/pylint/usr/bin/pylint-gui
+ if head -1 debian/pylint/usr/bin/symilar | grep "^#! */usr/bin" | grep "python" >/dev/null ; then \
+ sed -i "s@^#! */usr/bin/env \+python\$$@#!/usr/bin/python@" debian/pylint/usr/bin/symilar; \
+ fi
+ chmod a+x debian/pylint/usr/bin/symilar
+ install -m 644 elisp/pylint.el debian/pylint/usr/share/emacs/site-lisp/pylint/
+ # install tests
+ (cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/pylint/usr/share/doc/pylint/test/{} \;)
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_install -i
+ gzip -9 -c ChangeLog > changelog.gz
+ dh_installchangelogs -i
+ dh_installexamples -i
+ dh_installdocs -i README TODO changelog.gz
+ dh_installman -i
+ dh_installemacsen
+ dh_link -i
+ dh_compress -i -X.py -X.ini -X.xml -Xtest
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+
+
+binary: binary-indep
+.PHONY: build clean binary binary-indep
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..52cc0a2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=2
+ftp://ftp.logilab.org/pub/pylint/pylint-(.*)\.tar\.gz debian uupdate
+