summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-26 10:58:52 +0000
committeradam <adam@pkgsrc.org>2017-07-26 10:58:52 +0000
commit7da5daf077fca1cddb501eda04aeb70926069a35 (patch)
treec84fa435446060910f65da8e8f7893b50d4dae97
parent995f9c49b83d5b254992f73644e256abb8e8b6f6 (diff)
downloadpkgsrc-7da5daf077fca1cddb501eda04aeb70926069a35.tar.gz
0.3.5 release:
* Fix error when trying to open pages that contain HTML entities that decode to unicode characters in their <head> sections
-rw-r--r--www/py-mechanize/Makefile17
-rw-r--r--www/py-mechanize/PLIST36
-rw-r--r--www/py-mechanize/distinfo10
3 files changed, 24 insertions, 39 deletions
diff --git a/www/py-mechanize/Makefile b/www/py-mechanize/Makefile
index c67ee1d7380..4f49b9d32ed 100644
--- a/www/py-mechanize/Makefile
+++ b/www/py-mechanize/Makefile
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.18 2017/01/19 18:52:29 agc Exp $
+# $NetBSD: Makefile,v 1.19 2017/07/26 10:58:52 adam Exp $
-DISTNAME= mechanize-0.2.5
+DISTNAME= mechanize-0.3.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= www
+CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mechanize/}
-MASTER_SITES+= http://wwwsearch.sourceforge.net/mechanize/src/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://wwwsearch.sourceforge.net/mechanize/
+HOMEPAGE= https://github.com/python-mechanize/mechanize
COMMENT= Stateful programmatic web browsing in Python
+LICENSE= modified-bsd
-USE_LANGUAGES= # none
+DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.2.5
+USE_LANGUAGES= # none
-do-test:
- ${RUN}cd ${WRKSRC}; ${PYTHONBIN} test.py
+PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.3.5
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-mechanize/PLIST b/www/py-mechanize/PLIST
index 3ddac045615..ac308f42b5d 100644
--- a/www/py-mechanize/PLIST
+++ b/www/py-mechanize/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2011/11/26 09:18:25 obache Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/07/26 10:58:52 adam 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
@@ -10,21 +11,24 @@ ${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/_firefox3cookiejar.py
-${PYSITELIB}/mechanize/_firefox3cookiejar.pyc
-${PYSITELIB}/mechanize/_firefox3cookiejar.pyo
+${PYSITELIB}/mechanize/_entities.py
+${PYSITELIB}/mechanize/_entities.pyc
+${PYSITELIB}/mechanize/_entities.pyo
+${PYSITELIB}/mechanize/_equiv.py
+${PYSITELIB}/mechanize/_equiv.pyc
+${PYSITELIB}/mechanize/_equiv.pyo
${PYSITELIB}/mechanize/_form.py
${PYSITELIB}/mechanize/_form.pyc
${PYSITELIB}/mechanize/_form.pyo
+${PYSITELIB}/mechanize/_form_controls.py
+${PYSITELIB}/mechanize/_form_controls.pyc
+${PYSITELIB}/mechanize/_form_controls.pyo
${PYSITELIB}/mechanize/_gzip.py
${PYSITELIB}/mechanize/_gzip.pyc
${PYSITELIB}/mechanize/_gzip.pyo
@@ -37,27 +41,12 @@ ${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/_markupbase.py
-${PYSITELIB}/mechanize/_markupbase.pyc
-${PYSITELIB}/mechanize/_markupbase.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
@@ -67,9 +56,6 @@ ${PYSITELIB}/mechanize/_response.pyo
${PYSITELIB}/mechanize/_rfc3986.py
${PYSITELIB}/mechanize/_rfc3986.pyc
${PYSITELIB}/mechanize/_rfc3986.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
diff --git a/www/py-mechanize/distinfo b/www/py-mechanize/distinfo
index 830a9fc30b9..44429200a33 100644
--- a/www/py-mechanize/distinfo
+++ b/www/py-mechanize/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 02:47:29 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/07/26 10:58:52 adam Exp $
-SHA1 (mechanize-0.2.5.tar.gz) = 9d2fb74fc762e54848c0b3ed4b6a9c73722ef619
-RMD160 (mechanize-0.2.5.tar.gz) = f9deafaeb591cd4047a6f8845221463320c86d9b
-SHA512 (mechanize-0.2.5.tar.gz) = 23de1d9a5fba63d76fd577889594dacf5412fb2fccb58908a10ab350a81dd16a7a31019d0b4a59a5ed4115320c7e3585c77eef88dcd80a88a9c3c2da3c28fa68
-Size (mechanize-0.2.5.tar.gz) = 383918 bytes
+SHA1 (mechanize-0.3.5.tar.gz) = 97d789bc05f15602e6046d2ea0cfc50ec6ac135a
+RMD160 (mechanize-0.3.5.tar.gz) = 5ae4806b1601f69cac6918a2cc4181df6d392585
+SHA512 (mechanize-0.3.5.tar.gz) = c9eb002d3c39cd15859e7c218870af2fdf35ca14e917c66f57eb1efea7c5600427dc9f44458d1f3892746d1fbe2f64a866002d7c621f48e77198b63b5bcd4811
+Size (mechanize-0.3.5.tar.gz) = 201495 bytes