pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-LWP-UserAgent-Determined Import p5-LWP-UserAgen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a3c5b18db72
branches:  trunk
changeset: 543684:2a3c5b18db72
user:      he <he%pkgsrc.org@localhost>
date:      Sat Jun 21 22:05:31 2008 +0000

description:
Import p5-LWP-UserAgent-Determined version 1.03.

This class works just like LWP::UserAgent (and is based on it, by
being a subclass of it), except that when you use it to get a web page
but run into a possibly-temporary error (like a DNS lookup timeout),
it'll wait a few seconds and retry a few times.

It also adds some methods for controlling exactly what errors are
considered retry-worthy and how many times to wait and for how many
seconds, but normally you needn't bother about these, as the default
settings are relatively sane.

diffstat:

 www/p5-LWP-UserAgent-Determined/DESCR    |   9 +++++++++
 www/p5-LWP-UserAgent-Determined/Makefile |  23 +++++++++++++++++++++++
 www/p5-LWP-UserAgent-Determined/distinfo |   5 +++++
 3 files changed, 37 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 6ce486b7e82f -r 2a3c5b18db72 www/p5-LWP-UserAgent-Determined/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-LWP-UserAgent-Determined/DESCR     Sat Jun 21 22:05:31 2008 +0000
@@ -0,0 +1,9 @@
+This class works just like LWP::UserAgent (and is based on it, by
+being a subclass of it), except that when you use it to get a web page
+but run into a possibly-temporary error (like a DNS lookup timeout),
+it'll wait a few seconds and retry a few times.
+
+It also adds some methods for controlling exactly what errors are
+considered retry-worthy and how many times to wait and for how many
+seconds, but normally you needn't bother about these, as the default
+settings are relatively sane.
diff -r 6ce486b7e82f -r 2a3c5b18db72 www/p5-LWP-UserAgent-Determined/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-LWP-UserAgent-Determined/Makefile  Sat Jun 21 22:05:31 2008 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/06/21 22:05:31 he Exp $
+#
+
+DISTNAME=      LWP-UserAgent-Determined-1.03
+PKGNAME=       p5-${DISTNAME}
+SVR4_PKGNAME=  p5lud
+CATEGORIES=    www net perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=LWP/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/LWP-UserAgent-Determined/
+COMMENT=       Perl5 virtual browser that retries errors
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/LWP/UserAgent/Determined/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6ce486b7e82f -r 2a3c5b18db72 www/p5-LWP-UserAgent-Determined/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-LWP-UserAgent-Determined/distinfo  Sat Jun 21 22:05:31 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/06/21 22:05:31 he Exp $
+
+SHA1 (LWP-UserAgent-Determined-1.03.tar.gz) = ef97253e38c007ee03730dd2d5340ef37bfe67a3
+RMD160 (LWP-UserAgent-Determined-1.03.tar.gz) = f5bbf903b680e26e246dd40b42453132c6968a33
+Size (LWP-UserAgent-Determined-1.03.tar.gz) = 6268 bytes



Home | Main Index | Thread Index | Old Index