debian/0000755000000000000000000000000012157353712007174 5ustar debian/rules0000755000000000000000000000003612157353712010253 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000221612157353712010600 0ustar Source: libtest-autoloader-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libtest-pod-perl, libtest-tester-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-autoloader-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-autoloader-perl.git Homepage: https://metacpan.org/release/Test-AutoLoader/ Package: libtest-autoloader-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: testing utility for autosplit/autoloaded modules Test::AutoLoader single-purpose module attempts to eliminate uncaught syntax errors or other obvious goofs in subroutines that are autosplit, and hence not looked at by "perl -c Module.pm". Ideally, this module will become unnecessary as you reach full coverage of those subroutines in your unit tests. Until that happy day, however, this should provide a quick and dirty backstop for embarrassing typos. debian/source/0000755000000000000000000000000012157353712010474 5ustar debian/source/format0000644000000000000000000000001412157353712011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000137712157353712011056 0ustar libtest-autoloader-perl (0.03-2) unstable; urgency=low * Team upload. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add patch from CPAN RT to fix build failure with Perl >= 5.16. (Closes: #711259) * debian/copyright: switch formatting to Copyright-Format 1.0. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.4 (no further changes). -- gregor herrmann Sun, 16 Jun 2013 17:20:25 +0200 libtest-autoloader-perl (0.03-1) unstable; urgency=low * Initial Release. (Closes: #616490) -- Nicholas Bamber Sat, 05 Mar 2011 10:29:50 +0000 debian/compat0000644000000000000000000000000212157353712010372 0ustar 8 debian/patches/0000755000000000000000000000000012157353712010623 5ustar debian/patches/notests.patch0000644000000000000000000000054112157353712013343 0ustar Author: Nicholas Bamber Subject: incorrect number of tests Bug: http://rt.cpan.org/Ticket/Display.html?id=66399 Last-Update: 2011-03-05 --- a/t/00basic.t +++ b/t/00basic.t @@ -7,7 +7,7 @@ eval "use Test::Pod 0.95"; $NO_TEST_POD = $@; } -use Test::More tests=>54; +use Test::More tests=>64; use POSIX; use strict; debian/patches/Test-AutoLoader-0.03-Skip-POSIX-tests-with-perl-5.16.patch0000644000000000000000000000463412157353712022451 0ustar Description: [perldelta 5.16] POSIX no longer uses AutoLoader. Any code which was relying on this implementation detail was buggy, and may fail because of this change. Not using AutoLoader is the reason why the al files are missing. Origin: CPAN RT Bug: https://rt.cpan.org/Ticket/Display.html?id=77942 Forwarded: not-needed Bug-Debian: http://bugs.debian.org/711259 Reviewed-by: gregor herrmann Last-Update: 2013-06-16 From 7f347d684936c6108e658ba6c12e43b7e62562f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 21 Jun 2012 10:49:01 +0200 Subject: [PATCH] Skip POSIX tests with perl 5.16 --- t/00basic.t | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/t/00basic.t b/t/00basic.t index 94f1a4f..462d8e0 100644 --- a/t/00basic.t +++ b/t/00basic.t @@ -35,6 +35,7 @@ require EmptyModule; my @unreadable = (File::Spec->catdir(qw(tlib auto TestBusted1)), File::Spec->catfile(qw(tlib auto TestBusted2 no_ready.al))); my $CAN_CHMOD = chmod 0000, @unreadable; +my $POSIX_USES_AUTOLOAD = $^V lt v5.16.0; my $file_errors; $file_errors .=<1,name=>"Autoload of POSIX (all files)"},"Standard-distribution module, all files"], - [ [qw(POSIX strcpy)],{ok=>1,name=>"Autoload of POSIX (listed subroutines)"},"Standard-distribution module, one file"], [ [qw(POSIX no_such_function)], {ok=>0,diag=>" couldn't load no_such_function.al: No such file or directory"}, "Standard-distribution, bad subroutine name"], [ [qw(strict)], {ok=>0,diag=>"Unable to find valid autoload directory for strict"}, "Non-existent auto directory"], [ [qw(EmptyModule)], {ok=>0,diag=>"No autoloaded files found"}, "No files in auto directory"], @@ -59,6 +58,14 @@ my @tests = ( ); +if ($POSIX_USES_AUTOLOAD) { + push @tests, + [ ['POSIX'],{ok=>1,name=>"Autoload of POSIX (all files)"},"Standard-distribution module, all files"], + [ [qw(POSIX strcpy)],{ok=>1,name=>"Autoload of POSIX (listed subroutines)"},"Standard-distribution module, one file"]; +} else { + SKIP:{skip "POSIX module does not use AutoLoader",12} +} + if ($CAN_CHMOD) { push @tests, [ [qw(TestBusted1)], {ok=>0,diag=>"Unable to find valid autoload directory for TestBusted1"}, "Unreadable auto directory"], -- 1.7.7.6 debian/patches/series0000644000000000000000000000011112157353712012031 0ustar notests.patch Test-AutoLoader-0.03-Skip-POSIX-tests-with-perl-5.16.patch debian/copyright0000644000000000000000000000141112157353712011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Test-AutoLoader Upstream-Contact: Ben Warfield (ben_warfield@nrgn.com) Source: https://metacpan.org/release/Test-AutoLoader/ Files: * Copyright: 2005, Neurogen Corporation, Branford, CT, USA. License: GPL-1+ Files: debian/* Copyright: 2011, Nicholas Bamber License: GPL-1+ 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/watch0000644000000000000000000000017412157353712010227 0ustar version=3 https://metacpan.org/release/Test-AutoLoader/ .*/Test-AutoLoader-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$