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 2C3191382C5 for ; Tue, 20 Mar 2018 08:55:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B0ADE099C; Tue, 20 Mar 2018 08:55:20 +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 67FA2E099C for ; Tue, 20 Mar 2018 08:55:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 59A51335C0C for ; Tue, 20 Mar 2018 08:55:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16180265 for ; Tue, 20 Mar 2018 08:55:16 +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: <1521535929.d203132b068a0817c8be79889d385f9b8331c5a9.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Video-ivtv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Video-ivtv/Video-ivtv-0.13-r2.ebuild X-VCS-Directories: dev-perl/Video-ivtv/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: d203132b068a0817c8be79889d385f9b8331c5a9 X-VCS-Branch: master Date: Tue, 20 Mar 2018 08:55:16 +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: f7dcb7f7-be99-4fd4-b222-a11c3d1c7db8 X-Archives-Hash: 33566b6086c1bed1e47daf29bd487147 commit: d203132b068a0817c8be79889d385f9b8331c5a9 Author: Kent Fredric gentoo org> AuthorDate: Tue Mar 20 08:51:12 2018 +0000 Commit: Kent Fredric gentoo org> CommitDate: Tue Mar 20 08:52:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d203132b dev-perl/Video-ivtv: EAPI6 + tests - EAPI6ify - Add rudimentary tests - Add "I'm an adult" features to force test Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-perl/Video-ivtv/Video-ivtv-0.13-r2.ebuild | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-perl/Video-ivtv/Video-ivtv-0.13-r2.ebuild b/dev-perl/Video-ivtv/Video-ivtv-0.13-r2.ebuild new file mode 100644 index 00000000000..7d62cb7029d --- /dev/null +++ b/dev-perl/Video-ivtv/Video-ivtv-0.13-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit perl-module + +DESCRIPTION="Video::ivtv perl module, for use with ivtv-ptune" +HOMEPAGE="http://ivtv.sourceforge.net" +SRC_URI="mirror://sourceforge/ivtv/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +src_configure() { + export OPTIMIZE="$CFLAGS" + perl-module_src_configure +} + +# Requires /dev/video0 access, set DIST_TEST_OVERRIDE +# to circumvent +DIST_TEST="skip" + +src_test() { + ebegin "Compile testing Video::ivtv ${PV}" + perl -Mblib="${S}" -M"Video::ivtv ${PV} ()" -e1 + if ! eend $?; then + echo + eerror "One or more modules failed compile:"; + eerror " Video::ivtv ${PV}" + die "Failing due to module compilation errors"; + fi + perl-module_src_test +}