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/File-Next/
Date: Mon, 31 Aug 2020 06:02:35
Message-Id: 1598853700.a71a1f5ec971aae2829eda6dc6f8409ef496c458.kentnl@gentoo
1 commit: a71a1f5ec971aae2829eda6dc6f8409ef496c458
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 06:01:40 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 06:01:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71a1f5e
7
8 dev-perl/File-Next: -r bump for various fixes
9
10 - Fix DESCRIPTION
11 - Fix LICENSE (GPL2+ required due to bundled test file)
12 - Fix use of DEPEND instead of BDEPEND
13 - Improve dependencies
14
15 Package-Manager: Portage-3.0.4, Repoman-3.0.1
16 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
17
18 dev-perl/File-Next/File-Next-1.180.0-r1.ebuild | 32 ++++++++++++++++++++++++++
19 1 file changed, 32 insertions(+)
20
21 diff --git a/dev-perl/File-Next/File-Next-1.180.0-r1.ebuild b/dev-perl/File-Next/File-Next-1.180.0-r1.ebuild
22 new file mode 100644
23 index 00000000000..78b02898668
24 --- /dev/null
25 +++ b/dev-perl/File-Next/File-Next-1.180.0-r1.ebuild
26 @@ -0,0 +1,32 @@
27 +# Copyright 1999-2020 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=7
31 +
32 +DIST_AUTHOR=PETDANCE
33 +DIST_VERSION=1.18
34 +inherit perl-module
35 +
36 +DESCRIPTION="An iterator-based module for finding files"
37 +
38 +LICENSE="Artistic-2 GPL-2+"
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
41 +IUSE="test"
42 +RESTRICT="!test? ( test )"
43 +
44 +RDEPEND="virtual/perl-File-Spec"
45 +BDEPEND="${RDEPEND}
46 + virtual/perl-ExtUtils-MakeMaker
47 + test? (
48 + >=virtual/perl-File-Temp-0.220.0
49 + >=virtual/perl-Test-Simple-0.880.0
50 + )
51 +"
52 +
53 +src_test() {
54 + # Ugh, Upstream has tests that depend on tests ...
55 + echo 'print qq[1..1\nok 1];' > "${S}/t/pod.t"
56 + echo 'print qq[1..1\nok 1];' > "${S}/t/pod-coverage.t"
57 + perl-module_src_test
58 +}