summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2015-04-30 04:35:08 +0000
committermef <mef@pkgsrc.org>2015-04-30 04:35:08 +0000
commit2498920a18f68fe222fe764eb3171b777aa666dc (patch)
tree5d8ec1b762d826dbfaec336a05f2e302404eb544 /www
parenta537221c24a84182edfcf3ace9d709cc96fcc234 (diff)
downloadpkgsrc-2498920a18f68fe222fe764eb3171b777aa666dc.tar.gz
Import p5-WWW-Mechanize-Cached-1.48 as www/p5-WWW-Mechanize-Cached.
Uses the Cache::Cache hierarchy by default to implement a caching Mech. This lets one perform repeated requests without hammering a server impolitely. Please note that Cache::Cache has been superceded by CHI, but the default has not been changed here for reasons of backwards compatibility. For this reason, you are encouraged to provide your own CHI caching object to override the default.
Diffstat (limited to 'www')
-rw-r--r--www/p5-WWW-Mechanize-Cached/DESCR7
-rw-r--r--www/p5-WWW-Mechanize-Cached/Makefile27
-rw-r--r--www/p5-WWW-Mechanize-Cached/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/www/p5-WWW-Mechanize-Cached/DESCR b/www/p5-WWW-Mechanize-Cached/DESCR
new file mode 100644
index 00000000000..ce3b31c804e
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Cached/DESCR
@@ -0,0 +1,7 @@
+Uses the Cache::Cache hierarchy by default to implement a caching
+Mech. This lets one perform repeated requests without hammering a
+server impolitely.
+ Please note that Cache::Cache has been superceded by CHI, but the
+default has not been changed here for reasons of backwards
+compatibility. For this reason, you are encouraged to provide your own
+CHI caching object to override the default.
diff --git a/www/p5-WWW-Mechanize-Cached/Makefile b/www/p5-WWW-Mechanize-Cached/Makefile
new file mode 100644
index 00000000000..28dcaebb22e
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Cached/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2015/04/30 04:35:08 mef Exp $
+
+DISTNAME= WWW-Mechanize-Cached-1.48
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~oalders/WWW-Mechanize-Cached/
+COMMENT= Cache response to be polite
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-WWW-Mechanize-[0-9]*:../../www/p5-WWW-Mechanize
+BUILD_DEPENDS+= p5-Class-Load-[0-9]*:../../devel/p5-Class-Load
+BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
+BUILD_DEPENDS+= p5-Test-RequiresInternet-[0-9]*:../../net/p5-Test-RequiresInternet
+BUILD_DEPENDS+= p5-Find-Lib-[0-9]*:../../devel/p5-Find-Lib
+BUILD_DEPENDS+= p5-CHI-[0-9]*:../../devel/p5-CHI
+
+BUILD_DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump
+
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/WWW/Mechanize/Cached/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-WWW-Mechanize-Cached/distinfo b/www/p5-WWW-Mechanize-Cached/distinfo
new file mode 100644
index 00000000000..5dba26a052c
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Cached/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/30 04:35:08 mef Exp $
+
+SHA1 (WWW-Mechanize-Cached-1.48.tar.gz) = b523ec1ff0f4288c37e657934832eb1cc9105b43
+RMD160 (WWW-Mechanize-Cached-1.48.tar.gz) = cc97597bbb7a933403f8a2a9270f90de69ed7caf
+Size (WWW-Mechanize-Cached-1.48.tar.gz) = 22962 bytes