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:17:34 UTC 2018
Modified Files:
pkgsrc/www/py-robobrowser: distinfo
pkgsrc/www/py-robobrowser/patches: patch-robobrowser_helpers.py
Log Message:
robobrowser: Fix patch-robobrowser_helpers.py for non-3.7 Python-s
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-robobrowser/distinfo
cvs rdiff -u -r1.1 -r1.2 \
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.2 pkgsrc/www/py-robobrowser/distinfo:1.3
--- pkgsrc/www/py-robobrowser/distinfo:1.2 Fri Oct 12 23:08:10 2018
+++ pkgsrc/www/py-robobrowser/distinfo Fri Oct 12 23:17:34 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/10/12 23:08:10 leot Exp $
+$NetBSD: distinfo,v 1.3 2018/10/12 23:17:34 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
+SHA1 (patch-robobrowser_helpers.py) = ed7c47239b89261ec39735b2bc2e7b4b208b1dda
Index: pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py
diff -u pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py:1.1 pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py:1.2
--- pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py:1.1 Fri Oct 12 23:08:10 2018
+++ pkgsrc/www/py-robobrowser/patches/patch-robobrowser_helpers.py Fri Oct 12 23:17:34 2018
@@ -1,14 +1,17 @@
-$NetBSD: patch-robobrowser_helpers.py,v 1.1 2018/10/12 23:08:10 leot Exp $
+$NetBSD: patch-robobrowser_helpers.py,v 1.2 2018/10/12 23:17:34 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
+@@ -3,6 +3,10 @@ Miscellaneous helper functions
"""
import re
-+re._pattern_type = getattr(re, '_pattern_type', re.Pattern)
++try:
++ re._pattern_type
++except AttributeError:
++ re._pattern_type = re.Pattern
from bs4 import BeautifulSoup
from bs4.element import Tag
Home |
Main Index |
Thread Index |
Old Index