debian/0000755000000000000000000000000012217665715007202 5ustar debian/repack.local0000644000000000000000000000002412217665715011457 0ustar MANIFEST=1 rm t/eg/ debian/compat0000644000000000000000000000000212217665715010400 0ustar 8 debian/copyright0000644000000000000000000000256012217665715011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Module-CPANTS-Analyse Upstream-Contact: Lars Dɪᴇᴄᴋᴏᴡ Source: https://metacpan.org/release/Module-CPANTS-Analyse/ Files: * Copyright: 2003–2009, Thomas Klausner 2006–2008, Gábor Szabó 2006, Steffen Müller 2012, Lars Dɪᴇᴄᴋᴏᴡ License: Artistic or GPL-1+ Files: debian/* Copyright: 2009, Jonathan Yu 2009, Ryan Niebur 2009, Peter Pentchev 2011-2012, gregor herrmann 2013, Florian Schlichting License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000112412217665715010260 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_test: dh_auto_test -- --test_files "$(shell ls t/*.t | grep -v analyse | grep -v t/calc_test_yaml_meta.t | grep -v t/unpack | grep -v t/calc.t | grep -v t/generated_files.t | grep -v t/moose_as_strict.t | grep -v t/plugin_manifest.t | grep -v t/perl5i | grep -v 11_hash_random)" override_dh_auto_install: dh_auto_install mv $(TMP)/usr/bin/cpants_lint.pl $(TMP)/usr/bin/cpants_lint mv $(TMP)/usr/share/man/man1/cpants_lint.pl.1p $(TMP)/usr/share/man/man1/cpants_lint.1p debian/watch0000644000000000000000000000031412217665715010231 0ustar version=3 opts="dversionmangle=s/\+dfsg//" \ https://metacpan.org/release/Module-CPANTS-Analyse/ .*/Module-CPANTS-Analyse-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ debian sh debian/repack.stub debian/control0000644000000000000000000000563712217665715010620 0ustar Source: libmodule-cpants-analyse-perl Maintainer: Debian Perl Group Uploaders: Peter Pentchev , Jonathan Yu , Ryan Niebur , gregor herrmann , Florian Schlichting Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl (>= 5.17.1) | libmodule-build-perl (>= 0.400000) Build-Depends-Indep: perl, libarchive-any-lite-perl, libarray-diff-perl, libclass-accessor-perl, libcpan-distnameinfo-perl, libcpan-meta-perl (>= 2.131490) | perl (>= 5.19.1), perl (>= 5.17.1) | libcpan-meta-yaml-perl (>= 0.008), libfile-find-rule-vcs-perl, libio-capture-perl, libmodule-extractuse-perl (>= 0.30), libmodule-pluggable-perl | perl (<< 5.17.0), libreadonly-perl, libset-scalar-perl, libsoftware-license-perl, libtest-deep-perl, libtest-nowarnings-perl, libtest-warn-perl, libyaml-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmodule-cpants-analyse-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmodule-cpants-analyse-perl.git Homepage: https://metacpan.org/release/Module-CPANTS-Analyse/ Package: libmodule-cpants-analyse-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libarchive-any-lite-perl, libarray-diff-perl, libclass-accessor-perl, libcpan-distnameinfo-perl, libcpan-meta-perl (>= 2.131490) | perl (>= 5.19.1), perl (>= 5.17.1) | libcpan-meta-yaml-perl (>= 0.008), libfile-find-rule-vcs-perl, libio-capture-perl, libmodule-extractuse-perl (>= 0.30), libmodule-pluggable-perl | perl (<< 5.17.0), libreadonly-perl, libset-scalar-perl, libsoftware-license-perl, libyaml-perl Description: Perl module to generate Kwalitee ratings for a distribution Module::CPANTS::Analyse is a utility module used by Test::Kwalitee and others to analyse CPAN distributions and determine their Kwalitee. Kwalitee is a set of software metrics useful for determine how good your software is; it's not true software quality, which your computer can't measure in a general sense. (If you can, you've solved a hard problem in computer science.) . Kwalitee looks like quality, sounds like quality, but it's not quite quality. If you plan to release a distribution to the CPAN -- or even within your own organization -- testing its Kwalitee before creating a release can help you improve your quality as well. debian/source/0000755000000000000000000000000012217665715010502 5ustar debian/source/format0000644000000000000000000000001412217665715011710 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012217665715010631 5ustar debian/patches/series0000644000000000000000000000003412217665715012043 0ustar 01-cpants-lint-rename.patch debian/patches/01-cpants-lint-rename.patch0000644000000000000000000000245312217665715015575 0ustar Description: cpants_lint.pl is installed as cpants_lint Origin: vendor Forwarded: not-needed Author: Jonathan Yu Reviewed-by: gregor herrmann Last-Update: 2012-06-08 --- a/bin/cpants_lint.pl +++ b/bin/cpants_lint.pl @@ -137,11 +137,11 @@ =head1 NAME -cpants_lint.pl - commandline frontend to Module::CPANTS::Analyse +cpants_lint - commandline frontend to Module::CPANTS::Analyse =head1 SYNOPSIS - cpants_lint.pl path/to/Foo-Dist-1.42.tgz + cpants_lint path/to/Foo-Dist-1.42.tgz Options: --help brief help message @@ -158,9 +158,9 @@ =head1 DESCRIPTION -C checks the B of CPAN distributions. More exact, it checks how a given tarball will be rated on C, without needing to upload it first. +C checks the B of CPAN distributions. More exact, it checks how a given tarball will be rated on C, without needing to upload it first. -C is also used by C itself to check all dists on CPAN. +C is also used by C itself to check all dists on CPAN. For more information on Kwalitee, and the whole of CPANTS, see C and / or C. debian/changelog0000644000000000000000000000715412217665715011063 0ustar libmodule-cpants-analyse-perl (0.92+dfsg-1) unstable; urgency=low * Team upload. * Imported Upstream version 0.92+dfsg * Add alternative (build-)dependency for Module::Pluggable. Module::Pluggable will be removed from Perl core in 5.20 and emits now a warning with 5.18. This causes build failures in tests with 'no warning'. Also add the stricter dependency in Depends to avoid deprecation warnings at runtime. (Closes: #724237) * Switch alternatives for modules in core with version satisfied in perl 5.18 -- Salvatore Bonaccorso Mon, 23 Sep 2013 00:14:06 +0200 libmodule-cpants-analyse-perl (0.91+dfsg-1) unstable; urgency=low * Import Upstream version 0.91+dfsg -- Florian Schlichting Sun, 08 Sep 2013 23:24:20 +0200 libmodule-cpants-analyse-perl (0.88+dfsg-1) unstable; urgency=low [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. * Update debian/repack.stub. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Florian Schlichting ] * Import Upstream version 0.88+dfsg (closes: #542401). * Bump Standards-Version to 3.9.4 (no change). * Update (build-)dependencies. * Drop 02-cpantserrors-pod.patch, applied upstream. * Drop 03-yaml.patch, YAML::Any is now available in libyaml-perl. * Do not run t/11_hash_random.t as it depends on removed example archive. * Add myself to uploaders and copyright. -- Florian Schlichting Sun, 11 Aug 2013 14:04:28 +0200 libmodule-cpants-analyse-perl (0.86+dfsg-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * New upstream release. * Drop patch 03-test-yaml-meta_test-cpan-meta.patch (applied upstream); refresh remaining patches. * Update build/runtime dependencies. * Add patch to use YAML::Syck again (no YAML::Any in Debian); adjust dependencies. * Skip more tests that would need the removed tarballs. * Remove unused lintian override. * debian/copyright: update maintainer, upstream & packaging copyright. * debian/copyright: update to Copyright-Format 1.0. * Bump Standards-Version to 3.9.3 (no changes). -- gregor herrmann Fri, 08 Jun 2012 23:12:39 +0200 libmodule-cpants-analyse-perl (0.85+dfsg-2) unstable; urgency=low [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ Ryan Niebur ] * Email change: Jonathan Yu -> jawnsy@cpan.org * Email change: Ryan Niebur -> ryan@debian.org [ gregor herrmann ] * Add a patch from the CPAN RT to use Test::CPAN::Meta::YAML::Version instead of the vanished Test::YAML::Meta::Version (closes: #621468). Adjust build and runtime dependency accordingly. * Switch to source format 3.0 (quilt). * Switch to debhelper 8; update debian/rules (Module::Build has different parameters than EUMM). * Add /me to Uploaders. * debian/copyright: update formatting. * Add a spelling fix to 02-cpantserrors-pod.patch. * Set Standards-Version to 3.9.2 (no further changes). * debian/control: remove versions from (build) dependencies, they are all satisfied in at least oldstable. -- gregor herrmann Thu, 07 Apr 2011 22:58:27 +0200 libmodule-cpants-analyse-perl (0.85+dfsg-1) unstable; urgency=low * Initial Release. (Closes: #525300) -- Jonathan Yu Fri, 24 Jul 2009 19:12:43 -0400 debian/clean0000644000000000000000000000002212217665715010201 0ustar Debian_CPANTS.txt debian/repack.stub0000755000000000000000000000346412217665715011360 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sourced under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =head1 COPYRIGHT AND LICENSE Copyright 2009, Ryan Niebur License: Artistic or GPL-1+ =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=blob_plain;f=repack.sh;hb=HEAD" exit 1 fi exec "$REPACK_SH" "$@"