pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-robobrowser py-robobrowser: Adjust/fix for werk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24515f881776
branches:  trunk
changeset: 439686:24515f881776
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Sep 26 10:33:07 2020 +0000

description:
py-robobrowser: Adjust/fix for werkzeug 1.0.0 API changes

PKGREVISION++

diffstat:

 www/py-robobrowser/Makefile                             |   5 +++--
 www/py-robobrowser/distinfo                             |   3 ++-
 www/py-robobrowser/patches/patch-robobrowser_browser.py |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r c342043179e0 -r 24515f881776 www/py-robobrowser/Makefile
--- a/www/py-robobrowser/Makefile       Sat Sep 26 02:08:10 2020 +0000
+++ b/www/py-robobrowser/Makefile       Sat Sep 26 10:33:07 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2019/07/09 11:35:14 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/09/26 10:33:07 leot Exp $
 
 DISTNAME=      robobrowser-0.5.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/robobrowser/}
 
@@ -13,7 +14,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4>=4.3.2:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.6.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-werkzeug>=0.10.4:../../www/py-werkzeug
+DEPENDS+=      ${PYPKGPREFIX}-werkzeug>=1.0.0:../../www/py-werkzeug
 
 USE_LANGUAGES= # none
 
diff -r c342043179e0 -r 24515f881776 www/py-robobrowser/distinfo
--- a/www/py-robobrowser/distinfo       Sat Sep 26 02:08:10 2020 +0000
+++ b/www/py-robobrowser/distinfo       Sat Sep 26 10:33:07 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2018/10/12 23:17:34 leot Exp $
+$NetBSD: distinfo,v 1.4 2020/09/26 10:33:07 leot Exp $
 
 SHA1 (robobrowser-0.5.3.tar.gz) = 82e6e6efa161d0d9bf73677332ad97981d760d9a
 RMD160 (robobrowser-0.5.3.tar.gz) = d2192d22f67b09cd07730784123f1a92ecccd6fa
 SHA512 (robobrowser-0.5.3.tar.gz) = d26d351d65fc963459b49ff277c2c412165ee70b75f17581f61991ef6000cdf574648b72e65ef778425f7023a14109f02b1a0e53b67d9ac793941d0382060f54
 Size (robobrowser-0.5.3.tar.gz) = 22040 bytes
+SHA1 (patch-robobrowser_browser.py) = 9a6554cebbb217aecdba42967b18d06dbe7eaf36
 SHA1 (patch-robobrowser_helpers.py) = ed7c47239b89261ec39735b2bc2e7b4b208b1dda
diff -r c342043179e0 -r 24515f881776 www/py-robobrowser/patches/patch-robobrowser_browser.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-robobrowser/patches/patch-robobrowser_browser.py   Sat Sep 26 10:33:07 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-robobrowser_browser.py,v 1.1 2020/09/26 10:33:07 leot Exp $
+
+Adjust for werkzeug 1.0.0.
+
+--- robobrowser/browser.py.orig        2015-06-07 19:30:22.000000000 +0000
++++ robobrowser/browser.py
+@@ -5,7 +5,7 @@ Robotic browser.
+ import re
+ import requests
+ from bs4 import BeautifulSoup
+-from werkzeug import cached_property
++from werkzeug.utils import cached_property
+ from requests.packages.urllib3.util.retry import Retry
+ 
+ from robobrowser import helpers



Home | Main Index | Thread Index | Old Index