Bug#507273: lintian: please skip __init__.py from zero-byte-file-in-doc-directory check

2008-11-29 Thread Sandro Tosi
Package: lintian
Version: 2.0.0
Severity: minor

Hello,
__init__.py could be zero-sized, just to mark a directory as a python module,
and sometimes such dir are installed in doc/ of the package, so please skip that
file from the zero-byte-file-in-doc-directory check.

Thanks in advance (and for your huge work),
Sandro

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  diffstat1.46-1   produces graph of changes introduc
ii  dpkg-dev1.14.22  Debian package development tools
ii  file4.26-1   Determines file type using magic
ii  gettext 0.17-4   GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2  parse Debian changelogs and output
ii  libtimedate-perl1.1600-9 Time and date functions for Perl
ii  liburi-perl 1.35.dfsg.1-1Manipulates and accesses URI strin
ii  man-db  2.5.2-3  on-line manual pager
ii  perl [libdigest-sha 5.10.0-17Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarchnone (no description available)
pn  libtext-template-perl none (no description available)
ii  man-db2.5.2-3on-line manual pager

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#507273: lintian: please skip __init__.py from zero-byte-file-in-doc-directory check

2008-11-29 Thread Frank Lichtenheld
On Sat, Nov 29, 2008 at 05:40:05PM +0100, Sandro Tosi wrote:
 __init__.py could be zero-sized, just to mark a directory as a python 
 module,
 and sometimes such dir are installed in doc/ of the package, so please skip 
 that
 file from the zero-byte-file-in-doc-directory check.

We already skip zero-byte-file-in-doc-directory if the file is under
examples/.

But yeah, looking at the tag page, __init__.py and html/*.map
might be good candidates for overriding it even outside of that.

Gruesse,
-- 
Frank Lichtenheld [EMAIL PROTECTED]
www: http://www.djpig.de/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]