From 408ee37caa60ba088b4efb3823ca771b0c3b73b48a86244973a334ad7dcf3de8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Feb 2018 18:35:44 +0000 Subject: [PATCH] - update to 0.7.9: * Bug Fixes * Fixed a couple broken examples * Enhancements * Improved documentation for modifying shortcuts (command aliases) * Made ``pyreadline`` a dependency on Windows to ensure tab-completion works * Other changes * Abandoned official support for Python 3.3. It should still work, just don't have an easy way to test it anymore. * Bug Fixes * Fixed ``poutput()`` so it can print an integer zero and other **falsy** things * Fixed a bug which was causing autodoc to fail for building docs on Readthedocs * Fixed bug due to ``pyperclip`` dependency radically changing its project structure in latest version * Enhancements * Improved documentation for user-settable environment parameters * Improved documentation for overriding the default supported comment styles * Added ``runcmds_plus_hooks()`` method to run multiple commands w/o a cmdloop * Bug Fixes * Added workaround for bug which occurs in Python 2.7 on Linux when ``pygtk`` is installed * ``pfeedback()`` now honors feedback_to_output setting and won't redirect when it is ``False`` * For ``edit`` command, both **editor** and **filename** can now have spaces in the name/path * Fixed a bug which occurred when stdin was a pipe instead of a tty due to input redirection * Enhancements * ``feedback_to_output`` now defaults to ``False`` so info like command timing won't redirect * Transcript regular expressions now have predictable, tested, and documented behavior * This makes a breaking change to the format and expectations of transcript testing * The prior behavior removed whitespace before making the comparison, now whitespace must match exactly * Prior version did not allow regexes with whitespace, new version allows any regex * Improved display for ``load`` command and input redirection when **echo** is ``True`` * Bug Fixes * Case-sensitive command parsing was completely broken and has been fixed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=26 --- cmd2-0.7.5.tar.gz | 3 --- cmd2-0.7.9.tar.gz | 3 +++ python-cmd2.changes | 42 ++++++++++++++++++++++++++++++++++++++++++ python-cmd2.spec | 4 ++-- 4 files changed, 47 insertions(+), 5 deletions(-) delete mode 100644 cmd2-0.7.5.tar.gz create mode 100644 cmd2-0.7.9.tar.gz diff --git a/cmd2-0.7.5.tar.gz b/cmd2-0.7.5.tar.gz deleted file mode 100644 index bee1363..0000000 --- a/cmd2-0.7.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a47afafc5ad45649a2998df8d96f39d8e1d0686f55c785285889e45151ff75f -size 64939 diff --git a/cmd2-0.7.9.tar.gz b/cmd2-0.7.9.tar.gz new file mode 100644 index 0000000..6077a2b --- /dev/null +++ b/cmd2-0.7.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f518d30c641483c8d6c246afae6e4447f816f8300befc6a11c476eeb62a496e6 +size 71298 diff --git a/python-cmd2.changes b/python-cmd2.changes index 1600bb3..2c6f61b 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Tue Feb 13 18:33:35 UTC 2018 - dmueller@suse.com + +- update to 0.7.9: +* Bug Fixes + * Fixed a couple broken examples +* Enhancements + * Improved documentation for modifying shortcuts (command aliases) + * Made ``pyreadline`` a dependency on Windows to ensure tab-completion works +* Other changes + * Abandoned official support for Python 3.3. It should still work, just don't have an easy way to test it anymore. +* Bug Fixes + * Fixed ``poutput()`` so it can print an integer zero and other **falsy** things + * Fixed a bug which was causing autodoc to fail for building docs on Readthedocs + * Fixed bug due to ``pyperclip`` dependency radically changing its project structure in latest version +* Enhancements + * Improved documentation for user-settable environment parameters + * Improved documentation for overriding the default supported comment styles + * Added ``runcmds_plus_hooks()`` method to run multiple commands w/o a cmdloop +* Bug Fixes + * Added workaround for bug which occurs in Python 2.7 on Linux when ``pygtk`` is installed + * ``pfeedback()`` now honors feedback_to_output setting and won't redirect when it is ``False`` + * For ``edit`` command, both **editor** and **filename** can now have spaces in the name/path + * Fixed a bug which occurred when stdin was a pipe instead of a tty due to input redirection +* Enhancements + * ``feedback_to_output`` now defaults to ``False`` so info like command timing won't redirect + * Transcript regular expressions now have predictable, tested, and documented behavior + * This makes a breaking change to the format and expectations of transcript testing + * The prior behavior removed whitespace before making the comparison, now whitespace must match exactly + * Prior version did not allow regexes with whitespace, new version allows any regex + * Improved display for ``load`` command and input redirection when **echo** is ``True`` +* Bug Fixes + * Case-sensitive command parsing was completely broken and has been fixed + * ``+d`` now properly quits when case-sensitive command parsing is enabled + * Fixed some pyperclip clipboard interaction bugs on Linux + * Fixed some timing bugs when running unit tests in parallel by using monkeypatch +* Enhancements + * Enhanced tab-completion of cmd2 command names to support case-insensitive completion + * Added an example showing how to remove unused commands + * Improved how transcript testing handles prompts with ANSI escape codes by stripping them + * Greatly improved implementation for how command output gets piped to a shell command + ------------------------------------------------------------------- Mon Aug 7 07:58:02 UTC 2017 - tbechtold@suse.com diff --git a/python-cmd2.spec b/python-cmd2.spec index e7d4252..c8daece 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -1,7 +1,7 @@ # # spec file for package python-cmd2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cmd2 -Version: 0.7.5 +Version: 0.7.9 Release: 0 Summary: Extra features for standard library's cmd module License: MIT