Here is an update for Audio::MPD.
What's new upstream (partial, see [1]):
- support for mpd on a Unix socket
- syncing with mpd changes, especially allow dumping song ratings
- ipv6 support
What's new in the port:
- Dropped CPAN_AUTHOR, it's unneeded here
- Really install examples thanks to MODCPAN_EXAMPLES_DIST
- When tested in the ports tree, mpd isn't in PATH, so i've symlinked
it in ${WRKDIR}/bin to enable them. If mpd isn't installed it skips
tests gracefully anyway.
Testing:
- 'make test' pass, we don't have Pod::Coverage::TrustPod, so
qa tests would fail and thus aren't enabled.
- It has no direct reverse dependencies but is pulled by
audio/p5-POE-Component-Client-MPD, and tests pass there - anyway
i've an update for it as well :)
Comments/feedback are welcome,
Charlène.
[1] https://metacpan.org/changes/distribution/Audio-MPD
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/p5-Audio-MPD/Makefile,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 Makefile
--- Makefile 20 Mar 2016 19:56:06 -0000 1.28
+++ Makefile 21 Feb 2019 21:26:16 -0000
@@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.28 2016/03/20 19:56:06 naddy Exp $
COMMENT= module for communicating with MPD servers
-DISTNAME= Audio-MPD-1.110560
-REVISION= 3
+DISTNAME= Audio-MPD-2.004
CATEGORIES= audio
# perl
@@ -10,18 +9,24 @@ PERMIT_PACKAGE_CDROM= Yes
MODULES= cpan
PKG_ARCH= *
-CPAN_AUTHOR= JQUELIN
MODCPAN_EXAMPLES= Yes
+MODCPAN_EXAMPLES_DIST= examples
CONFIGURE_STYLE= modbuild
-RUN_DEPENDS= audio/p5-Audio-MPD-Common>=1.110550 \
- devel/p5-MooseX-Has-Sugar \
- devel/p5-MooseX-SemiAffordanceAccessor>=0.09 \
- devel/p5-Class-Accessor \
+RUN_DEPENDS= audio/p5-Audio-MPD-Common \
devel/p5-Getopt-Euclid \
+ devel/p5-List-AllUtils \
+ devel/p5-List-MoreUtils \
+ devel/p5-Moose \
+ devel/p5-MooseX-Has-Sugar \
+ devel/p5-MooseX-SemiAffordanceAccessor \
devel/p5-Proc-Daemon
-TEST_DEPENDS= devel/p5-Getopt-Euclid \
- devel/p5-Test-Corpus-Audio-MPD
+
+TEST_DEPENDS= devel/p5-Test-Corpus-Audio-MPD>=1.113282
+
+# Tests need to find mpd.
+pre-test:
+ @ln -sf ${LOCALBASE}/sbin/mpd ${WRKDIR}/bin/mpd
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/p5-Audio-MPD/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo 17 Apr 2014 20:51:25 -0000 1.13
+++ distinfo 21 Feb 2019 21:26:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (Audio-MPD-1.110560.tar.gz) =
EnQIRIdGxv58uweer9ZRC7IZLneZ2BAeBDts/BQK39M=
-SIZE (Audio-MPD-1.110560.tar.gz) = 36121
+SHA256 (Audio-MPD-2.004.tar.gz) = xPit/gQNU3PdyaM9umbqEI0C5FF4uOYPXPdKpAjGqpI=
+SIZE (Audio-MPD-2.004.tar.gz) = 41586
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/p5-Audio-MPD/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST 29 Sep 2010 17:19:30 -0000 1.5
+++ pkg/PLIST 21 Feb 2019 21:26:16 -0000
@@ -1,10 +1,12 @@
@comment $OpenBSD: PLIST,v 1.5 2010/09/29 17:19:30 jasper Exp $
+bin/mpd-dump-ratings
bin/mpd-dynamic
bin/mpd-rate
${P5SITE}/Audio/MPD.pm
${P5SITE}/Audio/MPD/Collection.pm
${P5SITE}/Audio/MPD/Playlist.pm
${P5SITE}/Audio/MPD/Types.pm
+@man man/man1/mpd-dump-ratings.1
@man man/man1/mpd-dynamic.1
@man man/man1/mpd-rate.1
@man man/man3p/Audio::MPD.3p