pkgsrc/www/p5-HTML-FormFu/Makefile

61 lines
3 KiB
Makefile
Raw Normal View History

2021-05-24 21:49:01 +02:00
# $NetBSD: Makefile,v 1.30 2021/05/24 19:55:31 wiz Exp $
DISTNAME= HTML-FormFu-2.07
PKGNAME= p5-${DISTNAME}
2021-05-24 21:49:01 +02:00
PKGREVISION= 3
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/HTML-FormFu
COMMENT= HTML Form Creation, Rendering and Validation Framework
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Captcha-reCAPTCHA>=0.93:../../www/p5-Captcha-reCAPTCHA
DEPENDS+= p5-Class-Accessor-Chained-[0-9]*:../../devel/p5-Class-Accessor-Chained
Updating www/p5-HTML-FormFu from 0.06001nb1 to 0.07003 pkgsrc changes: - adjust dependencies - adjust module type Upstream changes: 0.07003 2010-08-02 - Fix: Group element now escapes each items attributes, label_attributes and container attributes (based on by patch by Jeff Dairiki). - Fix: If using default_natural, use default_datetime_args{set_time_zone} if it's also set (Radek). - Filter::HTMLScrubber extra functionality. - Update _merge_hashes() so it can also merge arrays and hashes into a new array. This is necessary to allow default_args() to define a different ref-type than the element or processor which uses its values. - Update Element::reCAPTCHA tests after changes to Captcha::reCAPTHCA (bump dependency version). 0.07002 2010-06-24 - Fix: Use MRO::Compat before mro to support perl 5.8 - Fix: Date and ComboBox elements need to run deflators before trying to use any default value - reported by Matija Grabnar. - Overloading comparisons no longer assume both arguments are a blessed object - change needed for latest Test::More (Test-Simple-0.95_02) (RT#57747) - Change Element::Date to not use deprecated DateTime::Locale methods. - Bump DateTime::Locale and DateTime::Format::Strptime required versions as DateTime::Locale Changes file has no mention of when the methods we're now using were added. - Removed Regexp::Copy from prereqs. 0.07001 2010-05-16 - No changes - cpan indexer failed for last release 0.07000 2010-05-16 - Change of behaviour: default_args() values are now applied to any object inheriting from the specified type, rather than just an instance of that type. Old behaviour is still supported with a minor change, see docs for details. - (Daniel Hilton) - Change of behaviour: default_args() key/values are now applied in order of inheritance, rather than the random order returned by keys() - New reverse_single attribute for all field elements. New reverse_group attribute for Checkboxgroup and Radiogroup elements. (Ronald Kimball) - New default_datetime_args() method on Date and DateTime elements. - Element::DateTime now supports a 'second' select menu. - Allow empty string as default value for Date element. (Ronald Kimball) - Now use Clone instead of Storable (ntyni@iki.fi). - Change from Class::C3 to mro, to get built-in support in perl >= 5.9 - New Bulgarian translation (Kamen Naydenov). - Fix bad links and markup in POD. (Ronald Kimball) - Fix spelling errors in POD (Ansgar Burchardt) - Documented Element::Textarea cols() and rows() methods. - Bump Config::Any requirement to version 0.18 for YAML::XS support - Refactored ObjectUtil (Daniel Hilton)
2010-09-15 08:40:32 +02:00
DEPENDS+= p5-Clone>=0.31:../../devel/p5-Clone
DEPENDS+= p5-Config-Any>=0.18:../../devel/p5-Config-Any
DEPENDS+= p5-Crypt-CBC-[0-9]*:../../security/p5-Crypt-CBC
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
Updating www/p5-HTML-FormFu from 0.06001nb1 to 0.07003 pkgsrc changes: - adjust dependencies - adjust module type Upstream changes: 0.07003 2010-08-02 - Fix: Group element now escapes each items attributes, label_attributes and container attributes (based on by patch by Jeff Dairiki). - Fix: If using default_natural, use default_datetime_args{set_time_zone} if it's also set (Radek). - Filter::HTMLScrubber extra functionality. - Update _merge_hashes() so it can also merge arrays and hashes into a new array. This is necessary to allow default_args() to define a different ref-type than the element or processor which uses its values. - Update Element::reCAPTCHA tests after changes to Captcha::reCAPTHCA (bump dependency version). 0.07002 2010-06-24 - Fix: Use MRO::Compat before mro to support perl 5.8 - Fix: Date and ComboBox elements need to run deflators before trying to use any default value - reported by Matija Grabnar. - Overloading comparisons no longer assume both arguments are a blessed object - change needed for latest Test::More (Test-Simple-0.95_02) (RT#57747) - Change Element::Date to not use deprecated DateTime::Locale methods. - Bump DateTime::Locale and DateTime::Format::Strptime required versions as DateTime::Locale Changes file has no mention of when the methods we're now using were added. - Removed Regexp::Copy from prereqs. 0.07001 2010-05-16 - No changes - cpan indexer failed for last release 0.07000 2010-05-16 - Change of behaviour: default_args() values are now applied to any object inheriting from the specified type, rather than just an instance of that type. Old behaviour is still supported with a minor change, see docs for details. - (Daniel Hilton) - Change of behaviour: default_args() key/values are now applied in order of inheritance, rather than the random order returned by keys() - New reverse_single attribute for all field elements. New reverse_group attribute for Checkboxgroup and Radiogroup elements. (Ronald Kimball) - New default_datetime_args() method on Date and DateTime elements. - Element::DateTime now supports a 'second' select menu. - Allow empty string as default value for Date element. (Ronald Kimball) - Now use Clone instead of Storable (ntyni@iki.fi). - Change from Class::C3 to mro, to get built-in support in perl >= 5.9 - New Bulgarian translation (Kamen Naydenov). - Fix bad links and markup in POD. (Ronald Kimball) - Fix spelling errors in POD (Ansgar Burchardt) - Documented Element::Textarea cols() and rows() methods. - Bump Config::Any requirement to version 0.18 for YAML::XS support - Refactored ObjectUtil (Daniel Hilton)
2010-09-15 08:40:32 +02:00
DEPENDS+= p5-Data-Visitor>=0.26:../../devel/p5-Data-Visitor
DEPENDS+= p5-Date-Calc-[0-9]*:../../devel/p5-Date-Calc
DEPENDS+= p5-DateTime>=0.54:../../time/p5-DateTime
DEPENDS+= p5-DateTime-Format-Builder>=0.7901:../../time/p5-DateTime-Format-Builder
DEPENDS+= p5-DateTime-Format-Natural-[0-9]*:../../time/p5-DateTime-Format-Natural
Updating www/p5-HTML-FormFu from 0.06001nb1 to 0.07003 pkgsrc changes: - adjust dependencies - adjust module type Upstream changes: 0.07003 2010-08-02 - Fix: Group element now escapes each items attributes, label_attributes and container attributes (based on by patch by Jeff Dairiki). - Fix: If using default_natural, use default_datetime_args{set_time_zone} if it's also set (Radek). - Filter::HTMLScrubber extra functionality. - Update _merge_hashes() so it can also merge arrays and hashes into a new array. This is necessary to allow default_args() to define a different ref-type than the element or processor which uses its values. - Update Element::reCAPTCHA tests after changes to Captcha::reCAPTHCA (bump dependency version). 0.07002 2010-06-24 - Fix: Use MRO::Compat before mro to support perl 5.8 - Fix: Date and ComboBox elements need to run deflators before trying to use any default value - reported by Matija Grabnar. - Overloading comparisons no longer assume both arguments are a blessed object - change needed for latest Test::More (Test-Simple-0.95_02) (RT#57747) - Change Element::Date to not use deprecated DateTime::Locale methods. - Bump DateTime::Locale and DateTime::Format::Strptime required versions as DateTime::Locale Changes file has no mention of when the methods we're now using were added. - Removed Regexp::Copy from prereqs. 0.07001 2010-05-16 - No changes - cpan indexer failed for last release 0.07000 2010-05-16 - Change of behaviour: default_args() values are now applied to any object inheriting from the specified type, rather than just an instance of that type. Old behaviour is still supported with a minor change, see docs for details. - (Daniel Hilton) - Change of behaviour: default_args() key/values are now applied in order of inheritance, rather than the random order returned by keys() - New reverse_single attribute for all field elements. New reverse_group attribute for Checkboxgroup and Radiogroup elements. (Ronald Kimball) - New default_datetime_args() method on Date and DateTime elements. - Element::DateTime now supports a 'second' select menu. - Allow empty string as default value for Date element. (Ronald Kimball) - Now use Clone instead of Storable (ntyni@iki.fi). - Change from Class::C3 to mro, to get built-in support in perl >= 5.9 - New Bulgarian translation (Kamen Naydenov). - Fix bad links and markup in POD. (Ronald Kimball) - Fix spelling errors in POD (Ansgar Burchardt) - Documented Element::Textarea cols() and rows() methods. - Bump Config::Any requirement to version 0.18 for YAML::XS support - Refactored ObjectUtil (Daniel Hilton)
2010-09-15 08:40:32 +02:00
DEPENDS+= p5-DateTime-Format-Strptime>=1.2000:../../time/p5-DateTime-Format-Strptime
DEPENDS+= p5-DateTime-Locale>=0.45:../../time/p5-DateTime-Locale
DEPENDS+= p5-Email-Valid-[0-9]*:../../mail/p5-Email-Valid
DEPENDS+= p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir
DEPENDS+= p5-File-ShareDir-Install-[0-9]*:../../devel/p5-File-ShareDir-Install
DEPENDS+= p5-HTML-Scrubber-[0-9]*:../../www/p5-HTML-Scrubber
DEPENDS+= p5-HTML-TokeParser-Simple>=3.14:../../www/p5-HTML-TokeParser-Simple
DEPENDS+= p5-Hash-Flatten-[0-9]*:../../devel/p5-Hash-Flatten
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
#DEPENDS+= {perl>=5.10.0,p5-Scalar-List-Utils-[0-9]*}:../../devel/p5-Scalar-List-Utils
#DEPENDS+= {perl>=5.7.3,p5-Locale-Maketext-[0-9]*}:../../misc/p5-Locale-Maketext
DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable
DEPENDS+= p5-Moose>=1.00:../../devel/p5-Moose
DEPENDS+= p5-MooseX-Attribute-Chained>=1.0.1:../../devel/p5-MooseX-Attribute-Chained
Update p5-HTML-FormFu to 0.09005. Changes from previous: 0.09005 2011-09-06 - bump version of prereq CGI to 3.37 to make all tests pass 0.09004 2011-08-26 - skip aggregate.t on Win32 - no functional changes to HTML::FormFu 0.09003_02 2011-08-25 - disable Test::Aggregate on Win32 0.09003_01 2011-05-11 - using Test::Aggregate for the test suite if installed tests finish now in seconds instead of minutes 0.09003 2011-05-10 - fixed regression in Model::HashRef introduced in 0.09000 0.09002 2011-03-21 - Hopefully fix IO::Interactive dependency properly 0.09001 2011-03-31 - Fix IO::Interactive dependency 0.09000 2011-03-29 - Codebase changed to use Moose - massive internal changes - any custom Elements, Constraints, etc will require changes. See advice on mailing list: http://www.mail-archive.com/html-formfu@lists.scsys.co.uk/msg02325.html Or ask for help on the mailing list: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu - Bug fix: was a fatal error when a value was submitted for Label element (code called delete_nested_hash_value instead of deleted_nested_hash_key). - Bug fix: RT#65728 Filter::Split shouldn't return a value if no value was submitted. - Bug fix: Element::Date now uses default() in preference to default_natural(). RT#65727 - DateTime elements, minutes and seconds have new 'interval' option. - Now only delete submitted value if there's no other field on the form with the same name. - load_config_file(stem) now honours the include path order, to mimic TT behaviour.
2011-11-18 14:21:41 +01:00
DEPENDS+= p5-MooseX-Aliases-[0-9]*:../../devel/p5-MooseX-Aliases
DEPENDS+= p5-MooseX-SetOnce-[0-9]*:../../devel/p5-MooseX-SetOnce
DEPENDS+= p5-Number-Format-[0-9]*:../../textproc/p5-Number-Format
DEPENDS+= p5-Path-Class-[0-9]*:../../devel/p5-Path-Class
Update to 1.00 Add missing DEPENDS Upstream changes: 1.00 2013-12-16 - TT template files changed - update them if you use a local copy. Template file 'label_tag' renamed to 'label_element' - old file can be deleted. 'field' file changed. New 'errors' file. - TT no longer listed as a prerequisite. If you use the TT files, you must add 'Template' to your own app's prereqs. - Element::reCAPTCHA and Constraint::reCAPTCHA moved out to separate distribution. - HTML::FormFu::MultiForm moved out to separate distribution. - auto_container_class(), auto_label_class(), auto_comment_class(), auto_container_error_class(), auto_container_per_error_class(), auto_error_class() no longer have default values. See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore previous behaviour. - auto_label_class() no longer adds class to container. auto_label_class() now adds class to label tag. new auto_container_label_class() adds class to container. See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore previous behaviour. - auto_comment_class() no longer adds class to both container and comment. auto_comment_class() now only adds class to comment tag. new auto_container_comment_class() adds class to container. See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore previous behaviour. - Bug fix: param_value() form method now matches documented behaviour - returns undef when field has errors. (Reported by Hailin Hu). - New Element::Email and Element::URL HTML5 input fields. - Role::Element::Input has new datalist_options(), datalist_values(), datalist_id() and auto_datalist_id() methods to support HTML5 datalists. auto_datalist_id() is an inherited accessor which can be set on the Form, MultiForm, or Block. - Form and Elements has new title() attribute short-cut. - Constraint::Regex has new anchored() accessor. - New Input attribute accessors: placeholder(), pattern(), autocomplete(). - New Input boolean attribute accessors: autofocus(), multiple(), required(). - New Field inherited accessors: auto_container_per_error_class(), auto_error_container_class(), auto_error_container_per_error_class(), error_tag(), error_container_tag - Constraints have new experimental method fetch_error_message(). - All field elements have new method error_filename(). - default_args() now supports 'Block', 'Field', 'Input' pseudo-elements, '|' alternatives, and '+' and '-' ancestor modifiers. - New Czech (cs) I18N translation by Jan Grmela. - mk_inherited_accessors() now also creates a *_no_inherit() method. - Experimental new roles() form method. - form methods start(), end() now respect render_method - no longer force use of tt templates. - Bug fix: del_attribute() on empty attribute no longer sets the attribute. - All attribute accessors generated with mk_attrs() now have *_loc variants. - form methods start(), end() now respect render_method - no longer force use of tt templates. - Tests now always require Test::Aggregate::Nested. Re-enable aggregate tests on Win32. Don't run all tests twice under both aggregate and t/ (doh!)
2014-02-23 12:32:16 +01:00
DEPENDS+= p5-Readonly>=0:../../devel/p5-Readonly
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
Updating www/p5-HTML-FormFu from 0.06001nb1 to 0.07003 pkgsrc changes: - adjust dependencies - adjust module type Upstream changes: 0.07003 2010-08-02 - Fix: Group element now escapes each items attributes, label_attributes and container attributes (based on by patch by Jeff Dairiki). - Fix: If using default_natural, use default_datetime_args{set_time_zone} if it's also set (Radek). - Filter::HTMLScrubber extra functionality. - Update _merge_hashes() so it can also merge arrays and hashes into a new array. This is necessary to allow default_args() to define a different ref-type than the element or processor which uses its values. - Update Element::reCAPTCHA tests after changes to Captcha::reCAPTHCA (bump dependency version). 0.07002 2010-06-24 - Fix: Use MRO::Compat before mro to support perl 5.8 - Fix: Date and ComboBox elements need to run deflators before trying to use any default value - reported by Matija Grabnar. - Overloading comparisons no longer assume both arguments are a blessed object - change needed for latest Test::More (Test-Simple-0.95_02) (RT#57747) - Change Element::Date to not use deprecated DateTime::Locale methods. - Bump DateTime::Locale and DateTime::Format::Strptime required versions as DateTime::Locale Changes file has no mention of when the methods we're now using were added. - Removed Regexp::Copy from prereqs. 0.07001 2010-05-16 - No changes - cpan indexer failed for last release 0.07000 2010-05-16 - Change of behaviour: default_args() values are now applied to any object inheriting from the specified type, rather than just an instance of that type. Old behaviour is still supported with a minor change, see docs for details. - (Daniel Hilton) - Change of behaviour: default_args() key/values are now applied in order of inheritance, rather than the random order returned by keys() - New reverse_single attribute for all field elements. New reverse_group attribute for Checkboxgroup and Radiogroup elements. (Ronald Kimball) - New default_datetime_args() method on Date and DateTime elements. - Element::DateTime now supports a 'second' select menu. - Allow empty string as default value for Date element. (Ronald Kimball) - Now use Clone instead of Storable (ntyni@iki.fi). - Change from Class::C3 to mro, to get built-in support in perl >= 5.9 - New Bulgarian translation (Kamen Naydenov). - Fix bad links and markup in POD. (Ronald Kimball) - Fix spelling errors in POD (Ansgar Burchardt) - Documented Element::Textarea cols() and rows() methods. - Bump Config::Any requirement to version 0.18 for YAML::XS support - Refactored ObjectUtil (Daniel Hilton)
2010-09-15 08:40:32 +02:00
#DEPENDS+= p5-Regexp-Copy-[0-9]*:../../textproc/p5-Regexp-Copy
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
DEPENDS+= p5-Template-Toolkit>=2:../../www/p5-Template-Toolkit
DEPENDS+= p5-YAML-LibYAML>=0.32:../../textproc/p5-YAML-LibYAML
DEPENDS+= p5-libwww>=5:../../www/p5-libwww
#BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.92}:../../devel/p5-Test-Simple
BUILD_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings
USE_LANGUAGES= c
PERL5_PACKLIST= auto/HTML/FormFu/.packlist
Updating www/p5-HTML-FormFu from 0.06001nb1 to 0.07003 pkgsrc changes: - adjust dependencies - adjust module type Upstream changes: 0.07003 2010-08-02 - Fix: Group element now escapes each items attributes, label_attributes and container attributes (based on by patch by Jeff Dairiki). - Fix: If using default_natural, use default_datetime_args{set_time_zone} if it's also set (Radek). - Filter::HTMLScrubber extra functionality. - Update _merge_hashes() so it can also merge arrays and hashes into a new array. This is necessary to allow default_args() to define a different ref-type than the element or processor which uses its values. - Update Element::reCAPTCHA tests after changes to Captcha::reCAPTHCA (bump dependency version). 0.07002 2010-06-24 - Fix: Use MRO::Compat before mro to support perl 5.8 - Fix: Date and ComboBox elements need to run deflators before trying to use any default value - reported by Matija Grabnar. - Overloading comparisons no longer assume both arguments are a blessed object - change needed for latest Test::More (Test-Simple-0.95_02) (RT#57747) - Change Element::Date to not use deprecated DateTime::Locale methods. - Bump DateTime::Locale and DateTime::Format::Strptime required versions as DateTime::Locale Changes file has no mention of when the methods we're now using were added. - Removed Regexp::Copy from prereqs. 0.07001 2010-05-16 - No changes - cpan indexer failed for last release 0.07000 2010-05-16 - Change of behaviour: default_args() values are now applied to any object inheriting from the specified type, rather than just an instance of that type. Old behaviour is still supported with a minor change, see docs for details. - (Daniel Hilton) - Change of behaviour: default_args() key/values are now applied in order of inheritance, rather than the random order returned by keys() - New reverse_single attribute for all field elements. New reverse_group attribute for Checkboxgroup and Radiogroup elements. (Ronald Kimball) - New default_datetime_args() method on Date and DateTime elements. - Element::DateTime now supports a 'second' select menu. - Allow empty string as default value for Date element. (Ronald Kimball) - Now use Clone instead of Storable (ntyni@iki.fi). - Change from Class::C3 to mro, to get built-in support in perl >= 5.9 - New Bulgarian translation (Kamen Naydenov). - Fix bad links and markup in POD. (Ronald Kimball) - Fix spelling errors in POD (Ansgar Burchardt) - Documented Element::Textarea cols() and rows() methods. - Bump Config::Any requirement to version 0.18 for YAML::XS support - Refactored ObjectUtil (Daniel Hilton)
2010-09-15 08:40:32 +02:00
PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"