pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-robobrowser



Module Name:    pkgsrc
Committed By:   leot
Date:           Sat Sep 26 10:33:07 UTC 2020

Modified Files:
        pkgsrc/www/py-robobrowser: Makefile distinfo
Added Files:
        pkgsrc/www/py-robobrowser/patches: patch-robobrowser_browser.py

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

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-robobrowser/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-robobrowser/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/py-robobrowser/patches/patch-robobrowser_browser.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-robobrowser/Makefile
diff -u pkgsrc/www/py-robobrowser/Makefile:1.2 pkgsrc/www/py-robobrowser/Makefile:1.3
--- pkgsrc/www/py-robobrowser/Makefile:1.2      Tue Jul  9 11:35:14 2019
+++ pkgsrc/www/py-robobrowser/Makefile  Sat Sep 26 10:33:07 2020
@@ -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 @@ LICENSE=      modified-bsd
 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
 

Index: pkgsrc/www/py-robobrowser/distinfo
diff -u pkgsrc/www/py-robobrowser/distinfo:1.3 pkgsrc/www/py-robobrowser/distinfo:1.4
--- pkgsrc/www/py-robobrowser/distinfo:1.3      Fri Oct 12 23:17:34 2018
+++ pkgsrc/www/py-robobrowser/distinfo  Sat Sep 26 10:33:07 2020
@@ -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

Added files:

Index: pkgsrc/www/py-robobrowser/patches/patch-robobrowser_browser.py
diff -u /dev/null pkgsrc/www/py-robobrowser/patches/patch-robobrowser_browser.py:1.1
--- /dev/null   Sat Sep 26 10:33:07 2020
+++ pkgsrc/www/py-robobrowser/patches/patch-robobrowser_browser.py      Sat Sep 26 10:33:07 2020
@@ -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