This is an automated email from the git hooks/post-receive script. abe pushed a commit to branch ppt-lc-mover in repository pkg-perl-tools.
commit b3070c7dcfec33082799c341643f00ba360fe3e0 Author: Axel Beckert <a...@deuxchevaux.org> Date: Thu Aug 13 21:34:47 2015 +0200 Move no-perl-modules lintian check to lintian proper --- debian/changelog | 4 +-- lintian/checks/pkg-perl/no-perl-modules.desc | 11 ------- lintian/checks/pkg-perl/no-perl-modules.pm | 43 ---------------------------- 3 files changed, 2 insertions(+), 56 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7f99bb1..0f61edc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,8 @@ pkg-perl-tools (0.23) UNRELEASED; urgency=medium [ Axel Beckert ] * Fix patchedit to not expect a file in $PATH as $EDITOR but to support $EDITOR to contain commandline options. - * Move application-not-library and modulebuild lintian checks to lintian - proper. + * Move application-not-library, modulebuild, and no-perl-modules lintian + checks to lintian proper. * Rewrite module-name check (tag no-module-name-in-description) as binary check and integrate it into lintian's description check as tag perl-module-name-not-mentioned-in-description. diff --git a/lintian/checks/pkg-perl/no-perl-modules.desc b/lintian/checks/pkg-perl/no-perl-modules.desc deleted file mode 100644 index 7396e30..0000000 --- a/lintian/checks/pkg-perl/no-perl-modules.desc +++ /dev/null @@ -1,11 +0,0 @@ -Check-Script: pkg-perl/no-perl-modules -Author: Damyan Ivanov <d...@debian.org> -Type: binary -Info: ensure there are no dependencies on perl-modules - -Tag: depends-on-perl-modules -Severity: important -Certainty: certain -Info: No package should depend on 'perl-modules'. Instead, a suitable - dependency on 'perl' should be used. The existence of the perl-modules - package is an implementation detail of the perl packaging. diff --git a/lintian/checks/pkg-perl/no-perl-modules.pm b/lintian/checks/pkg-perl/no-perl-modules.pm deleted file mode 100644 index f54c6d4..0000000 --- a/lintian/checks/pkg-perl/no-perl-modules.pm +++ /dev/null @@ -1,43 +0,0 @@ -# pkg-perl/no_perl_modules -- lintian check script for depending in perl-modules -*- perl -*- -# -# Copyright © 2013 Niels Thykier <ni...@thykier.net> -# Copyright © 2013 gregor herrmann <gre...@debian.org> -# Copyright © 2013 Axel Beckert <a...@debian.org> -# Copyright © 2014 Damyan Ivanov <d...@debian.org> -# -# 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, you can find it on the World Wide -# Web at http://www.gnu.org/copyleft/gpl.html, or write to the Free -# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, -# MA 02110-1301, USA. - -package Lintian::pkg_perl::no_perl_modules; - -use strict; -use warnings; - -use Lintian::Tags qw(tag); - -sub run { - my ( $pkg, $type, $info, $proc, $group ) = @_; - - my @rels = qw(Pre-Depends Depends Recommends Suggests Conflicts Breaks); - for my $rel (@rels) { - tag 'depends-on-perl-modules', $rel - if $info->relation($rel)->matches(qr(^perl-modules$)); - } - - return; -} - -1; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits