monsieurp 15/03/19 17:26:47 Modified: MusicBrainz-DiscID-0.30.0-r1.ebuild ChangeLog Log: Remove bad character in DiscID.pm for tests to pass. Fix bug 526260. Signed-off-by: monsie...@gentoo.org (Portage version: 2.2.14/cvs/Linux i686, signed Manifest commit with key 93491BB8)
Revision Changes Path 1.2 dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild?r1=1.1&r2=1.2 Index: MusicBrainz-DiscID-0.30.0-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MusicBrainz-DiscID-0.30.0-r1.ebuild 23 Aug 2014 22:01:44 -0000 1.1 +++ MusicBrainz-DiscID-0.30.0-r1.ebuild 19 Mar 2015 17:26:47 -0000 1.2 @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild,v 1.1 2014/08/23 22:01:44 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/MusicBrainz-DiscID/MusicBrainz-DiscID-0.30.0-r1.ebuild,v 1.2 2015/03/19 17:26:47 monsieurp Exp $ EAPI=5 @@ -32,6 +32,16 @@ "${WORKDIR}"/${MY_PN:-${PN}}-patch ) +src_prepare() { + # Quick n dirty fix but does the job. + ebegin 'Patching lib/MusicBrainz/DiscID.pm' + # There's a dangling non-ASCII character that causes perldoc to fail on + # parsing the .pm and hence, fail tests. We should file a bug upstream. + perl -i'' -npe "s/don.. specify/don't specify/g;" lib/MusicBrainz/DiscID.pm + eend $? + + perl-module_src_prepare +} src_install() { perl-module_src_install 1.9 dev-perl/MusicBrainz-DiscID/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/MusicBrainz-DiscID/ChangeLog?rev=1.9&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/MusicBrainz-DiscID/ChangeLog?rev=1.9&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/MusicBrainz-DiscID/ChangeLog?r1=1.8&r2=1.9 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-perl/MusicBrainz-DiscID/ChangeLog,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ChangeLog 23 Aug 2014 22:01:44 -0000 1.8 +++ ChangeLog 19 Mar 2015 17:26:47 -0000 1.9 @@ -1,6 +1,10 @@ # ChangeLog for dev-perl/MusicBrainz-DiscID -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/MusicBrainz-DiscID/ChangeLog,v 1.8 2014/08/23 22:01:44 axs Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/MusicBrainz-DiscID/ChangeLog,v 1.9 2015/03/19 17:26:47 monsieurp Exp $ + + 19 Mar 2015; Patrice Clement <monsie...@gentoo.org> + MusicBrainz-DiscID-0.30.0-r1.ebuild: + Remove bad character in DiscID.pm for tests to pass. Fix bug 526260. *MusicBrainz-DiscID-0.30.0-r1 (23 Aug 2014)