From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1184150-garchives=archives.gentoo.org@lists.gentoo.org>
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 B7F57138359
	for <garchives@archives.gentoo.org>; Thu,  2 Jul 2020 20:00:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 95E73E0833;
	Thu,  2 Jul 2020 20:00:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 7A3DEE0833
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Jul 2020 20:00:40 +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 F323B34F11B
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Jul 2020 20:00:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E6E4233
	for <gentoo-commits@lists.gentoo.org>; Thu,  2 Jul 2020 20:00:34 +0000 (UTC)
From: "Kent Fredric" <kentnl@gentoo.org>
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" <kentnl@gentoo.org>
Message-ID: <1593720023.d04fc13cf2629eb22f1d65defd9a19fd3d8febb7.kentnl@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/CursesWidgets/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild
X-VCS-Directories: dev-perl/CursesWidgets/
X-VCS-Committer: kentnl
X-VCS-Committer-Name: Kent Fredric
X-VCS-Revision: d04fc13cf2629eb22f1d65defd9a19fd3d8febb7
X-VCS-Branch: master
Date: Thu,  2 Jul 2020 20:00:34 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7bb7c5b6-02f3-4f14-b925-1121547e1b11
X-Archives-Hash: 30dd0d45ff80d457bbc267c059258734

commit:     d04fc13cf2629eb22f1d65defd9a19fd3d8febb7
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  2 19:59:50 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jul  2 20:00:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04fc13c

dev-perl/CursesWidgets: -r bump for EAPI7 + fixes

- EAPI7
- Remove digitalmages.com from both HOMEPAGE and SRC_URI, using only
  metacpan as a homepage, and cpan mirrors for sources, as the homepage
  no longer contains any information about this, and according to
  wayback, hasn't done so since 2003.
- Simplify ewarn expression slightly and indent slightly for better
  readability
- Fix LICENSE
- Remove empty/unused variables

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../CursesWidgets/CursesWidgets-1.997.0-r3.ebuild  | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild b/dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild
new file mode 100644
index 00000000000..4e643d73dde
--- /dev/null
+++ b/dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_VERSION=1.997
+DIST_AUTHOR=CORLISS
+DIST_EXAMPLES=("test.pl")
+inherit perl-module
+
+DESCRIPTION="Provide high level APIs for rapid user interface design on the console in Perl"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~sparc ~x86"
+
+RDEPEND="
+	>=sys-libs/ncurses-5
+	>=dev-perl/Curses-1.60.0
+"
+BDEPEND="${RDEPEND}"
+
+src_test() {
+	local MODULES=(
+		"Curses::Widgets ${DIST_VERSION}"
+		"Curses::Widgets::ButtonSet 1.103"
+		"Curses::Widgets::Calendar 1.103"
+		"Curses::Widgets::ComboBox 1.103"
+		"Curses::Widgets::Label 1.102"
+		"Curses::Widgets::ListBox 1.104"
+		"Curses::Widgets::ListBox::MultiColumn 0.1"
+		"Curses::Widgets::Menu 1.103"
+		"Curses::Widgets::ProgressBar 1.103"
+		"Curses::Widgets::TextField 1.103"
+		"Curses::Widgets::TextMemo 1.104"
+	)
+	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
+	ewarn "Test suite for this module requires user interaction."
+	ewarn "For details, see:"
+	ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
+}