- install a few examples
- tweak DESCR
This commit is contained in:
parent
2bccbef210
commit
11308b8684
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/11/14 19:58:39 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/11/15 12:14:28 jasper Exp $
|
||||
|
||||
COMMENT= stateful programmatic web browsing module
|
||||
|
||||
MODPY_EGG_VERSION= 0.2.4
|
||||
DISTNAME= mechanize-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
@ -23,6 +24,11 @@ MASTER_SITES= ${HOMEPAGE}/src/
|
||||
|
||||
REGRESS_DEPENDS= ::devel/py-twisted/web2/
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-mechanize
|
||||
cd ${WRKSRC}/examples && umask 022 && pax -rw . \
|
||||
${PREFIX}/share/examples/py-mechanize
|
||||
|
||||
do-regress: fake
|
||||
cd ${WRKSRC} && \
|
||||
env PYTHONPATH="${WRKINST}${MODPY_LIBDIR}/site-packages/mechanize" ${MODPY_BIN} test.py
|
||||
|
@ -1,2 +1,11 @@
|
||||
Stateful programmatic web browsing in Python, 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().
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/11/14 19:58:39 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/11/15 12:14:28 jasper Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/mechanize/
|
||||
lib/python${MODPY_VERSION}/site-packages/mechanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/mechanize-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
@ -64,3 +64,13 @@ lib/python${MODPY_VERSION}/site-packages/mechanize/_util.py
|
||||
lib/python${MODPY_VERSION}/site-packages/mechanize/_util.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/mechanize/_version.py
|
||||
lib/python${MODPY_VERSION}/site-packages/mechanize/_version.pyc
|
||||
share/examples/py-mechanize/
|
||||
share/examples/py-mechanize/forms/
|
||||
share/examples/py-mechanize/forms/data.dat
|
||||
share/examples/py-mechanize/forms/data.txt
|
||||
share/examples/py-mechanize/forms/echo.cgi
|
||||
share/examples/py-mechanize/forms/example.html
|
||||
share/examples/py-mechanize/forms/example.py
|
||||
share/examples/py-mechanize/forms/simple.py
|
||||
share/examples/py-mechanize/hack21.py
|
||||
share/examples/py-mechanize/pypi.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user