From d298faaea3289d0059ce0687b1c984b8b885bf65 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Thu, 5 Mar 2020 07:17:33 +0000 Subject: 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 [1] MFH: 2020Q1 --- textproc/py-textfsm/files/patch-setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 textproc/py-textfsm/files/patch-setup.py (limited to 'textproc/py-textfsm/files/patch-setup.py') 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']) -- cgit v1.2.3