summaryrefslogtreecommitdiff
path: root/www/p5-Test-WWW-Mechanize-Catalyst
diff options
context:
space:
mode:
authorabs <abs>2008-07-15 09:32:20 +0000
committerabs <abs>2008-07-15 09:32:20 +0000
commit6014ef05136a3206e70a2d1f72953475a392969e (patch)
tree400149b937763245e430d7a149c93a5295f7e06f /www/p5-Test-WWW-Mechanize-Catalyst
parentb56b85bcf3cf1fdb51ab5775647b49245b751d34 (diff)
downloadpkgsrc-6014ef05136a3206e70a2d1f72953475a392969e.tar.gz
Added www/p5-Test-WWW-Mechanize-Catalyst version 0.42
Catalyst is an elegant MVC Web Application Framework. Test::WWW::Mechanize is a subclass of WWW::Mechanize that incorporates features for web application testing. The Test::WWW::Mechanize::Catalyst module meshes the two to allow easy testing of Catalyst applications without starting up a web server. Testing web applications has always been a bit tricky, normally starting a web server for your application and making real HTTP requests to it. This module allows you to test Catalyst web applications but does not start a server or issue HTTP requests. Instead, it passes the HTTP request object directly to Catalyst. Thus you do not need to use a real hostname: "http://localhost/" will do.
Diffstat (limited to 'www/p5-Test-WWW-Mechanize-Catalyst')
-rw-r--r--www/p5-Test-WWW-Mechanize-Catalyst/DESCR13
-rw-r--r--www/p5-Test-WWW-Mechanize-Catalyst/Makefile23
-rw-r--r--www/p5-Test-WWW-Mechanize-Catalyst/distinfo5
3 files changed, 41 insertions, 0 deletions
diff --git a/www/p5-Test-WWW-Mechanize-Catalyst/DESCR b/www/p5-Test-WWW-Mechanize-Catalyst/DESCR
new file mode 100644
index 00000000000..d4336ea8eb2
--- /dev/null
+++ b/www/p5-Test-WWW-Mechanize-Catalyst/DESCR
@@ -0,0 +1,13 @@
+Catalyst is an elegant MVC Web Application Framework. Test::WWW::Mechanize
+is a subclass of WWW::Mechanize that incorporates features for web
+application testing. The Test::WWW::Mechanize::Catalyst module
+meshes the two to allow easy testing of Catalyst applications
+without starting up a web server.
+
+Testing web applications has always been a bit tricky, normally
+starting a web server for your application and making real HTTP
+requests to it. This module allows you to test Catalyst web
+applications but does not start a server or issue HTTP requests.
+Instead, it passes the HTTP request object directly to Catalyst.
+Thus you do not need to use a real hostname: "http://localhost/"
+will do.
diff --git a/www/p5-Test-WWW-Mechanize-Catalyst/Makefile b/www/p5-Test-WWW-Mechanize-Catalyst/Makefile
new file mode 100644
index 00000000000..f63e39bc8ec
--- /dev/null
+++ b/www/p5-Test-WWW-Mechanize-Catalyst/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/15 09:32:20 abs Exp $
+
+DISTNAME= Test-WWW-Mechanize-Catalyst-0.42
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst/
+COMMENT= Test::WWW::Mechanize for Catalyst
+
+DEPENDS+= p5-WWW-Mechanize>=1.30:../../www/p5-WWW-Mechanize
+DEPENDS+= p5-Catalyst-Runtime>=5.00:../../www/p5-Catalyst-Runtime
+DEPENDS+= p5-Test-WWW-Mechanize>=1.20:../../www/p5-Test-WWW-Mechanize
+DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Test/WWW/Mechanize/Catalyst/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Test-WWW-Mechanize-Catalyst/distinfo b/www/p5-Test-WWW-Mechanize-Catalyst/distinfo
new file mode 100644
index 00000000000..e5266791582
--- /dev/null
+++ b/www/p5-Test-WWW-Mechanize-Catalyst/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/15 09:32:20 abs Exp $
+
+SHA1 (Test-WWW-Mechanize-Catalyst-0.42.tar.gz) = cf663432232ff509fc95ae40b24519abce7cee67
+RMD160 (Test-WWW-Mechanize-Catalyst-0.42.tar.gz) = 7ff841a1649a907d638ffa72ca8f84a48eccb48a
+Size (Test-WWW-Mechanize-Catalyst-0.42.tar.gz) = 9219 bytes