From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6EF531396D9 for ; Sat, 14 Oct 2017 19:54:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C59812BC020; Sat, 14 Oct 2017 19:54:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A41762BC020 for ; Sat, 14 Oct 2017 19:54:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB11533BEBE for ; Sat, 14 Oct 2017 19:54:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CAF8310 for ; Sat, 14 Oct 2017 19:54:21 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1508010852.e2d6c1ca8e30739bffe330a116e3b280af3a9b48.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Audio-CD-disc-cover/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r2.ebuild X-VCS-Directories: dev-perl/Audio-CD-disc-cover/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: e2d6c1ca8e30739bffe330a116e3b280af3a9b48 X-VCS-Branch: master Date: Sat, 14 Oct 2017 19:54:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e4d1badc-d60f-4b2e-83f8-cbcf3e87fb98 X-Archives-Hash: 58d1214e2235f31c3bfbf6ddf5627799 commit: e2d6c1ca8e30739bffe330a116e3b280af3a9b48 Author: Kent Fredric gentoo org> AuthorDate: Sat Oct 14 19:52:36 2017 +0000 Commit: Kent Fredric gentoo org> CommitDate: Sat Oct 14 19:54:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d6c1ca dev-perl/Audio-CD-disc-cover: Add basic tests - EAPI6 - Fix header issue - Add basic tests - Add USE="examples" Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../Audio-CD-disc-cover-0.05-r2.ebuild | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r2.ebuild b/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r2.ebuild new file mode 100644 index 00000000000..74a86f95577 --- /dev/null +++ b/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# This appears it should really be entitled Audio-CD +# There are * QA Notice: errors on building however the HOMEPAGE gives no source repo in which to file +# prob. not worth the trouble for this little script. + +DIST_EXAMPLES=("eg/*") +inherit perl-module + +MY_P=Audio-CD-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Perl Module needed for app-cdr/disc-cover" +HOMEPAGE="http://www.vanhemert.co.uk/disc-cover.html" +SRC_URI="http://www.vanhemert.co.uk/files/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +RDEPEND=">=dev-perl/URI-1.10 + >=dev-perl/HTML-Parser-3.15 + >=virtual/perl-MIME-Base64-2.12 + >=virtual/perl-Digest-MD5-2.12 + >=virtual/perl-libnet-1.0703-r1 + >=dev-perl/libwww-perl-5.50 + >=media-libs/libcdaudio-0.99.6" +DEPEND="${RDEPEND}" + +src_test() { + local MODULES=( + "Audio::CD ${PV}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + perl-module_src_test +}