pkgsrc/www/p5-Dancer/Makefile

35 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.35 2015/10/01 02:16:00 wen Exp $
DISTNAME= Dancer-1.3142
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
Update to 1.3111 Add p5-YAML as DEPENDS Upstream changes: 1.3111 [ BUG FIXES ] * GH #877: fix Dancer Error when so that 'exception' object is not passed to serializers, because XML/JSON serializers don't understand objects (rikbrown). * GH #858: Check for definedness, not truth, when testing if we read into the buffer when parsing a request body (florolf). * GH #845: Fix uninitialized warning when loading modules (Fabrice Gabolde). * GH #851, GH #853: Atomic YAML session writing (Roman Galeev). * GH #852: Saner UTF logging (Roman Galeev). * GH #849, GH #850: Serve autopages with text/html content type. (Philippe Bruhat - BooK) * GH #848: Handle If-Modified-Since header in the request for static files. (Philippe Bruhat - BooK) * GH #848: Send a Last-Modified header for static files. (Philippe Bruhat - BooK) * GH #856: Don't export non-existing subroutine (mokko). * GH #874: Reduce dependence on %ENV for internal code (Kent Fredric). * GH #875: Don't expect specific order in cookies (Yanick Champoux). * Remove 'exception' object from message being passed to serializers. (Rik Brown) * Added .travis.yml to MANIFEST.SKIP so t/manifest.t passes (Kaitlyn Parkhurst). * GH #887, GH #890: keyword 'global_warnings' added to replace 'import_warnings' (Kaitlyn Parkhurst). * GH #892: add 'private_key' to the list of potentially sensitive keys (Tom Heady). [ DOCUMENTATION ] * GH #847: Fix typo (John Wittkoski). * GH #865: Correct 'before' hook documentation (David Precious, Maurice). * GH #860, GH #844, GH #760: Misleading plack middleware documentation. (Paul Fenwick) * GH #862: Fix heading level for strict_config entry in Dancer::Config. (Stefan Hornburg - Racke) * GH #863: Correct example apache config (John Wittkoski). * GH #867: correct doc for ModuleLoader::load_with_params (mokko). * Document route_cache option (David Precious). * Docs for route_cache_size_limit & route_cache_path_limit (David Precious). * Remove meaningless 'encoding' to TT config (David Precious). * Remove docs for mounting multiple apps (Naveed Massjouni). * Update doc URLs (David Precious). * Fix inconsistency in Perlbal deployment example (Slaven Rezi., Racke). * GH #894: Replace spurious character in Dancer::Session's POD (Racke). * GH #880: Add deprecation mention for 'after' (pdl and Yanick Champoux).
2013-02-25 03:23:13 +01:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/Y/YA/YANICK/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://perldancer.org/
COMMENT= Perl 5 lightweight yet powerful web application framework
LICENSE= ${PERL5_LICENSE}
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Dancer/.packlist
BUILD_DEPENDS+= p5-CGI>=0:../../www/p5-CGI \
p5-Test-NoWarnings>=0:../../devel/p5-Test-NoWarnings
Update to 1.3100 Upstream changes: 1.3100 25.08.2012 [ BUG FIXES ] * GH #816: Improve wording when failed to load engine. (Sawyer X) * GH #817: Fix CODE reference uncloned using Clone::clone. (David Previous, Sawyer X) [ ENHANCEMENTS ] * GH #755: HTTP::Headers accepted by dancer_response. (Roberto Patriarca) [ DOCUMENTATION ] * GH #818: Use "MyWeb::App" instead of "mywebapp" in examples. (pdl) 1.3099 11.08.2012 [ BUG FIXES ] * GH #683: Fix uninitialized warnings. (Sawyer X) * GH #700: Take into account the app name in route caching. (Perlover) * GH #775: Clone variables for templates. (Reported by Wanradt Koell, fixed by David Precious, Sawyer X) * GH #776: get should be default to get/head even it's inside any. (Fayland Lam) * GH #788: Make sure ID key in sessions are clobbered. (kocoureasy) * Fix uninitialized variables in config file path. (Sawyer X) * GH #809: Require all necessarily modules in Dancer::Config. (John Wittkoski) [ ENHANCEMENTS ] * GH #799: New test function: response_redirect_location_is. (Martin Schut) * send_file now accepts an IO::Scalar. (David Precious) * Clean up $VERSION. (Damien Krotkine) [ DOCUMENTATION ] * GH #784: Synopsis fix in Dancer::Error. (Alex C) * Document session_domain in Dancer::Config. (David Precious) * Pod fixes in abstract session. (David Precious) * Synopsis fix in Dancer::Test. (Stefan Hornburg <Racke>) 1.3098 28.07.2012 [ ENHANCEMENTS ] * New keyword 'plugin_args' exported by Dancer::Plugin to provide a consistent way with Dancer 2 to obtain arguments from a plugin keyword. (Alberto Sim.es). * Add 'execute_hook' and deprecate 'execute_hooks' for homogeneity with Dancer 2. * send_file will do the right thing if given an IO::Scalar object (David Precious, prompted by Ilya Chesnokov). [ DOCUMENTATION ] * Fix escaping on some docs (Stefan Hornburg @racke).
2012-08-29 15:44:50 +02:00
DEPENDS+= p5-Clone>=0:../../devel/p5-Clone
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
DEPENDS+= p5-Hash-Merge-Simple-[0-9]*:../../devel/p5-Hash-Merge-Simple
DEPENDS+= p5-HTTP-Body>=1.07:../../www/p5-HTTP-Body
DEPENDS+= p5-HTTP-Server-Simple-PSGI>=0.11:../../www/p5-HTTP-Server-Simple-PSGI
DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
DEPENDS+= p5-Module-Runtime>=0:../../devel/p5-Module-Runtime
DEPENDS+= p5-URI>=1.59:../../www/p5-URI
Update to 1.3097 Upstream CHANGES: 1.3097 08.07.2012 [ ENHANCEMENTS ] * New keywords 'register_hook' and 'execute_hooks' exported by Dancer::Plugin for providing a consistent way with Dancer 2 on how to declare and run hooks from within a plugin (Alexis Sukrieh, idea from David Precious). 1.3096 06.07.2012 ** Codename: Chop Hooey // Neil Hooey ** [ ENHANCEMENTS ] * Finally released, thanks to Neil Hooey bugging my sorry ass. 1.3095_02 03.07.2012 [ BUG FIXES ] * fix exception tests in some cases (GH #734) (Damien Krotkine & katkad ) [ ENHANCEMENTS ] * If YAML does not load, Dancer::Config now reports why (Ovid) [ DOCUMENTATION ] * Clarify serialization in introduction POD (Mark A. Stratman) * Typo fix (Sam Kington) 1.3095_01 22.06.2012 [ BUG FIXES ] * Don't assume returned references are blessed when considering continuations (Neil Hooey, GH-778) * Malformed/missing cookies caused warnings (James Aitken/LoonyPandora, GH-782 and GH-783) * Avoid potential crash in t/14_serializer/06_api.t if tmp dir is replaced when %ENV gets cleared (Adam Kennedy) * Properly initialize %callbacks to default empty hashref in _send_file if not provided (Greg Mullen) [ ENHANCEMENTS ] * Add UTC timestamp options for logger_format (Alex C - perlpong). * Tests can now run in parallel (Richard Sim.es). * dancer_version keyword added (Damien "dams" Krotkine). * New session_domain paramter allows you to set the domain of the default session cookie (William Wolf) [ DOCUMENTATION ] * Update Ubic service example (Vyacheslav Matyukhin) * Silly typo fixing (Paul Fenwick) * Typo in Dancer::Test file upload example (Jonathan "Duke" Leto) * UTF-8 fixes in POD (ambs) 1.3095 01.04.2012 [ BUG FIXES ] * Small fix to skip tests when YAML is not available. (Sawyer X) [ ENHANCEMENTS ] * Added 'info' log level for messages that should always go to the logs but aren't really debug, warning or error messages (Ovid) 1.3094 31.03.2012 [ BUG FIXES ] * GH #763: Fix exceptions in ajax routes clobbering layout (ilmari) * GH #748 & GH 647: Don't force override environment from PLACK_ENV (jwittkoski) * GH #762: fix param parsing lacking limit on split (leejo) * GH #758: Fix Dancer::Test: make sure the request is properly converted to a response. (Ovid) * GH #729: Fix dancer exception composition, and message pattern application (Damien Krotkine) * GH #752: Exceptions raised in hooks were not propagated back to the route code, but instead canceleld and replaced by a Dancer halt exception. That was wrong. Now it is fixed, exceptions raised in hooks can be properly caught in route code. (Damien Krotkine) * Be more flexible in single vs. mutliple values in key hiding. (Sam Kington) * Use isa() for checking relationships instead of ref() in Dancer::Test. (Ovid) [ ENHANCEMENTS ] * Added 'strict_config' option to have the config return an object instead of a hashref. (Ovid) * GH #708: Added support for query strings in dancer_request (Jacob Rideout) * It's possible for the user to set the environments directory using a new environment variable (DANCER_ENVDIR) or using `set envdir => $path` * Sort hash keys when serializing references in log messages (Ovid). [ DOCUMENTATION ] * Explain in POD that if there are multiple fields with the same name, params('fieldname') returns an arrayref of them (alexrj). * GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling load_app (Paul Johnson) * Update 'before' hook document (David Cantrell). 1.3093 29.02.2012 [ BUG FIXES ] * GH #738: Define exception type ::Core::Request, to avoid things blowing up when Dancer::Request raises exceptions of that type (David Precious, thanks to damog for reporting) * GH #671: Fix Dancer::Plugin::Ajax with Plack::Builders. (Activeg, Sawyer X) * Auto-page feature cleanup and fixup. (David Precious) * Remove uninitialized warnings. (Sawyer X, David Precious) [ ENHANCEMENTS ] * Winning release race to Catalyst (nice try rafl++!) * Add exception type ::Core::Request. (David Precious) * JSON decode from UTF8. (Sam Kington) * Provide the method when a route crashes to help debug. (Sam Kington) * More helpful log messages. (David Precious) [ DOCUMENTATION ] * Fix examples for multi-app deployment under Plack::Builder in deployment. * Deployment docs. (c0bra) * Update tutorial. (David Precious) * Clean up EXPORTS. (David Precious) * Keyword documentation fixups. (Kirk Kimmel) * Clarify forward docs with better examples. (David Precious) 1.3092 27.01.2012 [ BUG FIXES ] * Don't call isa() on unblessed refs in Dancer::Exception. (Sam Kington) * Assume UTF-8 by default when serialising JSON. (Sam Kington) * GH #725: If a cookie is set multiple times, last value wins. (David Precious) * More intuitive, backwards compatible appending of default template extension. (GH #716, David Precious) * Prevent recursion in censoring. (Yanick Champoux, Damien dams Krotkine) * GH #734: More tests flexibility (Sawyer X, reported by @birdy-) [ ENHANCEMENTS ] * Return the current set prefix using prefix(). (Michal Wojciechowski) * More intuitive appending of default template extension. Makes for cleaner more DWIM code. (David Precious, reported by Nick Knutov) * Allow any options to JSON serializer. (Lee Johnson) * Support complex views with multiple document roots. (Pedro Melo) [ DOCUMENTATION ] * Document how to work with Dotcloud. (Oliver Gorwits) * Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
2012-07-26 02:20:13 +02:00
DEPENDS+= p5-Test-Output>=0:../../devel/p5-Test-Output
DEPENDS+= p5-Test-TCP>=1.30:../../net/p5-Test-TCP
Update to 1.3097 Upstream CHANGES: 1.3097 08.07.2012 [ ENHANCEMENTS ] * New keywords 'register_hook' and 'execute_hooks' exported by Dancer::Plugin for providing a consistent way with Dancer 2 on how to declare and run hooks from within a plugin (Alexis Sukrieh, idea from David Precious). 1.3096 06.07.2012 ** Codename: Chop Hooey // Neil Hooey ** [ ENHANCEMENTS ] * Finally released, thanks to Neil Hooey bugging my sorry ass. 1.3095_02 03.07.2012 [ BUG FIXES ] * fix exception tests in some cases (GH #734) (Damien Krotkine & katkad ) [ ENHANCEMENTS ] * If YAML does not load, Dancer::Config now reports why (Ovid) [ DOCUMENTATION ] * Clarify serialization in introduction POD (Mark A. Stratman) * Typo fix (Sam Kington) 1.3095_01 22.06.2012 [ BUG FIXES ] * Don't assume returned references are blessed when considering continuations (Neil Hooey, GH-778) * Malformed/missing cookies caused warnings (James Aitken/LoonyPandora, GH-782 and GH-783) * Avoid potential crash in t/14_serializer/06_api.t if tmp dir is replaced when %ENV gets cleared (Adam Kennedy) * Properly initialize %callbacks to default empty hashref in _send_file if not provided (Greg Mullen) [ ENHANCEMENTS ] * Add UTC timestamp options for logger_format (Alex C - perlpong). * Tests can now run in parallel (Richard Sim.es). * dancer_version keyword added (Damien "dams" Krotkine). * New session_domain paramter allows you to set the domain of the default session cookie (William Wolf) [ DOCUMENTATION ] * Update Ubic service example (Vyacheslav Matyukhin) * Silly typo fixing (Paul Fenwick) * Typo in Dancer::Test file upload example (Jonathan "Duke" Leto) * UTF-8 fixes in POD (ambs) 1.3095 01.04.2012 [ BUG FIXES ] * Small fix to skip tests when YAML is not available. (Sawyer X) [ ENHANCEMENTS ] * Added 'info' log level for messages that should always go to the logs but aren't really debug, warning or error messages (Ovid) 1.3094 31.03.2012 [ BUG FIXES ] * GH #763: Fix exceptions in ajax routes clobbering layout (ilmari) * GH #748 & GH 647: Don't force override environment from PLACK_ENV (jwittkoski) * GH #762: fix param parsing lacking limit on split (leejo) * GH #758: Fix Dancer::Test: make sure the request is properly converted to a response. (Ovid) * GH #729: Fix dancer exception composition, and message pattern application (Damien Krotkine) * GH #752: Exceptions raised in hooks were not propagated back to the route code, but instead canceleld and replaced by a Dancer halt exception. That was wrong. Now it is fixed, exceptions raised in hooks can be properly caught in route code. (Damien Krotkine) * Be more flexible in single vs. mutliple values in key hiding. (Sam Kington) * Use isa() for checking relationships instead of ref() in Dancer::Test. (Ovid) [ ENHANCEMENTS ] * Added 'strict_config' option to have the config return an object instead of a hashref. (Ovid) * GH #708: Added support for query strings in dancer_request (Jacob Rideout) * It's possible for the user to set the environments directory using a new environment variable (DANCER_ENVDIR) or using `set envdir => $path` * Sort hash keys when serializing references in log messages (Ovid). [ DOCUMENTATION ] * Explain in POD that if there are multiple fields with the same name, params('fieldname') returns an arrayref of them (alexrj). * GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling load_app (Paul Johnson) * Update 'before' hook document (David Cantrell). 1.3093 29.02.2012 [ BUG FIXES ] * GH #738: Define exception type ::Core::Request, to avoid things blowing up when Dancer::Request raises exceptions of that type (David Precious, thanks to damog for reporting) * GH #671: Fix Dancer::Plugin::Ajax with Plack::Builders. (Activeg, Sawyer X) * Auto-page feature cleanup and fixup. (David Precious) * Remove uninitialized warnings. (Sawyer X, David Precious) [ ENHANCEMENTS ] * Winning release race to Catalyst (nice try rafl++!) * Add exception type ::Core::Request. (David Precious) * JSON decode from UTF8. (Sam Kington) * Provide the method when a route crashes to help debug. (Sam Kington) * More helpful log messages. (David Precious) [ DOCUMENTATION ] * Fix examples for multi-app deployment under Plack::Builder in deployment. * Deployment docs. (c0bra) * Update tutorial. (David Precious) * Clean up EXPORTS. (David Precious) * Keyword documentation fixups. (Kirk Kimmel) * Clarify forward docs with better examples. (David Precious) 1.3092 27.01.2012 [ BUG FIXES ] * Don't call isa() on unblessed refs in Dancer::Exception. (Sam Kington) * Assume UTF-8 by default when serialising JSON. (Sam Kington) * GH #725: If a cookie is set multiple times, last value wins. (David Precious) * More intuitive, backwards compatible appending of default template extension. (GH #716, David Precious) * Prevent recursion in censoring. (Yanick Champoux, Damien dams Krotkine) * GH #734: More tests flexibility (Sawyer X, reported by @birdy-) [ ENHANCEMENTS ] * Return the current set prefix using prefix(). (Michal Wojciechowski) * More intuitive appending of default template extension. Makes for cleaner more DWIM code. (David Precious, reported by Nick Knutov) * Allow any options to JSON serializer. (Lee Johnson) * Support complex views with multiple document roots. (Pedro Melo) [ DOCUMENTATION ] * Document how to work with Dotcloud. (Oliver Gorwits) * Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
2012-07-26 02:20:13 +02:00
DEPENDS+= p5-Test-Pod-Coverage>=1.08:../../devel/p5-Test-Pod-Coverage
DEPENDS+= p5-Try-Tiny>=0.09:../../devel/p5-Try-Tiny
Update to 1.3111 Add p5-YAML as DEPENDS Upstream changes: 1.3111 [ BUG FIXES ] * GH #877: fix Dancer Error when so that 'exception' object is not passed to serializers, because XML/JSON serializers don't understand objects (rikbrown). * GH #858: Check for definedness, not truth, when testing if we read into the buffer when parsing a request body (florolf). * GH #845: Fix uninitialized warning when loading modules (Fabrice Gabolde). * GH #851, GH #853: Atomic YAML session writing (Roman Galeev). * GH #852: Saner UTF logging (Roman Galeev). * GH #849, GH #850: Serve autopages with text/html content type. (Philippe Bruhat - BooK) * GH #848: Handle If-Modified-Since header in the request for static files. (Philippe Bruhat - BooK) * GH #848: Send a Last-Modified header for static files. (Philippe Bruhat - BooK) * GH #856: Don't export non-existing subroutine (mokko). * GH #874: Reduce dependence on %ENV for internal code (Kent Fredric). * GH #875: Don't expect specific order in cookies (Yanick Champoux). * Remove 'exception' object from message being passed to serializers. (Rik Brown) * Added .travis.yml to MANIFEST.SKIP so t/manifest.t passes (Kaitlyn Parkhurst). * GH #887, GH #890: keyword 'global_warnings' added to replace 'import_warnings' (Kaitlyn Parkhurst). * GH #892: add 'private_key' to the list of potentially sensitive keys (Tom Heady). [ DOCUMENTATION ] * GH #847: Fix typo (John Wittkoski). * GH #865: Correct 'before' hook documentation (David Precious, Maurice). * GH #860, GH #844, GH #760: Misleading plack middleware documentation. (Paul Fenwick) * GH #862: Fix heading level for strict_config entry in Dancer::Config. (Stefan Hornburg - Racke) * GH #863: Correct example apache config (John Wittkoski). * GH #867: correct doc for ModuleLoader::load_with_params (mokko). * Document route_cache option (David Precious). * Docs for route_cache_size_limit & route_cache_path_limit (David Precious). * Remove meaningless 'encoding' to TT config (David Precious). * Remove docs for mounting multiple apps (Naveed Massjouni). * Update doc URLs (David Precious). * Fix inconsistency in Perlbal deployment example (Slaven Rezi., Racke). * GH #894: Replace spurious character in Dancer::Session's POD (Racke). * GH #880: Add deprecation mention for 'after' (pdl and Yanick Champoux).
2013-02-25 03:23:13 +01:00
DEPENDS+= p5-YAML>=0:../../textproc/p5-YAML
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"