Index: Makefile =================================================================== --- Makefile (revision 526595) +++ Makefile (working copy) @@ -18,4 +18,8 @@ USE_PYTHON= distutils autoplist NO_ARCH= yes +post-patch: + ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|; \ + s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|' ${WRKSRC}/setup.cfg + .include Index: files/patch-clitable.py =================================================================== --- files/patch-clitable.py (nonexistent) +++ files/patch-clitable.py (working copy) @@ -0,0 +1,15 @@ +--- clitable.py.orig 2017-05-08 10:21:06 UTC ++++ clitable.py +@@ -29,9 +29,9 @@ import copy + import os + import re + import threading +-import copyable_regex_object +-import textfsm +-import texttable ++import textfsm.copyable_regex_object as copyable_regex_object ++import textfsm.textfsm as textfsm ++import textfsm.texttable as texttable + + + class Error(Exception): Property changes on: files/patch-clitable.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-setup.cfg =================================================================== --- files/patch-setup.cfg (nonexistent) +++ files/patch-setup.cfg (working copy) @@ -0,0 +1,11 @@ +Install to alt location to avoid conflict with py-texttable. + +--- setup.cfg.orig 2018-04-09 04:59:23 UTC ++++ setup.cfg +@@ -1,3 +1,6 @@ ++[install] ++install_lib = /usr/local/lib/python3.7/site-packages/textfsm ++ + [metadata] + description-file = README.md + universal = 1 Property changes on: files/patch-setup.cfg ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-texttable.py =================================================================== --- files/patch-texttable.py (nonexistent) +++ files/patch-texttable.py (working copy) @@ -0,0 +1,11 @@ +--- texttable.py.orig 2017-05-08 08:39:48 UTC ++++ texttable.py +@@ -31,7 +31,7 @@ from functools import cmp_to_key + import textwrap + # pylint: disable=redefined-builtin + from six.moves import range +-import terminal ++import textfsm.terminal as terminal + + + class Error(Exception): Property changes on: files/patch-texttable.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property