1 |
commit: d04fc13cf2629eb22f1d65defd9a19fd3d8febb7 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 2 19:59:50 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 20:00:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04fc13c |
7 |
|
8 |
dev-perl/CursesWidgets: -r bump for EAPI7 + fixes |
9 |
|
10 |
- EAPI7 |
11 |
- Remove digitalmages.com from both HOMEPAGE and SRC_URI, using only |
12 |
metacpan as a homepage, and cpan mirrors for sources, as the homepage |
13 |
no longer contains any information about this, and according to |
14 |
wayback, hasn't done so since 2003. |
15 |
- Simplify ewarn expression slightly and indent slightly for better |
16 |
readability |
17 |
- Fix LICENSE |
18 |
- Remove empty/unused variables |
19 |
|
20 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
21 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
22 |
|
23 |
.../CursesWidgets/CursesWidgets-1.997.0-r3.ebuild | 54 ++++++++++++++++++++++ |
24 |
1 file changed, 54 insertions(+) |
25 |
|
26 |
diff --git a/dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild b/dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4e643d73dde |
29 |
--- /dev/null |
30 |
+++ b/dev-perl/CursesWidgets/CursesWidgets-1.997.0-r3.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DIST_VERSION=1.997 |
38 |
+DIST_AUTHOR=CORLISS |
39 |
+DIST_EXAMPLES=("test.pl") |
40 |
+inherit perl-module |
41 |
+ |
42 |
+DESCRIPTION="Provide high level APIs for rapid user interface design on the console in Perl" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+LICENSE="GPL-2+" |
46 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~s390 ~sparc ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=sys-libs/ncurses-5 |
50 |
+ >=dev-perl/Curses-1.60.0 |
51 |
+" |
52 |
+BDEPEND="${RDEPEND}" |
53 |
+ |
54 |
+src_test() { |
55 |
+ local MODULES=( |
56 |
+ "Curses::Widgets ${DIST_VERSION}" |
57 |
+ "Curses::Widgets::ButtonSet 1.103" |
58 |
+ "Curses::Widgets::Calendar 1.103" |
59 |
+ "Curses::Widgets::ComboBox 1.103" |
60 |
+ "Curses::Widgets::Label 1.102" |
61 |
+ "Curses::Widgets::ListBox 1.104" |
62 |
+ "Curses::Widgets::ListBox::MultiColumn 0.1" |
63 |
+ "Curses::Widgets::Menu 1.103" |
64 |
+ "Curses::Widgets::ProgressBar 1.103" |
65 |
+ "Curses::Widgets::TextField 1.103" |
66 |
+ "Curses::Widgets::TextMemo 1.104" |
67 |
+ ) |
68 |
+ local failed=() |
69 |
+ for dep in "${MODULES[@]}"; do |
70 |
+ ebegin "Compile testing ${dep}" |
71 |
+ perl -Mblib="${S}" -M"${dep} ()" -e1 |
72 |
+ eend $? || failed+=( "$dep" ) |
73 |
+ done |
74 |
+ if [[ ${failed[@]} ]]; then |
75 |
+ echo |
76 |
+ eerror "One or more modules failed compile:"; |
77 |
+ for dep in "${failed[@]}"; do |
78 |
+ eerror " ${dep}" |
79 |
+ done |
80 |
+ die "Failing due to module compilation errors"; |
81 |
+ fi |
82 |
+ ewarn "Test suite for this module requires user interaction." |
83 |
+ ewarn "For details, see:" |
84 |
+ ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}" |
85 |
+} |