Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/App-CLI/files/, dev-perl/App-CLI/
Date: Sun, 19 Aug 2018 07:50:38
Message-Id: 1534665022.25a0d45288ecc767721d82aff5d1efed526ea4f7.kentnl@gentoo
1 commit: 25a0d45288ecc767721d82aff5d1efed526ea4f7
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 19 07:50:08 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 19 07:50:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a0d452
7
8 dev-perl/App-CLI: Bump to version 0.500.0
9
10 - EAPI6
11 - Enable parallel tests
12 - Nuke upstream author tests
13
14 Upstream:
15 - Migrate away from Module::Install
16 - Improve documentation
17 - Fix subcommand() to support old genre
18 - Add commands() and files() routines
19 - Add more tests
20 - Add a default version command
21 - Add a "commands" command to list commands in app
22 - Improve brief_usage() output
23
24 Package-Manager: Portage-2.3.40, Repoman-2.3.9
25
26 dev-perl/App-CLI/App-CLI-0.500.0.ebuild | 36 ++++++++++
27 dev-perl/App-CLI/Manifest | 1 +
28 .../App-CLI/files/App-CLI-0.50-authortests.patch | 78 ++++++++++++++++++++++
29 dev-perl/App-CLI/metadata.xml | 2 +
30 4 files changed, 117 insertions(+)
31
32 diff --git a/dev-perl/App-CLI/App-CLI-0.500.0.ebuild b/dev-perl/App-CLI/App-CLI-0.500.0.ebuild
33 new file mode 100644
34 index 00000000000..9f65047073d
35 --- /dev/null
36 +++ b/dev-perl/App-CLI/App-CLI-0.500.0.ebuild
37 @@ -0,0 +1,36 @@
38 +# Copyright 1999-2018 Gentoo Foundation
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=6
42 +
43 +DIST_AUTHOR=PTC
44 +DIST_VERSION=0.50
45 +inherit perl-module
46 +
47 +DESCRIPTION="Dispatcher module for command line interface programs"
48 +
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
51 +IUSE="test"
52 +
53 +PATCHES=("${FILESDIR}/${PN}-0.50-authortests.patch")
54 +PERL_RM_FILES=(
55 + "t/03-pod.t"
56 + "t/99-kwalitee.t"
57 +)
58 +
59 +RDEPEND="
60 + dev-perl/Capture-Tiny
61 + virtual/perl-Carp
62 + dev-perl/Class-Load
63 + >=virtual/perl-Getopt-Long-2.350.0
64 + virtual/perl-Locale-Maketext-Simple
65 + virtual/perl-Pod-Simple
66 + virtual/perl-Scalar-List-Utils
67 +"
68 +DEPEND="${RDEPEND}
69 + virtual/perl-ExtUtils-MakeMaker
70 + test? (
71 + virtual/perl-Test-Simple
72 + )
73 +"
74
75 diff --git a/dev-perl/App-CLI/Manifest b/dev-perl/App-CLI/Manifest
76 index 21b8d9c4a35..fbed7502f91 100644
77 --- a/dev-perl/App-CLI/Manifest
78 +++ b/dev-perl/App-CLI/Manifest
79 @@ -1 +1,2 @@
80 DIST App-CLI-0.313.tar.gz 30225 BLAKE2B 4fc19e437fc986ec69fbae7b45527e0c78528a71eaeaa437dbfb1d60200bac06903ebc10e2ad44cefffedd0a9fd18d58e9007fe5669c0f85e57fad4f3f118fdf SHA512 5c0a3780467f4c2f4f0ff9bce800f4de30643fdf9c48799cc459237f97d7ed93a01832b8b0cbdfa333fefe7e2cd8a53d36e9feb18874cbc8e5bf130923a600c8
81 +DIST App-CLI-0.50.tar.gz 15624 BLAKE2B 8411c8234101347a9a45a01e1cf61ddcacfeba5b24704f104f90ff021bc568b5ce9c46eca3cdddbf712a47a335d86346bf32e664d09d86dcd84ceca63469f178 SHA512 177e1a7b4724b7369df28a235c268ce5ac5103b3973995f68afd20ac6b2d37640049837624f472b29ea2eed9ec736bf25ae97af34a9dcd28b90b293e0139a572
82
83 diff --git a/dev-perl/App-CLI/files/App-CLI-0.50-authortests.patch b/dev-perl/App-CLI/files/App-CLI-0.50-authortests.patch
84 new file mode 100644
85 index 00000000000..6e8aba9683e
86 --- /dev/null
87 +++ b/dev-perl/App-CLI/files/App-CLI-0.50-authortests.patch
88 @@ -0,0 +1,78 @@
89 +From 34d1795db568385cfcde4287768fa498e5e080fa Mon Sep 17 00:00:00 2001
90 +From: Kent Fredric <kentnl@g.o>
91 +Date: Sun, 19 Aug 2018 19:38:10 +1200
92 +Subject: Kill unwanted author tests and their deps
93 +
94 +---
95 + MANIFEST | 2 --
96 + META.json | 3 ---
97 + META.yml | 3 ---
98 + Makefile.PL | 3 ---
99 + t/03-pod.t | 13 -------------
100 + t/99-kwalitee.t | 17 -----------------
101 + 6 files changed, 41 deletions(-)
102 + delete mode 100644 t/03-pod.t
103 + delete mode 100644 t/99-kwalitee.t
104 +
105 +diff --git a/MANIFEST b/MANIFEST
106 +index f9edd45..4f20438 100644
107 +--- a/MANIFEST
108 ++++ b/MANIFEST
109 +@@ -12,8 +12,6 @@ MANIFEST.SKIP
110 + README.md
111 + t/01-basic.t
112 + t/02-command.t
113 +-t/03-pod.t
114 +-t/99-kwalitee.t
115 + t/lib/CLITest.pm
116 + t/lib/MyApp.pm
117 + t/lib/MyApp/Help.pm
118 +diff --git a/META.json b/META.json
119 +index db0951a..7ce6d07 100644
120 +--- a/META.json
121 ++++ b/META.json
122 +@@ -53,10 +53,7 @@
123 + },
124 + "test" : {
125 + "requires" : {
126 +- "Class::Load" : "0",
127 +- "Test::Kwalitee" : "0",
128 + "Test::More" : "0",
129 +- "Test::Pod" : "0",
130 + "lib" : "0"
131 + }
132 + }
133 +diff --git a/META.yml b/META.yml
134 +index 774bfb0..9b9efee 100644
135 +--- a/META.yml
136 ++++ b/META.yml
137 +@@ -6,11 +6,8 @@ author:
138 + - 'Shelling <navyblueshellingford@×××××.com>'
139 + - 'Paul Cochrane <paul@××××××.de>'
140 + build_requires:
141 +- Class::Load: '0'
142 + ExtUtils::MakeMaker: '0'
143 +- Test::Kwalitee: '0'
144 + Test::More: '0'
145 +- Test::Pod: '0'
146 + lib: '0'
147 + configure_requires:
148 + ExtUtils::MakeMaker: '0'
149 +diff --git a/Makefile.PL b/Makefile.PL
150 +index f5039b8..eaa4a72 100644
151 +--- a/Makefile.PL
152 ++++ b/Makefile.PL
153 +@@ -34,10 +34,7 @@ WriteMakefile(
154 + MIN_PERL_VERSION => 5.006,
155 + TEST_REQUIRES => {
156 + 'lib' => 0,
157 +- 'Class::Load' => 0,
158 +- 'Test::Kwalitee' => 0,
159 + 'Test::More' => 0,
160 +- 'Test::Pod' => 0,
161 + },
162 + META_MERGE => {
163 + "meta-spec" => { version => 2 },
164 +--
165 +2.17.1
166 +
167
168 diff --git a/dev-perl/App-CLI/metadata.xml b/dev-perl/App-CLI/metadata.xml
169 index b081f217eb3..3a6b3f5c165 100644
170 --- a/dev-perl/App-CLI/metadata.xml
171 +++ b/dev-perl/App-CLI/metadata.xml
172 @@ -9,7 +9,9 @@
173 <remote-id type="cpan">App-CLI</remote-id>
174 <remote-id type="cpan-module">App::CLI</remote-id>
175 <remote-id type="cpan-module">App::CLI::Command</remote-id>
176 + <remote-id type="cpan-module">App::CLI::Command::Commands</remote-id>
177 <remote-id type="cpan-module">App::CLI::Command::Help</remote-id>
178 + <remote-id type="cpan-module">App::CLI::Command::Version</remote-id>
179 <remote-id type="cpan-module">App::CLI::Helper</remote-id>
180 </upstream>
181 </pkgmetadata>