--- build/pkgs/sagenb/src/sagenb/misc/sphinxify.py.orig 2018-10-25 14:14:33.031253545 -0600 +++ build/pkgs/sagenb/src/sagenb/misc/sphinxify.py 2018-10-25 15:33:56.358876835 -0600 @@ -133,7 +133,7 @@ def sphinxify(docstring, format='html'): # "/media/...path.../blah.png" # to # "/doc/static/reference/media/...path.../blah.png" - output = re.sub("""src=['"](/?\.\.)*/?media/([^"']*)['"]""", + output = re.sub("""src=['"](/?\\.\\.)*/?media/([^"']*)['"]""", 'src="/doc/static/reference/media/\\2"', output) # Remove spurious \(, \), \[, \]. --- build/pkgs/sagenb/src/sagenb/misc/support.py.orig 2018-10-25 13:30:02.499892169 -0600 +++ build/pkgs/sagenb/src/sagenb/misc/support.py 2018-10-25 14:14:33.032253542 -0600 @@ -550,7 +550,7 @@ try: return args[0].__getattribute__(str(self))(*args[1:], **kwds) def automatic_name_eval(s, globals, max_names=10000): - """ + r""" Exec the string ``s`` in the scope of the ``globals`` dictionary, and if any :exc:`NameError`\ s are raised, try to fix them by defining the variable that caused the error to be --- build/pkgs/sagenb/src/sagenb/notebook/cell.py.orig 2018-10-25 13:30:55.707737342 -0600 +++ build/pkgs/sagenb/src/sagenb/notebook/cell.py 2018-10-25 14:14:33.032253542 -0600 @@ -441,7 +441,7 @@ class Cell_generic(object): return isinstance(self, Cell) def is_auto_cell(self): - """ + r""" Returns whether this is an automatically evaluated generic cell. This is always false for :class:`Cell_generic`\ s and :class:`TextCell`\ s. @@ -647,7 +647,7 @@ class TextCell(Cell_generic): return self._text def set_cell_output_type(self, typ='wrap'): - """ + r""" Sets this text cell's output type. This does nothing for :class:`TextCell`\ s. @@ -1320,8 +1320,8 @@ class Cell(Cell_generic): if len(s) == 0: return False s = s[0] - return bool(re.search('(?