summaryrefslogtreecommitdiff
path: root/www/py-mechanize
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-01-17 20:46:55 +0000
committerwiz <wiz@pkgsrc.org>2009-01-17 20:46:55 +0000
commit1966a9ad5cce5ff0cbe0643252a51a9ca1024957 (patch)
tree8131a23814d35cda863b948184a8fde3be10ca64 /www/py-mechanize
parent8de8ba52d9a44cfb82ab88cac404831e08e47809 (diff)
downloadpkgsrc-1966a9ad5cce5ff0cbe0643252a51a9ca1024957.tar.gz
Initial import of py-mechanize-0.1.10:
Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize. The library is layered: mechanize.Browser (stateful web browser), mechanize.UserAgent (configurable URL opener), plus urllib2 handlers. Features include: ftp:, http: and file: URL schemes, browser history, high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header, robots.txt, redirections, proxies, and Basic and Digest HTTP authentication. mechanize's response objects are (lazily-) .seek()able and still work after .close().
Diffstat (limited to 'www/py-mechanize')
-rw-r--r--www/py-mechanize/DESCR11
-rw-r--r--www/py-mechanize/Makefile16
-rw-r--r--www/py-mechanize/PLIST90
-rw-r--r--www/py-mechanize/distinfo5
4 files changed, 122 insertions, 0 deletions
diff --git a/www/py-mechanize/DESCR b/www/py-mechanize/DESCR
new file mode 100644
index 00000000000..3912438f529
--- /dev/null
+++ b/www/py-mechanize/DESCR
@@ -0,0 +1,11 @@
+Stateful programmatic web browsing, after Andy Lester's Perl module
+WWW::Mechanize.
+
+The library is layered: mechanize.Browser (stateful web browser),
+mechanize.UserAgent (configurable URL opener), plus urllib2 handlers.
+
+Features include: ftp:, http: and file: URL schemes, browser history,
+high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV
+and Refresh, Referer [sic] header, robots.txt, redirections, proxies,
+and Basic and Digest HTTP authentication. mechanize's response
+objects are (lazily-) .seek()able and still work after .close().
diff --git a/www/py-mechanize/Makefile b/www/py-mechanize/Makefile
new file mode 100644
index 00000000000..c8f9737e7b8
--- /dev/null
+++ b/www/py-mechanize/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/17 20:46:55 wiz Exp $
+#
+
+DISTNAME= mechanize-0.1.10
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= http://wwwsearch.sourceforge.net/mechanize/src/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://wwwsearch.sourceforge.net/mechanize/
+COMMENT= Stateful programmatic web browsing in Python
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-mechanize/PLIST b/www/py-mechanize/PLIST
new file mode 100644
index 00000000000..f71443e7268
--- /dev/null
+++ b/www/py-mechanize/PLIST
@@ -0,0 +1,90 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/17 20:46:55 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/mechanize/__init__.py
+${PYSITELIB}/mechanize/__init__.pyc
+${PYSITELIB}/mechanize/__init__.pyo
+${PYSITELIB}/mechanize/_auth.py
+${PYSITELIB}/mechanize/_auth.pyc
+${PYSITELIB}/mechanize/_auth.pyo
+${PYSITELIB}/mechanize/_beautifulsoup.py
+${PYSITELIB}/mechanize/_beautifulsoup.pyc
+${PYSITELIB}/mechanize/_beautifulsoup.pyo
+${PYSITELIB}/mechanize/_clientcookie.py
+${PYSITELIB}/mechanize/_clientcookie.pyc
+${PYSITELIB}/mechanize/_clientcookie.pyo
+${PYSITELIB}/mechanize/_debug.py
+${PYSITELIB}/mechanize/_debug.pyc
+${PYSITELIB}/mechanize/_debug.pyo
+${PYSITELIB}/mechanize/_file.py
+${PYSITELIB}/mechanize/_file.pyc
+${PYSITELIB}/mechanize/_file.pyo
+${PYSITELIB}/mechanize/_firefox3cookiejar.py
+${PYSITELIB}/mechanize/_firefox3cookiejar.pyc
+${PYSITELIB}/mechanize/_firefox3cookiejar.pyo
+${PYSITELIB}/mechanize/_gzip.py
+${PYSITELIB}/mechanize/_gzip.pyc
+${PYSITELIB}/mechanize/_gzip.pyo
+${PYSITELIB}/mechanize/_headersutil.py
+${PYSITELIB}/mechanize/_headersutil.pyc
+${PYSITELIB}/mechanize/_headersutil.pyo
+${PYSITELIB}/mechanize/_html.py
+${PYSITELIB}/mechanize/_html.pyc
+${PYSITELIB}/mechanize/_html.pyo
+${PYSITELIB}/mechanize/_http.py
+${PYSITELIB}/mechanize/_http.pyc
+${PYSITELIB}/mechanize/_http.pyo
+${PYSITELIB}/mechanize/_lwpcookiejar.py
+${PYSITELIB}/mechanize/_lwpcookiejar.pyc
+${PYSITELIB}/mechanize/_lwpcookiejar.pyo
+${PYSITELIB}/mechanize/_mechanize.py
+${PYSITELIB}/mechanize/_mechanize.pyc
+${PYSITELIB}/mechanize/_mechanize.pyo
+${PYSITELIB}/mechanize/_mozillacookiejar.py
+${PYSITELIB}/mechanize/_mozillacookiejar.pyc
+${PYSITELIB}/mechanize/_mozillacookiejar.pyo
+${PYSITELIB}/mechanize/_msiecookiejar.py
+${PYSITELIB}/mechanize/_msiecookiejar.pyc
+${PYSITELIB}/mechanize/_msiecookiejar.pyo
+${PYSITELIB}/mechanize/_opener.py
+${PYSITELIB}/mechanize/_opener.pyc
+${PYSITELIB}/mechanize/_opener.pyo
+${PYSITELIB}/mechanize/_pullparser.py
+${PYSITELIB}/mechanize/_pullparser.pyc
+${PYSITELIB}/mechanize/_pullparser.pyo
+${PYSITELIB}/mechanize/_request.py
+${PYSITELIB}/mechanize/_request.pyc
+${PYSITELIB}/mechanize/_request.pyo
+${PYSITELIB}/mechanize/_response.py
+${PYSITELIB}/mechanize/_response.pyc
+${PYSITELIB}/mechanize/_response.pyo
+${PYSITELIB}/mechanize/_rfc3986.py
+${PYSITELIB}/mechanize/_rfc3986.pyc
+${PYSITELIB}/mechanize/_rfc3986.pyo
+${PYSITELIB}/mechanize/_seek.py
+${PYSITELIB}/mechanize/_seek.pyc
+${PYSITELIB}/mechanize/_seek.pyo
+${PYSITELIB}/mechanize/_sockettimeout.py
+${PYSITELIB}/mechanize/_sockettimeout.pyc
+${PYSITELIB}/mechanize/_sockettimeout.pyo
+${PYSITELIB}/mechanize/_testcase.py
+${PYSITELIB}/mechanize/_testcase.pyc
+${PYSITELIB}/mechanize/_testcase.pyo
+${PYSITELIB}/mechanize/_upgrade.py
+${PYSITELIB}/mechanize/_upgrade.pyc
+${PYSITELIB}/mechanize/_upgrade.pyo
+${PYSITELIB}/mechanize/_urllib2.py
+${PYSITELIB}/mechanize/_urllib2.pyc
+${PYSITELIB}/mechanize/_urllib2.pyo
+${PYSITELIB}/mechanize/_useragent.py
+${PYSITELIB}/mechanize/_useragent.pyc
+${PYSITELIB}/mechanize/_useragent.pyo
+${PYSITELIB}/mechanize/_util.py
+${PYSITELIB}/mechanize/_util.pyc
+${PYSITELIB}/mechanize/_util.pyo
+@dirrm ${PYSITELIB}/mechanize
+@dirrm ${PYSITELIB}/${EGG_INFODIR}
diff --git a/www/py-mechanize/distinfo b/www/py-mechanize/distinfo
new file mode 100644
index 00000000000..78c4f80b282
--- /dev/null
+++ b/www/py-mechanize/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/17 20:46:55 wiz Exp $
+
+SHA1 (mechanize-0.1.10.tar.gz) = 02694c8e32442db3c589d187b3b8f4c7ebda0a24
+RMD160 (mechanize-0.1.10.tar.gz) = 7b0ece6a7a4fc5bd6c879938724033e0c1cb2e40
+Size (mechanize-0.1.10.tar.gz) = 253810 bytes