pkgsrc/devel/p5-Path-Dispatcher/Makefile
hiramatsu 0ca551768e Update p5-Path-Dispatcher to 1.04.
Changes from previous:
1.04 Thu Sep 1 2011
        Explicitly depend on Test::Fatal (reported by Jérôme Quelin  [rt.cpan.org #70666])
        Convert all tests from Test::Exception to Test::Fatal

1.03 Tue Aug 30 2011
        Provisional support for arbitrary payloads, not just code blocks, as results
            See https://github.com/sartak/path-dispatcher/blob/master/t/200-payload.t
        Eventually blocks will be deprecated, but not for a while. Internally blocks are
        rewritten as payloads so if you're doing deep magic with PD you may be exposed to
        that implementation detail.

1.02 Tue Nov 2 2010
        Various improvements to the handling of $match->leftover with undef

1.01 Sun Oct 24 2010
        Skip t/026-named-captures.t if you don't have 5.10.1

        Give matches a ->parent for inspecting an Under prefix rule's
            captures etc

1.00 Sun Oct 17 2010
        Bump to 1.0 to indicate back compat breakage

        Add match->named($key) for pulling out a named capture

        Use Try::Tiny to avoid swallowing exceptions (rafl)

0.16 Sun Oct 17 2010
        ** BACKWARDS INCOMPATIBLE CHANGE: Pass the match object into rule
        **    blocks rather than assigning $1, $2, $3. Use ->pos(1), (2), (3),
        **    etc. instead. This cleans up the code a lot and makes
        **    Path-Dispatcher more flexible.

        Add support for named captures

        Make all attributes read-only. If you need something to be read-write,
            I am open to such a change. Just let me know!

        Make _dispatcher_rule private

        Remove trace/readable_attribute/name support. This wants to be
            implemented in a different, better, more comprehensive way.

        Add documentation for shell tab completion

        Plenty other updated documentation
2011-12-02 05:19:07 +00:00

27 lines
831 B
Makefile

# $NetBSD: Makefile,v 1.8 2011/12/02 05:19:07 hiramatsu Exp $
DISTNAME= Path-Dispatcher-1.04
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SA/SARTAK/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Path-Dispatcher/
COMMENT= Perl 5 module providing flexible and extensible dispatch
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # empty
DEPENDS+= p5-Any-Moose-[0-9]*:../../devel/p5-Any-Moose
DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
# For test target
BUILD_DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
PERL5_PACKLIST= auto/Path/Dispatcher/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"