summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-03 07:56:33 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-03 07:57:06 +1300
commitf560e42e4718d148749132bed517c5a1beea8f79 (patch)
tree6daa15b7aefbe775f5f29a348d5543452d4bb9ff /dev-perl/CGI-FormBuilder
parentmedia-sound/soundkonverter: 3.0.1 (diff)
downloadgentoo-f560e42e4718d148749132bed517c5a1beea8f79.tar.gz
gentoo-f560e42e4718d148749132bed517c5a1beea8f79.tar.bz2
gentoo-f560e42e4718d148749132bed517c5a1beea8f79.zip
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
Diffstat (limited to 'dev-perl/CGI-FormBuilder')
-rw-r--r--dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild63
-rw-r--r--dev-perl/CGI-FormBuilder/Manifest1
2 files changed, 64 insertions, 0 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
new file mode 100644
index 000000000000..a84ec1784fcd
--- /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::Template via 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::Template via 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 55ff407af8fb..1a9b6c0f1f1b 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