[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/

2020-09-26 Thread Kent Fredric
commit: 933117f2e9ee8dde9082710c19f635bc9cfe07ca
Author: Kent Fredric  gentoo  org>
AuthorDate: Sat Sep 26 08:59:24 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Sep 26 09:23:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=933117f2

dev-perl/CGI-FormBuilder: Cleanup old 3.100.0

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric  gentoo.org>

 .../CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild | 70 --
 1 file changed, 70 deletions(-)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
deleted file mode 100644
index ad07f81284d..000
--- a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=BIGPRESH
-DIST_VERSION=3.10
-inherit perl-module
-
-DESCRIPTION="Extremely fast, reliable form generation and processing module"
-HOMEPAGE="http://www.formbuilder.org/ 
https://metacpan.org/release/CGI-FormBuilder;
-
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-3.90.0-rt81650.patch"
-)
-# Templates that can be used - but they are optional
-#  >=dev-perl/CGI-SSI-0.920.0
-
-RDEPEND="dev-perl/CGI"
-DEPEND="${RDEPEND}
-   virtual/perl-ExtUtils-MakeMaker
-"
-
-optdep_notice() {
-   local i;
-   elog "This package has support for optional features via the following 
packages"
-   elog "which you may want to install separately:"
-   elog
-   i="$(if has_version '>=dev-perl/CGI-Session-3.950.0'; then echo '[I]'; 
else echo '[ ]'; fi)"
-   elog " $i >=dev-perl/CGI-Session-3.950.0"
-   elog " - Multi-page form persistence with CGI::FormBuilder::Multi";
-   elog
-   elog " Alternative Template Engines:"
-   i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
-   elog " $i >=dev-perl/CGI-FastTemplate-1.90.0"
-   elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast";
-
-   i="$(if has_version '>=dev-perl/HTML-Template-2.60.0'; then echo '[I]'; 
else echo '[ ]'; fi)"
-   elog " $i >=dev-perl/HTML-Template-2.60.0"
-   elog " - HTML::Templatevia CGI::FormBuilder::Template::HTML";
-
-   i="$(if has_version '>=dev-perl/Template-Toolkit-2.80.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
-   elog " $i >=dev-perl/Template-Toolkit-2.80.0"
-   elog " - Template.pm   via CGI::FormBuilder::Template::TT2";
-
-   i="$(if has_version '>=dev-perl/Text-Template-1.430.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
-   elog " $i >=dev-perl/Text-Template-1.430.0"
-   elog " - Text::Templatevia CGI::FormBuilder::Template::Text";
-
-   if use test; then
-   elog
-   elog "This module will perform additonal tests if these 
dependencies are"
-   elog "pre-installed"
-   fi
-}
-
-src_test() {
-   optdep_notice;
-   echo
-   perl-module_src_test
-}
-
-pkg_postinst() {
-   use test || optdep_notice;
-}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/

2020-05-07 Thread Kent Fredric
commit: c924ab4d7796762462f89e3d6637602b8a85c6f1
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu May  7 08:05:49 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu May  7 08:07:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c924ab4d

dev-perl/CGI-FormBuilder: -r bump for EAPI7 / License fixes

- EAPI7
- Fix license as per upstream

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 .../CGI-FormBuilder-3.100.0-r1.ebuild  | 71 ++
 1 file changed, 71 insertions(+)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0-r1.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0-r1.ebuild
new file mode 100644
index 000..3598f3eae66
--- /dev/null
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=BIGPRESH
+DIST_VERSION=3.10
+inherit perl-module
+
+DESCRIPTION="Extremely fast, reliable form generation and processing module"
+HOMEPAGE="http://www.formbuilder.org/ 
https://metacpan.org/release/CGI-FormBuilder;
+# Explicit declaration by upstream
+LICENSE="|| ( Artistic GPL-1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.90.0-rt81650.patch"
+)
+# Templates that can be used - but they are optional
+#  >=dev-perl/CGI-SSI-0.920.0
+
+RDEPEND="dev-perl/CGI"
+BDEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+"
+
+optdep_notice() {
+   local i;
+   elog "This package has support for optional features via the following 
packages"
+   elog "which you may want to install separately:"
+   elog
+   i="$(if has_version '>=dev-perl/CGI-Session-3.950.0'; then echo '[I]'; 
else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/CGI-Session-3.950.0"
+   elog " - Multi-page form persistence with CGI::FormBuilder::Multi";
+   elog
+   elog " Alternative Template Engines:"
+   i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/CGI-FastTemplate-1.90.0"
+   elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast";
+
+   i="$(if has_version '>=dev-perl/HTML-Template-2.60.0'; then echo '[I]'; 
else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/HTML-Template-2.60.0"
+   elog " - HTML::Templatevia CGI::FormBuilder::Template::HTML";
+
+   i="$(if has_version '>=dev-perl/Template-Toolkit-2.80.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/Template-Toolkit-2.80.0"
+   elog " - Template.pm   via CGI::FormBuilder::Template::TT2";
+
+   i="$(if has_version '>=dev-perl/Text-Template-1.430.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/Text-Template-1.430.0"
+   elog " - Text::Templatevia CGI::FormBuilder::Template::Text";
+
+   if use test; then
+   elog
+   elog "This module will perform additonal tests if these 
dependencies are"
+   elog "pre-installed"
+   fi
+}
+
+src_test() {
+   optdep_notice;
+   echo
+   perl-module_src_test
+}
+
+pkg_postinst() {
+   use test || optdep_notice;
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/

2017-10-02 Thread Kent Fredric
commit: 2316e95de01bc908b50be18dc002c4f98e5c3453
Author: Kent Fredric  gentoo  org>
AuthorDate: Mon Oct  2 19:55:06 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Mon Oct  2 20:40:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2316e95d

dev-perl/CGI-FormBuilder: Improve optdep notice

Including one overlooked optdep with test interaction

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild | 18 --
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
index a84ec1784fc..52abc4e4d47 100644
--- a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
@@ -26,10 +26,16 @@ DEPEND="${RDEPEND}
 "
 
 optdep_notice() {
-   elog "This package has support for optionally using the following 
template"
-   elog "engines which you may want to install separately:"
-
-   local i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then 
echo '[I]'; else echo '[ ]'; fi)"
+   local i;
+   elog "This package has support for optional features via the following 
packages"
+   elog "which you may want to install separately:"
+   elog
+   i="$(if has_version '>=dev-perl/CGI-Session-3.950.0'; then echo '[I]'; 
else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/CGI-Session-3.950.0"
+   elog " - Multi-page form persistence with CGI::FormBuilder::Multi";
+   elog
+   elog " Alternative Template Engines:"
+   i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
elog " $i >=dev-perl/CGI-FastTemplate-1.90.0"
elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast";
 
@@ -47,8 +53,8 @@ optdep_notice() {
 
if use test; then
elog
-   elog "Additional tests exist in this module which will perform 
relevant tests"
-   elog "when any of the aforementioned optional dependencies are 
installed"
+   elog "This module will perform additonal tests if these 
dependencies are"
+   elog "pre-installed"
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/

2017-10-02 Thread Kent Fredric
commit: f560e42e4718d148749132bed517c5a1beea8f79
Author: Kent Fredric  gentoo  org>
AuthorDate: Mon Oct  2 18:56:33 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Mon Oct  2 18:57:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f560e42e

dev-perl/CGI-FormBuilder:  Bump to version 3.100.0

- EAPI6
- Parallel Tests
- Report optional features

Upstream:
- Avoid warnings with CGI's ->param in list context

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild | 63 ++
 dev-perl/CGI-FormBuilder/Manifest  |  1 +
 2 files changed, 64 insertions(+)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
new file mode 100644
index 000..a84ec1784fc
--- /dev/null
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=BIGPRESH
+DIST_VERSION=3.10
+inherit perl-module
+
+DESCRIPTION="Extremely fast, reliable form generation and processing module"
+HOMEPAGE="http://www.formbuilder.org/ ${HOMEPAGE}"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.90.0-rt81650.patch"
+)
+# Templates that can be used - but they are optional
+#  >=dev-perl/CGI-SSI-0.920.0
+
+RDEPEND="dev-perl/CGI"
+DEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+"
+
+optdep_notice() {
+   elog "This package has support for optionally using the following 
template"
+   elog "engines which you may want to install separately:"
+
+   local i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then 
echo '[I]'; else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/CGI-FastTemplate-1.90.0"
+   elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast";
+
+   i="$(if has_version '>=dev-perl/HTML-Template-2.60.0'; then echo '[I]'; 
else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/HTML-Template-2.60.0"
+   elog " - HTML::Templatevia CGI::FormBuilder::Template::HTML";
+
+   i="$(if has_version '>=dev-perl/Template-Toolkit-2.80.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/Template-Toolkit-2.80.0"
+   elog " - Template.pm   via CGI::FormBuilder::Template::TT2";
+
+   i="$(if has_version '>=dev-perl/Text-Template-1.430.0'; then echo 
'[I]'; else echo '[ ]'; fi)"
+   elog " $i >=dev-perl/Text-Template-1.430.0"
+   elog " - Text::Templatevia CGI::FormBuilder::Template::Text";
+
+   if use test; then
+   elog
+   elog "Additional tests exist in this module which will perform 
relevant tests"
+   elog "when any of the aforementioned optional dependencies are 
installed"
+   fi
+}
+
+src_test() {
+   optdep_notice;
+   echo
+   perl-module_src_test
+}
+
+pkg_postinst() {
+   use test || optdep_notice;
+}

diff --git a/dev-perl/CGI-FormBuilder/Manifest 
b/dev-perl/CGI-FormBuilder/Manifest
index 55ff407af8f..1a9b6c0f1f1 100644
--- a/dev-perl/CGI-FormBuilder/Manifest
+++ b/dev-perl/CGI-FormBuilder/Manifest
@@ -1 +1,2 @@
 DIST CGI-FormBuilder-3.09.tgz 163526 SHA256 
654907527717c3bbb169c739a9a817f14552054619ab3c93d6a5f808649fa863 SHA512 
6907131de95ac0188a4a80e380fd81554bd9fb8d2566e961e5ff05a30e4498bccb157ecfdc77bdcd05427ebc5882caaea47b044aaaddae85f48231c0b7eef240
 WHIRLPOOL 
1424607dc1d931e9fc71717ccb05c8b42d12b9d65cecf3b36ace4e5b5bb79db9075abae6110ed59ee3f169c853a450c2c8f065e038f49dbb4b4386799db42a51
+DIST CGI-FormBuilder-3.10.tar.gz 162346 SHA256 
aec99be0c0f067a7e7269c5378e5ae6c8d7dd39b368b4f12c0d8463b13ee7198 SHA512 
38d8e6eb729e188074d872b979ad46133152877bb30b95329a2c7275154646a4afb62dc3539cb34781149f424b1d384d05230efe8b174967742625a81765bad5
 WHIRLPOOL 
b26b819154b28223f088c4435d837e7433c0d0361b5113d212376cbb59351f6bb0ebf2563a1eaf4adbd668bb482802579987d6ef9917073efbad18ef65631417



[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/

2016-10-19 Thread Agostino Sarubbo
commit: eb265bd90a7f230f742c9b999330d37f52ac5e16
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 19 11:04:50 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 19 11:04:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb265bd9

dev-perl/CGI-FormBuilder: amd64 stable wrt bug #582528

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild
index 1baac2a..c5c9efb 100644
--- a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Extremely fast, reliable form generation and 
processing module"
 HOMEPAGE="http://www.formbuilder.org/ ${HOMEPAGE}"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/, dev-perl/CGI-FormBuilder/files/

2016-07-09 Thread Kent Fredric
commit: e01367fa6ba7e5418ec7c58ff64c68c0ee65c7d2
Author: Kent Fredric  gentoo  org>
AuthorDate: Sat Jul  9 12:56:23 2016 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Jul  9 12:57:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01367fa

dev-perl/CGI-FormBuilder: Fix tests failing after perl 5.18

Certian tests relied on implict hash ordering to be predictable.

This patches those tests to make the data ordered to be predictable.

Bug: https://rt.cpan.org/Ticket/Display.html?id=81650

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 
m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"

 .../CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild  |   5 +-
 .../files/CGI-FormBuilder-3.90.0-rt81650.patch | 155 +
 2 files changed, 159 insertions(+), 1 deletion(-)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild
index 0bb4577..1baac2a 100644
--- a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.90.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,6 +16,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
+PATCHES=(
+   "${FILESDIR}/${P}-rt81650.patch"
+)
 # Templates that can be used - but they are optional
 #  >=dev-perl/HTML-Template-2.60.0
 #  >=dev-perl/text-template-1.430.0

diff --git 
a/dev-perl/CGI-FormBuilder/files/CGI-FormBuilder-3.90.0-rt81650.patch 
b/dev-perl/CGI-FormBuilder/files/CGI-FormBuilder-3.90.0-rt81650.patch
new file mode 100644
index 000..08c4f98
--- /dev/null
+++ b/dev-perl/CGI-FormBuilder/files/CGI-FormBuilder-3.90.0-rt81650.patch
@@ -0,0 +1,155 @@
+diff -Naur CGI-FormBuilder-3.09/t/1c-validate.t 
CGI-FormBuilder-3.09b/t/1c-validate.t
+--- CGI-FormBuilder-3.09/t/1c-validate.t   2013-11-30 00:10:36.0 
+
 CGI-FormBuilder-3.09b/t/1c-validate.t  2016-05-11 13:10:45.680369595 
+
+@@ -174,11 +174,11 @@
+ for my $t (@test) {
+ 
+ my $form = CGI::FormBuilder->new( %{ $t->{opt} }, debug => $DEBUG );
+-while(my($f,$o) = each %{$t->{mod} || {}}) {
+-$o->{name} = $f;
+-$form->field(%$o);
++for my $field ( sort keys %{ $t->{mod} || {} } ) {
++my $object = $t->{mod}->{$field};
++$object->{name} = $field;
++$form->field( %{ $object } );
+ }
+-
+ # just try to validate
+ ok($form->validate, $t->{pass} || 0);
+ }
+diff -Naur CGI-FormBuilder-3.09/t/1d-messages.t 
CGI-FormBuilder-3.09b/t/1d-messages.t
+--- CGI-FormBuilder-3.09/t/1d-messages.t   2013-11-30 00:10:36.0 
+
 CGI-FormBuilder-3.09b/t/1d-messages.t  2016-05-11 13:08:33.159540213 
+
+@@ -70,8 +70,9 @@
+ my $locale = "fb_FAKE";
+ my $messages = "messages.$locale";
+ open(M, ">$messages") || warn "Can't write $messages: $!";
+-while (my($k,$v) = each %messages) {
+-print M join(' ', $k, ref($v) ? @$v : $v), "\n";
++for my $k ( sort keys %messages ) {
++  my $v = $messages{$k};
++  print M join(' ', $k, ref($v) ? @$v : $v), "\n";
+ }
+ close(M);
+ 
+@@ -123,7 +124,7 @@
+ # Final test set is to just make sure we have all the keys for all modules
+ require CGI::FormBuilder::Messages::default;
+ my %need = CGI::FormBuilder::Messages::default->messages;
+-my @keys = keys %need;
++my @keys = sort keys %need;
+ for my $pm (@pm) {
+ my($lang) = $pm =~ /([a-z]+_[A-Z]+)/;
+ my $skip = $lang ? undef : "skip: Can't get language from $pm";
+diff -Naur CGI-FormBuilder-3.09/t/2a-template-html.t 
CGI-FormBuilder-3.09b/t/2a-template-html.t
+--- CGI-FormBuilder-3.09/t/2a-template-html.t  2013-11-30 00:10:36.0 
+
 CGI-FormBuilder-3.09b/t/2a-template-html.t 2016-05-11 13:11:57.438740284 
+
+@@ -102,18 +102,19 @@
+ my $seq = $ARGV[0] || 1;
+ 
+ # Cycle thru and try it out
+-for (@test) {
++for my $test_item (@test) {
+ my $form = CGI::FormBuilder->new(
+ debug => $DEBUG,
+ action => 'TEST',
+ title  => 'TEST',
+-%{ $_->{opt} },
++%{ $test_item->{opt} },
+);
+ 
+ # the ${mod} key twiddles fields
+-while(my($f,$o) = each %{$_->{mod} || {}}) {
+-$o->{name} = $f;
+-$form->field(%$o);
++for my $field ( sort keys %{ $test_item->{mod} || {} } ) {
++my $object = $test_item->{mod}->{$field};
++$object->{name} = $field;
++$form->field( %{ $object } );
+ }
+ 
+ #
+diff -Naur CGI-FormBuilder-3.09/t/2b-template-text.t 
CGI-FormBuilder-3.09b/t/2b-template-text.t
+--- CGI-FormBuilder-3.09/t/2b-template-text.t  2013-11-30 00:10:36.0 
+
 CGI-FormBuilder-3.09b/t/2b-template-text.t 2016-05-11 13:11:29.861982062 
+

[gentoo-commits] repo/gentoo:master commit in: dev-perl/CGI-FormBuilder/

2015-12-29 Thread Andreas Hüttel
commit: 07bdafd245d8dc721e817b7e3639c76ae4d126d7
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Dec 29 13:11:15 2015 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Dec 29 13:11:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07bdafd2

dev-perl/CGI-FormBuilder: Remove old

Package-Manager: portage-2.2.26

 .../CGI-FormBuilder-3.80.0-r1.ebuild   | 28 --
 dev-perl/CGI-FormBuilder/Manifest  |  1 -
 2 files changed, 29 deletions(-)

diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.80.0-r1.ebuild 
b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.80.0-r1.ebuild
deleted file mode 100644
index d6c414f..000
--- a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.80.0-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=NWIGER
-MODULE_VERSION=3.08
-MODULE_A_EXT=tgz
-inherit perl-module
-
-DESCRIPTION="Extremely fast, reliable form generation and processing module"
-HOMEPAGE="http://www.formbuilder.org/ ${HOMEPAGE}"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# Templates that can be used - but they are optional
-#  >=dev-perl/HTML-Template-2.60.0
-#  >=dev-perl/text-template-1.430.0
-#  >=dev-perl/CGI-FastTemplate-1.90.0
-#  >=dev-perl/Template-Toolkit-2.80.0
-#  >=dev-perl/CGI-SSI-0.920.0
-
-RDEPEND="dev-perl/CGI"
-
-SRC_TEST=do

diff --git a/dev-perl/CGI-FormBuilder/Manifest 
b/dev-perl/CGI-FormBuilder/Manifest
index 859060c..55ff407 100644
--- a/dev-perl/CGI-FormBuilder/Manifest
+++ b/dev-perl/CGI-FormBuilder/Manifest
@@ -1,2 +1 @@
-DIST CGI-FormBuilder-3.08.tgz 155393 SHA256 
f7af79df9af541d1ed12dc41a8d3e61b9a1037710308bd29213020d4e3ab074c SHA512 
6e184b9cd87b70012004a3893e11904629eb7e7f2770b51930d18d164970e11c2119b5dd8279a85129867802a5fd61741bd652f7180b60e0f4ce4e47df2c3918
 WHIRLPOOL 
a13adb45b8c686dccaa8f3d3a9f749759531e048d040d5cb278b2195fbd3c4299e83ad2a7fba78de13ae517191c8b5c751a0d41a3b9e4a5cda48c1ce7f84c129
 DIST CGI-FormBuilder-3.09.tgz 163526 SHA256 
654907527717c3bbb169c739a9a817f14552054619ab3c93d6a5f808649fa863 SHA512 
6907131de95ac0188a4a80e380fd81554bd9fb8d2566e961e5ff05a30e4498bccb157ecfdc77bdcd05427ebc5882caaea47b044aaaddae85f48231c0b7eef240
 WHIRLPOOL 
1424607dc1d931e9fc71717ccb05c8b42d12b9d65cecf3b36ace4e5b5bb79db9075abae6110ed59ee3f169c853a450c2c8f065e038f49dbb4b4386799db42a51