debian/0000755000000000000000000000000011766677077007216 5ustar debian/rules0000755000000000000000000000003611766677077010275 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000302311766677077010617 0ustar Source: libtest-corpus-audio-mpd-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl (>= 5.11.4) | libmodule-build-perl (>= 0.360100) Build-Depends-Indep: perl, libfile-sharedir-perl, libreadonly-perl, libpath-class-perl, mpd (>= 0.16), procps, perl (>= 5.10.1) | libtest-simple-perl (>= 0.88) Maintainer: Debian Perl Group Uploaders: Jonathan Yu , gregor herrmann , Alessandro Ghedini , Florian Schlichting Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/Test-Corpus-Audio-MPD/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libtest-corpus-audio-mpd-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-corpus-audio-mpd-perl.git Package: libtest-corpus-audio-mpd-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libfile-sharedir-perl, libreadonly-perl, libpath-class-perl, mpd (>= 0.16), procps Description: module to fake mpd for testing purposes Test::Corpus::Audio::MPD is a Perl test harness that tries to launch a new Music Player Daemon (MPD) server using a fake mpd.conf file with correct paths for testing. . If an mpd server is already running, this module will stop it temporarily if the MPD_TEST_OVERRIDE environment variable is true; otherwise, the test will bail. Once the tests are complete, the temporarily launched mpd server will be shut down and the original one relaunched (if there was one). debian/source/0000755000000000000000000000000011766677077010516 5ustar debian/source/format0000644000000000000000000000001411766677077011724 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000601211766677077011067 0ustar libtest-corpus-audio-mpd-perl (1.120990-1) unstable; urgency=low [ Florian Schlichting ] * Imported Upstream version 1.120990. * Dropped localhost-explicitly-bind-v4.patch, applied upstream. * Refreshed skip_file-sharedir-pathclass.patch. -- gregor herrmann Fri, 15 Jun 2012 20:25:52 +0200 libtest-corpus-audio-mpd-perl (1.113282-2) unstable; urgency=low [ Alessandro Ghedini ] * Email change: Alessandro Ghedini -> ghedo@debian.org [ Florian Schlichting ] * Added missing build dependencies on mpd and procps to actually run t/00-compile.t during build, as pointed out by Niko Tyni. * Added localhost-explicitly-bind-v4.patch (closes: #667062). -- Florian Schlichting Sat, 07 Apr 2012 19:39:15 +0200 libtest-corpus-audio-mpd-perl (1.113282-1) unstable; urgency=low [ Alessandro Ghedini ] * New upstream release 1.111260 [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * New upstream release 1.113282. * Add perl 5.11.4 as an alternative build dependency for Module::Build. [ Florian Schlichting ] * Added skip_file-sharedir-pathclass.patch. * Bumped Standards-Version to 3.9.3 (use copyright-format 1.0). * Bumped copyright years, crediting Alessandro Ghedini. * Added myself to Uploaders and copyright. -- Florian Schlichting Mon, 27 Feb 2012 22:28:44 +0100 libtest-corpus-audio-mpd-perl (1.110710-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Sat, 12 Mar 2011 18:45:43 +0100 libtest-corpus-audio-mpd-perl (1.110600-2) unstable; urgency=low * Depends on procps (/bin/ps executable needed) -- Alessandro Ghedini Sun, 06 Mar 2011 15:57:09 +0100 libtest-corpus-audio-mpd-perl (1.110600-1) unstable; urgency=low * New upstream release * Switch to 3.0 (quilt) * Bump debhelper to 8 * Bump Standards-Version (no changes needed) * Add myself to Uploaders * Add versioned libtest-simple-perl to B-D-I * Replace "Debian GNU/Linux" with just "Debian" in debian/copyright * Fix copyright-refers-to-symlink-license lintian * Depends on mpd -- Alessandro Ghedini Tue, 01 Mar 2011 15:41:55 +0100 libtest-corpus-audio-mpd-perl (1.100500-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release 1.100430 * Standards-Version 3.8.4 (no changes) * Now requires Module::Build 0.3601 (not in core until 5.11) * Update dependencies per upstream [ gregor herrmann ] * New upstream release 1.100500. * debian/copyright: add X-Comment about the ogg files, add /me to packaging copyright, bump version of Format-Specification. * Add /me to Uploaders. * debian/control: remove libmodule-util-perl from B-D-I and Depends. -- gregor herrmann Sat, 27 Feb 2010 16:42:04 +0100 libtest-corpus-audio-mpd-perl (1.093230-1) unstable; urgency=low * Initial Release (Closes: #559651) -- Jonathan Yu Sat, 05 Dec 2009 18:09:32 -0500 debian/compat0000644000000000000000000000000211766677077010414 0ustar 8 debian/patches/0000755000000000000000000000000011766677077010645 5ustar debian/patches/skip_file-sharedir-pathclass.patch0000644000000000000000000000441711766677077017420 0ustar Description: skip upstream's needless introduction of File::ShareDir::PathClass Maintaining a whole package for what is effectively a one-liner (plus a lot more magic to make it work, and yet more documentation of it all...) is a waste of resources. Author: Florian Schlichting Forwarded: not-needed --- a/Build.PL +++ b/Build.PL @@ -26,7 +26,7 @@ "requires" => { "Exporter" => 0, "File::Copy" => 0, - "File::ShareDir::PathClass" => 0, + "File::ShareDir" => 0, "File::Temp" => 0, "Path::Class" => 0, "Readonly" => 0, --- a/META.json +++ b/META.json @@ -28,7 +28,7 @@ "requires" : { "Exporter" : "0", "File::Copy" : "0", - "File::ShareDir::PathClass" : "0", + "File::ShareDir" : "0", "File::Temp" : "0", "Path::Class" : "0", "Readonly" : "0", --- a/META.yml +++ b/META.yml @@ -21,7 +21,7 @@ requires: Exporter: 0 File::Copy: 0 - File::ShareDir::PathClass: 0 + File::ShareDir: 0 File::Temp: 0 Path::Class: 0 Readonly: 0 --- a/lib/Test/Corpus/Audio/MPD.pm +++ b/lib/Test/Corpus/Audio/MPD.pm @@ -17,7 +17,7 @@ # ABSTRACT: automate launching of fake mdp for testing purposes use File::Copy qw{ copy }; -use File::ShareDir::PathClass qw{ dist_dir }; +use File::ShareDir qw{ dist_dir }; use File::Temp qw{ tempdir }; use Path::Class; use Readonly; @@ -29,7 +29,7 @@ start_test_mpd stop_test_mpd }; -Readonly my $SHAREDIR => dist_dir('Test-Corpus-Audio-MPD'); +Readonly my $SHAREDIR => dir( dist_dir('Test-Corpus-Audio-MPD') ); Readonly my $TEMPLATE => $SHAREDIR->file( 'mpd.conf.template' ); Readonly my $TMPDIR => dir( tempdir( CLEANUP=>1 ) ); Readonly my $CONFIG => $TMPDIR->file( 'mpd.conf' ); --- a/t/000-report-versions-tiny.t +++ b/t/000-report-versions-tiny.t @@ -50,7 +50,7 @@ eval { $v .= pmver('Exporter','any version') }; eval { $v .= pmver('File::Copy','any version') }; -eval { $v .= pmver('File::ShareDir::PathClass','any version') }; +eval { $v .= pmver('File::ShareDir','any version') }; eval { $v .= pmver('File::Temp','any version') }; eval { $v .= pmver('Module::Build','0.3601') }; eval { $v .= pmver('Path::Class','any version') }; debian/patches/series0000644000000000000000000000004311766677077012057 0ustar skip_file-sharedir-pathclass.patch debian/copyright0000644000000000000000000000261111766677077011151 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Jerome Quelin Source: http://search.cpan.org/dist/Test-Corpus-Audio-MPD/ Upstream-Name: Test-Corpus-Audio-MPD Files: * Copyright: 2009-2011, Jerome Quelin License: Artistic or GPL-1+ Comment: "Note also that the test suite comes with its own ogg files. Those files are 2 seconds tracks recording my voice saying ok, and are freely redistributable under the same license as the code itself." Files: debian/* Copyright: 2009, Jonathan Yu 2010-2011, gregor herrmann 2011, Alessandro Ghedini 2012, 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 the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' debian/watch0000644000000000000000000000020711766677077010246 0ustar version=3 http://search.cpan.org/dist/Test-Corpus-Audio-MPD/ .*/Test-Corpus-Audio-MPD-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$