pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/p5-WWW-Mechanize Import p5-WWW-Mechanize from pkgs...
details: https://anonhg.NetBSD.org/pkgsrc/rev/32e9e9a2f375
branches: trunk
changeset: 473156:32e9e9a2f375
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Apr 16 21:37:30 2004 +0000
description:
Import p5-WWW-Mechanize from pkgsrc-wip. Packaged by dieter Roelants.
"WWW::Mechanize", or Mech for short, helps you automate interaction
with a website. It supports performing a sequence of page fetches
including following links and submitting forms. Each fetched page
is parsed and its links and forms are extracted. A link or a form
can be selected, form fields can be filled and the next page can
be fetched. Mech also stores a history of the URLs you've visited,
which can be queried and revisited.
diffstat:
www/p5-WWW-Mechanize/DESCR | 7 +++++++
www/p5-WWW-Mechanize/Makefile | 24 ++++++++++++++++++++++++
www/p5-WWW-Mechanize/PLIST | 1 +
www/p5-WWW-Mechanize/distinfo | 5 +++++
www/p5-WWW-Mechanize/patches/patch-aa | 16 ++++++++++++++++
5 files changed, 53 insertions(+), 0 deletions(-)
diffs (73 lines):
diff -r d17a4ea421c6 -r 32e9e9a2f375 www/p5-WWW-Mechanize/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-WWW-Mechanize/DESCR Fri Apr 16 21:37:30 2004 +0000
@@ -0,0 +1,7 @@
+"WWW::Mechanize", or Mech for short, helps you automate interaction
+with a website. It supports performing a sequence of page fetches
+including following links and submitting forms. Each fetched page
+is parsed and its links and forms are extracted. A link or a form
+can be selected, form fields can be filled and the next page can
+be fetched. Mech also stores a history of the URLs you've visited,
+which can be queried and revisited.
diff -r d17a4ea421c6 -r 32e9e9a2f375 www/p5-WWW-Mechanize/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-WWW-Mechanize/Makefile Fri Apr 16 21:37:30 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/16 21:37:30 minskim Exp $
+#
+
+DISTNAME= WWW-Mechanize-1.02
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
+
+MAINTAINER= dieter.NetBSD%pandora.be@localhost
+HOMEPAGE= http://search.cpan.org/dist/WWW-Mechanize/
+COMMENT= Automates web page form & link interaction
+
+DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww
+DEPENDS+= p5-HTML-Parser>=3.35:../../www/p5-HTML-Parser
+DEPENDS+= p5-URI>=1.30:../../www/p5-URI
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/WWW/Mechanize/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d17a4ea421c6 -r 32e9e9a2f375 www/p5-WWW-Mechanize/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-WWW-Mechanize/PLIST Fri Apr 16 21:37:30 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/16 21:37:30 minskim Exp $
diff -r d17a4ea421c6 -r 32e9e9a2f375 www/p5-WWW-Mechanize/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-WWW-Mechanize/distinfo Fri Apr 16 21:37:30 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/16 21:37:30 minskim Exp $
+
+SHA1 (WWW-Mechanize-1.02.tar.gz) = 839e4b36eab00a741f14d60b45703108ac93417a
+Size (WWW-Mechanize-1.02.tar.gz) = 86219 bytes
+SHA1 (patch-aa) = 1c72f07c8796b7f8593e7222dfd00f5c93a1c863
diff -r d17a4ea421c6 -r 32e9e9a2f375 www/p5-WWW-Mechanize/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-WWW-Mechanize/patches/patch-aa Fri Apr 16 21:37:30 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/16 21:37:30 minskim Exp $
+
+--- Makefile.PL.orig 2004-03-28 06:51:10.000000000 +0200
++++ Makefile.PL
+@@ -6,6 +6,11 @@ use strict;
+
+ use constant FLAG_SKIPMECHDUMP => File::Spec->catfile( "t", "SKIP-MECH-DUMP" );
+
++sub prompt ($;$) {
++ my($mess,$def)=@_;
++ return $def;
++}
++
+ # Much logic stolen fromm libwww-perl's Makefile.PL
+ my $skiplive = grep /--nolive/i, @ARGV;
+ my $skiplocal = grep /--nolocal/i, @ARGV;
Home |
Main Index |
Thread Index |
Old Index