summaryrefslogtreecommitdiff
path: root/textproc/py-textfsm/files/patch-setup.py
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-03-05 07:17:33 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-03-05 07:17:33 +0000
commitd298faaea3289d0059ce0687b1c984b8b885bf65 (patch)
tree25b577569c20fcfb5547d7f17ea4a42f6fc5efbe /textproc/py-textfsm/files/patch-setup.py
parentBump after FORBIDDEN (diff)
textproc/py-textfsm: Update to 1.1.1
This update resolves a package installation conflict with textproc/py-texttable as both ports installs "texttable.py" into the same place. [1] Also while I'm here: * Switch to GitHub for a while as no sdist tarballs are available at PyPi. * Make the port concurrent safe because it installs scripts outside of the site-lib directory. * Remove the "testdata" directory to prevent possible package conflicts as it's only required for the test suite. * Add a "do-test" target to make future QA easier. Changelog: https://github.com/google/textfsm/releases/tag/v1.1.0 https://github.com/google/textfsm/releases/tag/v1.1.1 PR: 244257 Reported by: John Hein <jcfyecrayz@liamekaens.com> [1] MFH: 2020Q1
Notes
Notes: svn path=/head/; revision=527810
Diffstat (limited to '')
-rw-r--r--textproc/py-textfsm/files/patch-setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/py-textfsm/files/patch-setup.py b/textproc/py-textfsm/files/patch-setup.py
new file mode 100644
index 000000000000..e7a7c499d537
--- /dev/null
+++ b/textproc/py-textfsm/files/patch-setup.py
@@ -0,0 +1,13 @@
+Remove "testdata" directory from installation. It is only required for the
+testsuite.
+
+--- setup.py.orig 2019-11-26 11:17:07 UTC
++++ setup.py
+@@ -52,7 +52,6 @@ setup(name='textfsm',
+ ]
+ },
+ include_package_data=True,
+- package_data={'textfsm': ['../testdata/*']},
+ install_requires=['six', 'future'],
+ setup_requires=['pytest-runner'],
+ tests_require=['pytest'])