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 C30D7138350 for ; Thu, 23 Apr 2020 07:47:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E78CBE0A45; Thu, 23 Apr 2020 07:47:11 +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 D1132E0A45 for ; Thu, 23 Apr 2020 07:47:11 +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 74D2234F265 for ; Thu, 23 Apr 2020 07:47:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A15A01C3 for ; Thu, 23 Apr 2020 07:47:08 +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: <1587627991.964fc89ee2bfcc18c6f26bbba5794e13a272a245.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-LibGumbo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r1.ebuild dev-perl/Alien-LibGumbo/metadata.xml X-VCS-Directories: dev-perl/Alien-LibGumbo/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 964fc89ee2bfcc18c6f26bbba5794e13a272a245 X-VCS-Branch: master Date: Thu, 23 Apr 2020 07:47:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f6dfc3a4-a4d7-4047-aa12-4bf9e76accce X-Archives-Hash: a41460827abdb01c403eea2aea61b553 commit: 964fc89ee2bfcc18c6f26bbba5794e13a272a245 Author: Kent Fredric gentoo org> AuthorDate: Thu Apr 23 07:37:20 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Apr 23 07:46:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964fc89e dev-perl/Alien-LibGumbo: -r bump for EAPI7 and Tests - EAPI7-ify - Add some rudimentary tests to check modules are at least, loadable. Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> .../Alien-LibGumbo/Alien-LibGumbo-0.50.0-r1.ebuild | 50 ++++++++++++++++++++++ dev-perl/Alien-LibGumbo/metadata.xml | 2 + 2 files changed, 52 insertions(+) diff --git a/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r1.ebuild b/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r1.ebuild new file mode 100644 index 00000000000..3e5aca8a29b --- /dev/null +++ b/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=RUZ +DIST_VERSION=0.05 +inherit perl-module + +DESCRIPTION="Gumbo parser library" + +SLOT="0" +KEYWORDS="~amd64" + +# Alien-Build for Alien::Base +RDEPEND=" + >=dev-perl/Alien-Build-0.5.0 + >=dev-perl/File-ShareDir-1.30.0 + >=dev-perl/Path-Class-0.13.0 +" +DEPEND=" + dev-perl/Module-Build +" +BDEPEND="${RDEPEND} + >=dev-perl/Alien-Base-ModuleBuild-0.5.0 + >=dev-perl/Module-Build-0.420.0 +" +src_test() { + local MODULES=( + "Alien::LibGumbo ${DIST_VERSION}" + "Alien::LibGumbo::ConfigData" + "Alien::LibGumbo::Install::Files" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}/blib" -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 + # Currently useless + # perl-module_src_test +} diff --git a/dev-perl/Alien-LibGumbo/metadata.xml b/dev-perl/Alien-LibGumbo/metadata.xml index 1e7040b181a..7dcd3649f04 100644 --- a/dev-perl/Alien-LibGumbo/metadata.xml +++ b/dev-perl/Alien-LibGumbo/metadata.xml @@ -12,5 +12,7 @@ Alien-LibGumbo Alien::LibGumbo + Alien::LibGumbo::ConfigData + Alien::LibGumbo::Install::Files