Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2017-08-12 20:26:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Sat Aug 12 20:26:44 2017 rev:15 rq:514847 version:0.7.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2016-11-24 
21:23:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new/python-cmd2.changes     
2017-08-12 20:26:46.463628167 +0200
@@ -1,0 +2,56 @@
+Mon Aug  7 07:58:02 UTC 2017 - tbecht...@suse.com
+
+- convert to singlespec
+
+-------------------------------------------------------------------
+Mon Aug  7 07:40:00 UTC 2017 - tbecht...@suse.com
+
+- update to 0.7.5:
+  * `case_insensitive` is no longer a runtime-settable parameter, but it was 
still listed as such
+  * Fixed a recursive loop bug when abbreviated commands are enabled and it 
could get stuck in the editor forever
+  * Fixed argparse_example.py and pirate.py examples and transcript_regex.txt 
transcript
+  * Fixed a bug in a unit test which occurred under unusual circumstances
+  * Organized all attributes used to configure the ParserManager into a single 
location
+  * Set the default value of `abbrev` to `False` (which controls whether or 
not abbreviated commands are allowed)
+  * Improved implementation of `load` to use command queue instead of nested 
inner loop
+  * Fixed a couple bugs in interacting with pastebuffer/clipboard on macOS and 
Linux
+  * Fixed a couple bugs in edit and save commands if called when history is 
empty
+  * Ability to pipe ``cmd2`` command output to a shell command is now more 
reliable, particularly on Windows
+  * Fixed a bug in ``pyscript`` command on Windows related to ``\`` being 
interpreted as an escape
+  * Ensure that path and shell command tab-completion results are 
alphabetically sorted
+  * Removed feature for load command to load scripts from URLS
+  * Removed presence of a default file name and default file extension
+  * ``load`` command has better error checking and reporting
+  * Clipboard copy and paste functionality is now handled by the **pyperclip** 
module
+  * ``shell`` command now supports redirection and piping of output
+  * Added a lot of unit tests
+  * Removed pause command
+  * Added a dependency on the **pyperclip** module
+  * Fixed a bug in displaying a span of history items when only an end index 
is supplied
+  * Fixed a bug which caused transcript test failures to display twice
+  * Added the ability to exclude commands from the help menu (**eof** included 
by default)
+  * Redundant **list** command removed and features merged into **history** 
command
+  * Added **pyscript** command which supports tab-completion and running 
Python scripts with arguments
+  * Improved tab-completion of file system paths, command names, and shell 
commands
+  * Changed default value of USE_ARG_LIST to True - this affects the beavhior 
of all **@options** commands
+  * Refactored code to encapsulate most of the pyparsing logic into a 
ParserManager class
+  * Added a MANIFEST.ini file to make sure a few extra files get included in 
the PyPI source distribution
+  * ``-`` wasn't being treated as a legal character
+  * The allow_cli_args attribute wasn't properly disabling parsing of args at 
invocation when False
+  * py command wasn't allowing scripts which used *cmd* function prior to 
entering an interactive Python session
+  * Don't throw exception when piping output to a shell command
+  * Transcript testing now properly calls ``preloop`` before and ``postloop`` 
after
+  * Fixed readline bug related to ANSI color escape codes in the prompt
+  * Added CONTRIBUTING.md and CODE_OF_CONDUCT.md files
+  * Added unicode parsing unit tests and listed unicode support as a feature 
when using Python 3
+  * Added more examples and improved documentation
+  * Added CmdResult namedtumple for returning and storing results
+  * Added local file system path completion for ``edit``, ``load``, ``save``, 
and ``shell`` commands
+  * Add shell command completion for ``shell`` command or ``!`` shortcut
+  * Abbreviated multiline commands are no longer allowed (they never worked 
correctly anyways)
+  * Refactored to use six module for a unified codebase which supports both 
Python 2 and Python 3
+  * Stabilized on all platforms (Windows, Mac, Linux) and all supported Python 
versions (2.7, 3.3, 3.4, 3.5, 3.6, PyPy)
+  * Added lots of unit tests and fixed a number of bugs
+  * Improved documentation and moved it to cmd2.readthedocs.io
+
+-------------------------------------------------------------------

Old:
----
  cmd2-0.6.9.tar.gz

New:
----
  cmd2-0.7.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.ChJo31/_old  2017-08-12 20:26:47.635463948 +0200
+++ /var/tmp/diff_new_pack.ChJo31/_new  2017-08-12 20:26:47.647462266 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cmd2
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,23 +16,25 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cmd2
-Version:        0.6.9
+Version:        0.7.5
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://packages.python.org/cmd2/
-Source:         https://pypi.io/packages/source/c/cmd2/cmd2-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source:         
https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 Requires:       python-pyparsing >= 2.0.1
+Requires:       python-pyperclip
+Requires:       python-six
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 Enhancements for standard library's cmd module.
@@ -57,14 +59,14 @@
 %setup -q -n cmd2-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README.rst
+%doc README.md LICENSE
 %{python_sitelib}/*
 
 %changelog

++++++ cmd2-0.6.9.tar.gz -> cmd2-0.7.5.tar.gz ++++++
++++ 13126 lines of diff (skipped)


Reply via email to