Test::Corpus::Audio::MPD will try to launch a new mpd server for
testing purposes. This mpd server will then be used during POE::Component::Client::MPD or Audio::MPD tests. In order to achieve this, the module will create a fake mpd.conf file with the correct pathes (ie, where you untarred the modulE tarball). It will then check if some mpd server is already running, and stop it if the MPD_TEST_OVERRIDE environment variable is true (die otherwise). Last it will run the test mpd with its newly created configuration file. WWW: http://search.cpan.org/dist/Test-Corpus-Audio-MPD/
This commit is contained in:
parent
2a0d697020
commit
0ff9ca45d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261353
5 changed files with 58 additions and 0 deletions
|
@ -585,6 +585,7 @@
|
|||
SUBDIR += p5-Ogg-Vorbis-Header
|
||||
SUBDIR += p5-Ogg-Vorbis-Header-PurePerl
|
||||
SUBDIR += p5-Shout
|
||||
SUBDIR += p5-Test-Corpus-Audio-MPD
|
||||
SUBDIR += p5-Xmms
|
||||
SUBDIR += p5-libvorbis
|
||||
SUBDIR += p5-tagged
|
||||
|
|
26
audio/p5-Test-Corpus-Audio-MPD/Makefile
Normal file
26
audio/p5-Test-Corpus-Audio-MPD/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: Test-Corpus-Audio-MPD
|
||||
# Date created: 18 Sep, 2010
|
||||
# Whom: Wen Heping <wen@freebsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Test-Corpus-Audio-MPD
|
||||
PORTVERSION= 1.100500
|
||||
CATEGORIES= audio perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
COMMENT= Automate launching of fake mdp for testing purposes
|
||||
|
||||
BUILD_DEPENDS= p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
|
||||
p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
|
||||
devel/p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_MODBUILD= YES
|
||||
|
||||
MAN3= Test::Corpus::Audio::MPD.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
audio/p5-Test-Corpus-Audio-MPD/distinfo
Normal file
3
audio/p5-Test-Corpus-Audio-MPD/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Test-Corpus-Audio-MPD-1.100500.tar.gz) = cae24532473d208ca7d07f7b478e4258
|
||||
SHA256 (Test-Corpus-Audio-MPD-1.100500.tar.gz) = 632c295cb2f2853a7c6ad316d0922c156d2aa3881b1d4b762c756f14c82c602a
|
||||
SIZE (Test-Corpus-Audio-MPD-1.100500.tar.gz) = 30604
|
12
audio/p5-Test-Corpus-Audio-MPD/pkg-descr
Normal file
12
audio/p5-Test-Corpus-Audio-MPD/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
|||
Test::Corpus::Audio::MPD will try to launch a new mpd server for
|
||||
testing purposes. This mpd server will then be used during
|
||||
POE::Component::Client::MPD or Audio::MPD tests.
|
||||
|
||||
In order to achieve this, the module will create a fake mpd.conf
|
||||
file with the correct pathes (ie, where you untarred the modulE
|
||||
tarball). It will then check if some mpd server is already running,
|
||||
and stop it if the MPD_TEST_OVERRIDE environment variable is true
|
||||
(die otherwise). Last it will run the test mpd with its newly
|
||||
created configuration file.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Test-Corpus-Audio-MPD/
|
16
audio/p5-Test-Corpus-Audio-MPD/pkg-plist
Normal file
16
audio/p5-Test-Corpus-Audio-MPD/pkg-plist
Normal file
|
@ -0,0 +1,16 @@
|
|||
%%SITE_PERL%%/Test/Corpus/Audio/MPD.pm
|
||||
%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1/title-artist-album.ogg
|
||||
%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1/title-artist.ogg
|
||||
%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2/album.ogg
|
||||
%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/title.ogg
|
||||
%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/playlists/test.m3u
|
||||
%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/mpd.conf.template
|
||||
@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1
|
||||
@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2
|
||||
@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music
|
||||
@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/playlists
|
||||
@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD
|
||||
@dirrmtry %%SITE_PERL%%/auto/share/dist
|
||||
@dirrm %%SITE_PERL%%/Test/Corpus/Audio
|
||||
@dirrm %%SITE_PERL%%/Test/Corpus
|
||||
@dirrmtry %%SITE_PERL%%/Test
|
Loading…
Reference in a new issue