pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-URI-FromHash Added www/p5-URI-FromHash version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a9950da4c1c
branches:  trunk
changeset: 398238:3a9950da4c1c
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 27 10:36:42 2009 +0000

description:
Added www/p5-URI-FromHash version 0.03

This module provides a simple one-subroutine "named parameters"
style interface for creating URIs. Underneath the hood it uses
URI.pm, though because of the simplified interface it may not
support all possible options for all types of URIs.

It was created for the common case where you simply want to have
a simple interface for creating syntactically correct URIs from
known components (like a path and query string). Doing this using
the native URI.pm interface is rather tedious, requiring a number
of method calls, which is particularly ugly when done inside a
templating system such as Mason or TT2.

diffstat:

 www/p5-URI-FromHash/DESCR    |  11 +++++++++++
 www/p5-URI-FromHash/Makefile |  23 +++++++++++++++++++++++
 www/p5-URI-FromHash/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r 9af6a4e2a5cc -r 3a9950da4c1c www/p5-URI-FromHash/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-URI-FromHash/DESCR Thu Aug 27 10:36:42 2009 +0000
@@ -0,0 +1,11 @@
+This module provides a simple one-subroutine "named parameters"
+style interface for creating URIs. Underneath the hood it uses
+URI.pm, though because of the simplified interface it may not
+support all possible options for all types of URIs.
+
+It was created for the common case where you simply want to have
+a simple interface for creating syntactically correct URIs from
+known components (like a path and query string). Doing this using
+the native URI.pm interface is rather tedious, requiring a number
+of method calls, which is particularly ugly when done inside a
+templating system such as Mason or TT2.
diff -r 9af6a4e2a5cc -r 3a9950da4c1c www/p5-URI-FromHash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-URI-FromHash/Makefile      Thu Aug 27 10:36:42 2009 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/27 10:36:42 abs Exp $
+#
+
+DISTNAME=      URI-FromHash-0.03
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    www net perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=URI/}
+
+MAINTAINER=    heinz%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/URI/
+COMMENT=       Build a URI from a set of named parameters
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=      p5-URI>0:../../www/p5-URI
+DEPENDS+=      p5-Params-Validate>0:../../devel/p5-Params-Validate
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/URI/FromHash/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9af6a4e2a5cc -r 3a9950da4c1c www/p5-URI-FromHash/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-URI-FromHash/distinfo      Thu Aug 27 10:36:42 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/27 10:36:42 abs Exp $
+
+SHA1 (URI-FromHash-0.03.tar.gz) = aae0fc31be1fbb997c39960096d2bc7500bad777
+RMD160 (URI-FromHash-0.03.tar.gz) = 46e6fcfbd8504c4b9c6521f0e7f16f02b3b79de9
+Size (URI-FromHash-0.03.tar.gz) = 13080 bytes



Home | Main Index | Thread Index | Old Index