add py-mechanize 0.0.9.a

Stateful programmatic web browsing in Python
This commit is contained in:
Ying-Chieh Liao 2005-04-29 07:06:01 +00:00
parent 7057566a2b
commit 53c6287018
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134346
4 changed files with 40 additions and 0 deletions

View file

@ -643,6 +643,7 @@
SUBDIR += py-forgethtml
SUBDIR += py-htmltestcase
SUBDIR += py-imdbpy
SUBDIR += py-mechanize
SUBDIR += py-mt
SUBDIR += py-nevow
SUBDIR += py-pullparser

33
www/py-mechanize/Makefile Normal file
View file

@ -0,0 +1,33 @@
# ex:ts=8
# Ports collection makefile for: py-mechanize
# Date created: Apr 29, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= mechanize
PORTVERSION= 0.0.9.a
CATEGORIES= www python
MASTER_SITES= http://wwwsearch.sourceforge.net/mechanize/src/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Stateful programmatic web browsing in Python
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ClientCookie/__init__.py:${PORTSDIR}/devel/py-clientcookie \
${PYTHON_SITELIBDIR}/ClientForm.py:${PORTSDIR}/www/py-clientform \
${PYTHON_SITELIBDIR}/pullparser.py:${PORTSDIR}/www/py-pullparser
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
post-install:
@${FIND} ${PYTHON_SITELIBDIR}/mechanize ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/mechanize -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (mechanize-0.0.9a.tar.gz) = 7c805a9d3596b9e3267b1f88a9bbe1da
SIZE (mechanize-0.0.9a.tar.gz) = 25378

View file

@ -0,0 +1,4 @@
Stateful programmatic web browsing in Python, after Andy Lester's Perl module
WWW::Mechanize.
WWW: http://wwwsearch.sourceforge.net/mechanize/