diff --git a/cmd2-0.9.11.tar.gz b/cmd2-0.9.11.tar.gz deleted file mode 100644 index cdedf85..0000000 --- a/cmd2-0.9.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34a335b05f149d1b23e5657d597e7121b74ddf2e07d1c58f39855ade0e2a5242 -size 504912 diff --git a/cmd2-0.9.12.tar.gz b/cmd2-0.9.12.tar.gz new file mode 100644 index 0000000..1908172 --- /dev/null +++ b/cmd2-0.9.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cffd3b697cee0786101522bb520458eeedd5ddb2ce120f0f981d61961dcfe92 +size 517084 diff --git a/python-cmd2.changes b/python-cmd2.changes index 6fdb9a3..8432f9d 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Mon Apr 29 21:16:21 CEST 2019 - Matej Cepl + +- fix previous commit +- Update to 0.9.12: + - Bug Fixes + - Fixed a bug in how redirection and piping worked inside + py or pyscript commands + - Fixed bug in async_alert where it didn't account for + prompts that contained newline characters + - Fixed path completion case when CWD is just a slash. + Relative path matches were incorrectly prepended with + a slash. + - Enhancements + - Added ability to include command name placeholders in + the message printed when trying to run a disabled + command. + - Added instance attributes to customize error messages + without having to override methods. Theses messages can + also be colored. + - The with_argparser decorators now add the Statement + object created when parsing the command line to the + argparse.Namespace object they pass to the do_* + methods. It is stored in an attribute called + __statement__. + - This can be useful if a command function needs to know + the command line for things like logging. + - Added a -t option to the load command for automatically + generating a transcript based on a script file + - When in a pyscript, the stdout and stderr streams of + shell commands and processes being piped to are now + captured and included in the CommandResult structure. + - Potentially breaking changes + - The following commands now write to stderr instead of + stdout when printing an error. This will make catching + errors easier in pyscript. + - Removed *** from beginning of error messages printed by + do_help() and default() + - Significantly refactored cmd.Cmd class so that all + class attributes got converted to instance attributes, + also: self.pipe_proc is now called + self.cur_pipe_proc_reader and is a ProcReader class. + - Shell commands and commands being piped to while in + a pyscript will function as if their output is going to + a pipe and not a tty. This was necessary to be able to + capture their output. + ------------------------------------------------------------------- Mon Apr 15 06:38:20 UTC 2019 - Dirk Mueller diff --git a/python-cmd2.spec b/python-cmd2.spec index 98af374..9c35cc0 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-cmd2 -Version: 0.9.11 +Version: 0.9.12 Release: 0 Summary: Extra features for standard library's cmd module License: MIT @@ -50,7 +50,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} # Required by tests. BuildRequires: vim -%if 0%{?suse_version} < 130200 +%if 0%{?suse_version} <= 1315 BuildRequires: %{python_module contextlib2} BuildRequires: %{python_module typing} %endif