summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/py-mechanize/Makefile15
-rw-r--r--www/py-mechanize/PLIST27
-rw-r--r--www/py-mechanize/distinfo8
3 files changed, 28 insertions, 22 deletions
diff --git a/www/py-mechanize/Makefile b/www/py-mechanize/Makefile
index 648f1dd6a16..cca5ebaec10 100644
--- a/www/py-mechanize/Makefile
+++ b/www/py-mechanize/Makefile
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.7 2011/11/25 13:29:43 obache Exp $
+# $NetBSD: Makefile,v 1.8 2011/11/26 09:18:25 obache Exp $
#
-DISTNAME= mechanize-0.1.11
+DISTNAME= mechanize-0.2.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://wwwsearch.sourceforge.net/mechanize/src/
+MASTER_SITES= http://pypi.python.org/packages/source/m/mechanize/ \
+ http://wwwsearch.sourceforge.net/mechanize/src/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wwwsearch.sourceforge.net/mechanize/
COMMENT= Stateful programmatic web browsing in Python
-DEPENDS+= ${PYPKGPREFIX}-ClientForm>=0.2.6:../../www/py-ClientForm
-
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
-PYTHON_VERSIONS_ACCEPTED= 27 26 25
+PYTHON_VERSIONS_ACCEPTED= 27 26 25 24
+
+do-test:
+ ${RUN}cd ${WRKSRC}; ${PYTHONBIN} test.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-mechanize/PLIST b/www/py-mechanize/PLIST
index f63d6da3429..3ddac045615 100644
--- a/www/py-mechanize/PLIST
+++ b/www/py-mechanize/PLIST
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 22:00:32 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2011/11/26 09:18:25 obache 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
@@ -20,12 +19,12 @@ ${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/_form.py
+${PYSITELIB}/mechanize/_form.pyc
+${PYSITELIB}/mechanize/_form.pyo
${PYSITELIB}/mechanize/_gzip.py
${PYSITELIB}/mechanize/_gzip.pyc
${PYSITELIB}/mechanize/_gzip.pyo
@@ -41,6 +40,9 @@ ${PYSITELIB}/mechanize/_http.pyo
${PYSITELIB}/mechanize/_lwpcookiejar.py
${PYSITELIB}/mechanize/_lwpcookiejar.pyc
${PYSITELIB}/mechanize/_lwpcookiejar.pyo
+${PYSITELIB}/mechanize/_markupbase.py
+${PYSITELIB}/mechanize/_markupbase.pyc
+${PYSITELIB}/mechanize/_markupbase.pyo
${PYSITELIB}/mechanize/_mechanize.py
${PYSITELIB}/mechanize/_mechanize.pyc
${PYSITELIB}/mechanize/_mechanize.pyo
@@ -65,24 +67,27 @@ ${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/_sgmllib_copy.py
+${PYSITELIB}/mechanize/_sgmllib_copy.pyc
+${PYSITELIB}/mechanize/_sgmllib_copy.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/_urllib2_fork.py
+${PYSITELIB}/mechanize/_urllib2_fork.pyc
+${PYSITELIB}/mechanize/_urllib2_fork.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
+${PYSITELIB}/mechanize/_version.py
+${PYSITELIB}/mechanize/_version.pyc
+${PYSITELIB}/mechanize/_version.pyo
diff --git a/www/py-mechanize/distinfo b/www/py-mechanize/distinfo
index ae9462b086a..6084adab6d7 100644
--- a/www/py-mechanize/distinfo
+++ b/www/py-mechanize/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2009/10/11 08:32:04 wiz Exp $
+$NetBSD: distinfo,v 1.3 2011/11/26 09:18:25 obache Exp $
-SHA1 (mechanize-0.1.11.tar.gz) = 69ef3a38cd5e097aee1f24772f255e239c41e56c
-RMD160 (mechanize-0.1.11.tar.gz) = d1e0612e71a128c0439122fc58c286dc371fa7a0
-Size (mechanize-0.1.11.tar.gz) = 241357 bytes
+SHA1 (mechanize-0.2.5.tar.gz) = 9d2fb74fc762e54848c0b3ed4b6a9c73722ef619
+RMD160 (mechanize-0.2.5.tar.gz) = f9deafaeb591cd4047a6f8845221463320c86d9b
+Size (mechanize-0.2.5.tar.gz) = 383918 bytes