1 |
commit: f560e42e4718d148749132bed517c5a1beea8f79 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 2 18:56:33 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 2 18:57:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f560e42e |
7 |
|
8 |
dev-perl/CGI-FormBuilder: Bump to version 3.100.0 |
9 |
|
10 |
- EAPI6 |
11 |
- Parallel Tests |
12 |
- Report optional features |
13 |
|
14 |
Upstream: |
15 |
- Avoid warnings with CGI's ->param in list context |
16 |
|
17 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
18 |
|
19 |
.../CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild | 63 ++++++++++++++++++++++ |
20 |
dev-perl/CGI-FormBuilder/Manifest | 1 + |
21 |
2 files changed, 64 insertions(+) |
22 |
|
23 |
diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..a84ec1784fc |
26 |
--- /dev/null |
27 |
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild |
28 |
@@ -0,0 +1,63 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+DIST_AUTHOR=BIGPRESH |
35 |
+DIST_VERSION=3.10 |
36 |
+inherit perl-module |
37 |
+ |
38 |
+DESCRIPTION="Extremely fast, reliable form generation and processing module" |
39 |
+HOMEPAGE="http://www.formbuilder.org/ ${HOMEPAGE}" |
40 |
+ |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="test" |
44 |
+ |
45 |
+PATCHES=( |
46 |
+ "${FILESDIR}/${PN}-3.90.0-rt81650.patch" |
47 |
+) |
48 |
+# Templates that can be used - but they are optional |
49 |
+# >=dev-perl/CGI-SSI-0.920.0 |
50 |
+ |
51 |
+RDEPEND="dev-perl/CGI" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ virtual/perl-ExtUtils-MakeMaker |
54 |
+" |
55 |
+ |
56 |
+optdep_notice() { |
57 |
+ elog "This package has support for optionally using the following template" |
58 |
+ elog "engines which you may want to install separately:" |
59 |
+ |
60 |
+ local i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo '[I]'; else echo '[ ]'; fi)" |
61 |
+ elog " $i >=dev-perl/CGI-FastTemplate-1.90.0" |
62 |
+ elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast"; |
63 |
+ |
64 |
+ i="$(if has_version '>=dev-perl/HTML-Template-2.60.0'; then echo '[I]'; else echo '[ ]'; fi)" |
65 |
+ elog " $i >=dev-perl/HTML-Template-2.60.0" |
66 |
+ elog " - HTML::Template via CGI::FormBuilder::Template::HTML"; |
67 |
+ |
68 |
+ i="$(if has_version '>=dev-perl/Template-Toolkit-2.80.0'; then echo '[I]'; else echo '[ ]'; fi)" |
69 |
+ elog " $i >=dev-perl/Template-Toolkit-2.80.0" |
70 |
+ elog " - Template.pm via CGI::FormBuilder::Template::TT2"; |
71 |
+ |
72 |
+ i="$(if has_version '>=dev-perl/Text-Template-1.430.0'; then echo '[I]'; else echo '[ ]'; fi)" |
73 |
+ elog " $i >=dev-perl/Text-Template-1.430.0" |
74 |
+ elog " - Text::Template via CGI::FormBuilder::Template::Text"; |
75 |
+ |
76 |
+ if use test; then |
77 |
+ elog |
78 |
+ elog "Additional tests exist in this module which will perform relevant tests" |
79 |
+ elog "when any of the aforementioned optional dependencies are installed" |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ optdep_notice; |
85 |
+ echo |
86 |
+ perl-module_src_test |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ use test || optdep_notice; |
91 |
+} |
92 |
|
93 |
diff --git a/dev-perl/CGI-FormBuilder/Manifest b/dev-perl/CGI-FormBuilder/Manifest |
94 |
index 55ff407af8f..1a9b6c0f1f1 100644 |
95 |
--- a/dev-perl/CGI-FormBuilder/Manifest |
96 |
+++ b/dev-perl/CGI-FormBuilder/Manifest |
97 |
@@ -1 +1,2 @@ |
98 |
DIST CGI-FormBuilder-3.09.tgz 163526 SHA256 654907527717c3bbb169c739a9a817f14552054619ab3c93d6a5f808649fa863 SHA512 6907131de95ac0188a4a80e380fd81554bd9fb8d2566e961e5ff05a30e4498bccb157ecfdc77bdcd05427ebc5882caaea47b044aaaddae85f48231c0b7eef240 WHIRLPOOL 1424607dc1d931e9fc71717ccb05c8b42d12b9d65cecf3b36ace4e5b5bb79db9075abae6110ed59ee3f169c853a450c2c8f065e038f49dbb4b4386799db42a51 |
99 |
+DIST CGI-FormBuilder-3.10.tar.gz 162346 SHA256 aec99be0c0f067a7e7269c5378e5ae6c8d7dd39b368b4f12c0d8463b13ee7198 SHA512 38d8e6eb729e188074d872b979ad46133152877bb30b95329a2c7275154646a4afb62dc3539cb34781149f424b1d384d05230efe8b174967742625a81765bad5 WHIRLPOOL b26b819154b28223f088c4435d837e7433c0d0361b5113d212376cbb59351f6bb0ebf2563a1eaf4adbd668bb482802579987d6ef9917073efbad18ef65631417 |