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:           Fri Oct 12 23:08:10 UTC 2018

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

Log Message:
py-robobrowser: Add support for Python 3.7

re.Pattern should be used instead of re._pattern_type in Python 3.7.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-robobrowser/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.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/distinfo
diff -u pkgsrc/www/py-robobrowser/distinfo:1.1 pkgsrc/www/py-robobrowser/distinfo:1.2
--- pkgsrc/www/py-robobrowser/distinfo:1.1      Wed Feb  1 15:27:14 2017
+++ pkgsrc/www/py-robobrowser/distinfo  Fri Oct 12 23:08:10 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/02/01 15:27:14 leot Exp $
+$NetBSD: distinfo,v 1.2 2018/10/12 23:08:10 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_helpers.py) = 8abcbb33dbc487698a0c5717ef1e1e4079490457

Added files:

Index: pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py
diff -u /dev/null pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py:1.1
--- /dev/null   Fri Oct 12 23:08:10 2018
+++ pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py      Fri Oct 12 23:08:10 2018
@@ -0,0 +1,14 @@
+$NetBSD: patch-robobrowser_helpers.py,v 1.1 2018/10/12 23:08:10 leot Exp $
+
+Add support for Python 3.7.
+
+--- robobrowser/helpers.py.orig        2015-06-07 19:27:41.000000000 +0000
++++ robobrowser/helpers.py
+@@ -3,6 +3,7 @@ Miscellaneous helper functions
+ """
+ 
+ import re
++re._pattern_type = getattr(re, '_pattern_type', re.Pattern)
+ 
+ from bs4 import BeautifulSoup
+ from bs4.element import Tag



Home | Main Index | Thread Index | Old Index