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 7768F1382C5 for ; Thu, 18 Jun 2020 13:31:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67FF1E08E0; Thu, 18 Jun 2020 13:31:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 4D66AE08E0 for ; Thu, 18 Jun 2020 13:31:49 +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 70E9234F39D for ; Thu, 18 Jun 2020 13:31:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B31E1EF for ; Thu, 18 Jun 2020 13:31:45 +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: <1592487066.33f03634a94482da6570d2a5bd6cc44f060b7d21.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-DBI-mysql/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r3.ebuild X-VCS-Directories: dev-perl/Class-DBI-mysql/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 33f03634a94482da6570d2a5bd6cc44f060b7d21 X-VCS-Branch: master Date: Thu, 18 Jun 2020 13:31:45 +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: 14b36f28-ad0c-425f-9e91-f45ae05bef8b X-Archives-Hash: 484a745b893f32673d9654859d57d602 commit: 33f03634a94482da6570d2a5bd6cc44f060b7d21 Author: Kent Fredric gentoo org> AuthorDate: Thu Jun 18 13:30:47 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Jun 18 13:31:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f03634 dev-perl/Class-DBI-mysql: -r bump for EAPI7 - EAPI7 - Clarify dependencies - Add test dependencies - Simplify LICENSE - Unconditionally strip bad tests Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> .../Class-DBI-mysql-1.0.0-r3.ebuild | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r3.ebuild b/dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r3.ebuild new file mode 100644 index 00000000000..1912b5794e3 --- /dev/null +++ b/dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=TMTM +DIST_VERSION=1.00 +inherit perl-module + +DESCRIPTION="Extensions to Class::DBI for MySQL" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-perl/Class-DBI-0.940.0 + dev-perl/DBD-mysql +" +BDEPEND="${RDEPEND} + test? ( + >=virtual/perl-Test-Simple-0.450.0 + ) +" +PERL_RM_FILES=( + t/pod-coverage.t + t/pod.t +) +src_test() { + local MODULES=( + "Class::DBI::mysql ${DIST_VERSION}" + ) + 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 + if [[ -n "${DBD_MYSQL_DBNAME}" ]]; then + perl-module_src_test + else + ewarn "Functional testing of this package requires user intervention." + ewarn "For details, see:" + ewarn "https://wiki.gentoo.org/Project:Perl/maint-notes/dev-perl/Class-DBI-mysql" + fi +}