From f680404e6076794402d616a6996e61090dee3508aa24f334af8c4cfa2ef85070 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Thu, 3 Dec 2015 14:00:12 +0000
Subject: [PATCH] Accepting request 347311 from home:Ronis_BR
Update to version 6.2.
OBS-URL: https://build.opensuse.org/request/show/347311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=3
---
click-4.1.tar.gz | 3 --
click-6.2.tar.gz | 3 ++
python-click.changes | 99 ++++++++++++++++++++++++++++++++++++++++++++
python-click.spec | 3 +-
4 files changed, 103 insertions(+), 5 deletions(-)
delete mode 100644 click-4.1.tar.gz
create mode 100644 click-6.2.tar.gz
diff --git a/click-4.1.tar.gz b/click-4.1.tar.gz
deleted file mode 100644
index 2c622f9..0000000
--- a/click-4.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e339ed09f25e2145314c902a870bc959adcb25653a2bd5cc1b48d9f56edf8ed8
-size 274489
diff --git a/click-6.2.tar.gz b/click-6.2.tar.gz
new file mode 100644
index 0000000..52bf526
--- /dev/null
+++ b/click-6.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fba0ff70f5ebb4cebbf64c40a8fbc222fb7cf825237241e548354dabe3da6a82
+size 281717
diff --git a/python-click.changes b/python-click.changes
index 2a31fdc..4fd3427 100644
--- a/python-click.changes
+++ b/python-click.changes
@@ -1,3 +1,102 @@
+-------------------------------------------------------------------
+Thu Dec 3 13:21:05 UTC 2015 - ronisbr@gmail.com
+
+- Update to version 6.2.
+- Changelog between versions 4.1 and 6.2:
+
+ Version 6.2
+ -----------
+ (bugfix release, released on November 27th 2015)
+
+ - Correct fix for hidden progress bars.
+
+ Version 6.1
+ -----------
+
+ (bugfix release, released on November 27th 2015)
+
+ - Resolved an issue with invisible progress bars no longer
+ rendering.
+ - Disable chain commands with subcommands as they were
+ inherently broken.
+ - Fix `MissingParameter` not working without parameters passed.
+
+ Version 6.0
+ -----------
+
+ (codename "pow pow", released on November 24th 2015)
+
+ - Optimized the progressbar rendering to not render when it did
+ not actually change.
+ - Explicitly disallow nargs=-1 with a set default.
+ - The context is now closed before it's popped from the stack.
+ - Added support for short aliases for the false flag on
+ toggles.
+ - Click will now attempt to aid you with debugging locale
+ errors better by listing with the help of the OS what locales
+ are available.
+ - Click used to return byte strings on Python 2 in some
+ unit-testing situations. This has been fixed to correctly
+ return unicode strings now.
+ - For Windows users on Python 2, Click will now handle Unicode
+ more correctly handle Unicode coming in from the system.
+ This also has the disappointing side effect that filenames
+ will now be always unicode by default in the `Path` type
+ which means that this can introduce small bugs for code not
+ aware of this.
+ - Added a `type` parameter to `Path` to force a specific string
+ type on the value.
+ - For users running Python on Windows the `echo`) and `prompt`
+ functions now work with full unicode functionality in the
+ Python windows console by emulating an output stream. This
+ also applies to getting the virtual output and input streams
+ via `click.get_text_stream(...)`.
+ - Unittests now always force a certain virtual terminal width.
+ - Added support for allowing dashes to indicate standard
+ streams to the `Path` type.
+ - Multi commands in chain mode no longer propagate arguments
+ left over from parsing to the callbacks. It's also now
+ disallowed through an exception when optional arguments are
+ attached to multi commands if chain mode is enabled.
+ - Relaxed restriction that disallowed chained commands to have
+ other chained commands as child commands.
+ - Arguments with positive nargs can now have defaults
+ implemented. Previously this configuration would often
+ result in slightly unexpected values be returned.
+
+ Version 5.1
+ -----------
+
+ (bugfix release, released on 17th August 2015)
+
+ - Fix a bug in `pass_obj` that would accidentally pass the
+ context too.
+
+ Version 5.0
+ -----------
+
+ (codename "tok tok", released on 16th August 2015)
+
+ - Removed various deprecated functionality.
+ - Atomic files now only accept the `w` mode.
+ - Change the usage part of help output for very long commands
+ to wrap their arguments onto the next line, indented by 4
+ spaces.
+ - Fix a bug where return code and error messages were incorrect
+ when using ``CliRunner``.
+ - added `get_current_context`.
+ - added a `meta` dictionary to the context which is shared
+ across the linked list of contexts to allow click utilities
+ to place state there.
+ - introduced `Context.scope`.
+ - The `echo` function is now threadsafe: It calls the `write`
+ method of the underlying object only once.
+ - `prompt(hide_input=True)` now prints a newline on `^C`.
+ - Click will now warn if users are using ``unicode_literals``.
+ - Click will now ignore the ``PAGER`` environment variable if
+ it is empty or contains only whitespace.
+ - The `click-contrib` GitHub organization was created.
+
-------------------------------------------------------------------
Sat Jul 18 17:17:10 UTC 2015 - aloisio@gmx.com
diff --git a/python-click.spec b/python-click.spec
index eb46e2b..7edb1d3 100644
--- a/python-click.spec
+++ b/python-click.spec
@@ -17,7 +17,7 @@
Name: python-click
-Version: 4.1
+Version: 6.2
Release: 0
Summary: A simple wrapper around optparse for powerful command line utilities
License: BSD-3-Clause
@@ -26,7 +26,6 @@ Url: http://github.com/mitsuhiko/click
Source: https://pypi.python.org/packages/source/c/click/click-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
-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