dh_python2 and dh_python3 are moved to new dh-python binary package.

Python3 depends on this new package, python cannot do that (newer
dh_python2 is implemented in Python 3.X and shares codebase with
dh_python3, requiring python3 to install python is not an option).
python package provides an older copy of dh_python2 for the time being.
L::T::WritingChecks: Update now that "coll/index" is gone

Signed-off-by: Niels Thykier <niels@thykier.net>
Use license checking framework for checking php license

Instead of parsing debian/copyright use license checking framework.

Closes: #752540
Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix test suite

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Add checks for backports version number and changes

Add check for backport

[BR] Add test suite.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix test suite

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix a false positive for missing-pkg-php-tools-addon phpcomposer

hh --with parsing was defficient. Allow ,something after every block.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix a source-is-missing false positive

Add debug source suffix for detecting javascript
source-is-missing and improve test suite. Fix a
false postive in mono.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix test suite

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix test suite

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Add checker for timestamped gzip files

There is an ongoing project to build reproducible deps
(see https://wiki.debian.org/ReproducibleBuilds). One of tasks
is to update lintian to emit a tag on gzips that contain timestamps.
I've written a simple checker that does exactly that and emits
"package-contains-timestamped-gzip".

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix testsuite by using gzip -n

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix left over for fixing test suite

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Warn about no dep-5 copyright

Dep-5 help lintian so add a pendatic warn about no dep-5 copyright

Use dep-5 for lintian template.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Use dep-5 for debian/copyright

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Fix test suite

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Move dep5 checking to it own subroutine

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Run perltidy

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Move version and opening changelog to_check_dep5_copyright

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Bail out early if dep 5 not found

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>