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/Data-FormValidator/files/, dev-perl/Data-FormValidator/
Date: Sun, 03 Jun 2018 08:14:57
Message-Id: 1528013681.6ad9049dff6c7a3f29bdb67ba7dfab6cee7aa5c0.kentnl@gentoo
1 commit: 6ad9049dff6c7a3f29bdb67ba7dfab6cee7aa5c0
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 04:54:14 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 3 08:14:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad9049d
7
8 dev-perl/Data-FormValidator: Cleanup old versions 4.86*
9
10 Package-Manager: Portage-2.3.29, Repoman-2.3.9
11
12 .../Data-FormValidator-4.860.0-r1.ebuild | 32 ------------
13 dev-perl/Data-FormValidator/Manifest | 1 -
14 .../Data-FormValidator/files/4.86-dot-in-inc.patch | 58 ----------------------
15 3 files changed, 91 deletions(-)
16
17 diff --git a/dev-perl/Data-FormValidator/Data-FormValidator-4.860.0-r1.ebuild b/dev-perl/Data-FormValidator/Data-FormValidator-4.860.0-r1.ebuild
18 deleted file mode 100644
19 index 117a7678030..00000000000
20 --- a/dev-perl/Data-FormValidator/Data-FormValidator-4.860.0-r1.ebuild
21 +++ /dev/null
22 @@ -1,32 +0,0 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -DIST_AUTHOR=DFARRELL
29 -DIST_VERSION=4.86
30 -inherit perl-module
31 -
32 -DESCRIPTION="Validates user input (usually from an HTML form) based on input profile"
33 -
34 -SLOT="0"
35 -KEYWORDS="amd64 ppc ppc64 x86"
36 -IUSE=""
37 -
38 -PATCHES=( "${FILESDIR}/4.86-dot-in-inc.patch" )
39 -RDEPEND="dev-perl/Image-Size
40 - >=dev-perl/Date-Calc-5.0
41 - >=dev-perl/File-MMagic-1.17
42 - >=dev-perl/MIME-Types-1.005
43 - >=dev-perl/Regexp-Common-0.30.0
44 - dev-perl/Email-Valid
45 - virtual/perl-File-Spec
46 -"
47 -DEPEND="${RDEPEND}
48 - virtual/perl-ExtUtils-MakeMaker
49 -"
50 -
51 -src_test() {
52 - perl_rm_files t/pod.t
53 - perl-module_src_test
54 -}
55
56 diff --git a/dev-perl/Data-FormValidator/Manifest b/dev-perl/Data-FormValidator/Manifest
57 index 5ba28fd129c..077752ae846 100644
58 --- a/dev-perl/Data-FormValidator/Manifest
59 +++ b/dev-perl/Data-FormValidator/Manifest
60 @@ -1,2 +1 @@
61 -DIST Data-FormValidator-4.86.tar.gz 101409 BLAKE2B 5c5c3abf715155ccf5340c9f95aef6bea26452376618c23164f5d025cb21615a6db4d4839f306443f775883a8a90495a7a470aabdbef52d697657ee2ac5d8bb8 SHA512 ca9e178313dcc15006a0d5557494d50d9328ae4ae9b54428bfd76b3c6169767290f819c70af1928f772ce9a2cd2139eb373e69394af8f03eee0f061525bc76f4
62 DIST Data-FormValidator-4.88.tar.gz 99850 BLAKE2B abb72030dd9b6155c83aa95d975643c6ebd4e4b8b15b7cc360d1a2ff81eddc9b210e8bda7408876f27bba9241541f1e3e6289ebb037a50e0a77d5850b281be76 SHA512 f4f9d813a3c9ae3cefdc1795516c955307dbaa23ca464e5a0a31eb4a9f43a3f31da8155b911433d29915d65da5b05d0843b7de45287d977a0c58ba19f3cfc736
63
64 diff --git a/dev-perl/Data-FormValidator/files/4.86-dot-in-inc.patch b/dev-perl/Data-FormValidator/files/4.86-dot-in-inc.patch
65 deleted file mode 100644
66 index a6fdb276e42..00000000000
67 --- a/dev-perl/Data-FormValidator/files/4.86-dot-in-inc.patch
68 +++ /dev/null
69 @@ -1,58 +0,0 @@
70 -From bfc088aa911062d987c830d5bb56aa4afd0d3735 Mon Sep 17 00:00:00 2001
71 -From: Kent Fredric <kentfredric@×××××.com>
72 -Date: Sun, 4 Jun 2017 00:40:04 +1200
73 -Subject: [PATCH] Absolutize filenames during construction
74 -
75 -This way, any relative paths become absolute as soon as possible,
76 -so that if chdir happens between "new" and "load_profiles", the loaded
77 -file won't magically change.
78 -
79 -This also aims to turn the <do "file.pm"> into a <do "/path/to/File.pm">
80 -as the former no longer reads from "." since Perl 5.25.11, as paths
81 -with neither leading "./" or leading "/" imply @INC traversal.
82 -
83 -This aims to resolve RT#120671
84 -
85 -https://rt.cpan.org/Ticket/Display.html?id=120671
86 -https://bugs.gentoo.org/613378
87 ----
88 - Makefile.PL | 1 +
89 - lib/Data/FormValidator.pm | 3 ++-
90 - 2 files changed, 3 insertions(+), 1 deletion(-)
91 -
92 -diff --git a/Makefile.PL b/Makefile.PL
93 -index a9839a6..cef175a 100644
94 ---- a/Makefile.PL
95 -+++ b/Makefile.PL
96 -@@ -19,6 +19,7 @@ WriteMakefile(
97 - 'Regexp::Common' => 0.03, # when ::whitespace was added
98 - 'Scalar::Util' => 0,
99 - 'Email::Valid' => 0,
100 -+ 'File::Spec' => 0,
101 - },
102 - (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
103 - 'meta-spec' => { version => 2 },
104 -diff --git a/lib/Data/FormValidator.pm b/lib/Data/FormValidator.pm
105 -index 7075dc4..bc0709e 100644
106 ---- a/lib/Data/FormValidator.pm
107 -+++ b/lib/Data/FormValidator.pm
108 -@@ -24,6 +24,7 @@
109 -
110 - package Data::FormValidator;
111 - use Exporter 'import';
112 -+use File::Spec qw();
113 - use 5.008;
114 -
115 - use Data::FormValidator::Results;
116 -@@ -147,7 +148,7 @@ sub new {
117 - $profiles = $profiles_or_file;
118 - }
119 - else {
120 -- $file = $profiles_or_file;
121 -+ $file = File::Spec->rel2abs( $profiles_or_file );
122 - }
123 -
124 -
125 ---
126 -2.12.2
127 -