commit python-click for openSUSE:Factory

2020-08-25 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2020-08-25 12:39:13

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new.3399 (New)


Package is "python-click"

Tue Aug 25 12:39:13 2020 rev:12 rq:828408 version:7.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2020-06-05 20:01:07.776120771 +0200
+++ /work/SRC/openSUSE:Factory/.python-click.new.3399/python-click.changes  
2020-08-25 12:39:53.589427200 +0200
@@ -1,0 +2,5 @@
+Thu Aug 20 23:45:47 UTC 2020 - John Vandenberg 
+
+- Add runtime dependency on setuptools
+
+---



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.bNeHxY/_old  2020-08-25 12:39:58.489428124 +0200
+++ /var/tmp/diff_new_pack.bNeHxY/_new  2020-08-25 12:39:58.493428124 +0200
@@ -29,6 +29,7 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-setuptools
 BuildArch:  noarch
 %python_subpackages
 
@@ -50,7 +51,7 @@
 
 %check
 export LANG=en_US.UTF-8
-%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest 
--tb=short}
+%pytest --tb=short
 
 %files %{python_files}
 %license LICENSE.rst




commit python-click for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2020-06-05 20:00:58

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new.3606 (New)


Package is "python-click"

Fri Jun  5 20:00:58 2020 rev:11 rq:811100 version:7.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2020-04-19 21:48:28.347960708 +0200
+++ /work/SRC/openSUSE:Factory/.python-click.new.3606/python-click.changes  
2020-06-05 20:01:07.776120771 +0200
@@ -1,0 +2,10 @@
+Wed Jun  3 11:15:12 UTC 2020 - Dirk Mueller 
+
+- update to 7.1.2:
+   Revert applying shell quoting to commands for ``echo_with_pager``
+   and ``edit``. This was intended to allows spaces in commands, but
+   caused issues if the string was actually a command and arguments, or
+   on Windows. Instead, the string must be quoted manually as it should
+   appear on the command line. :issue:`1514`
+
+---

Old:

  click-7.1.1.tar.gz

New:

  click-7.1.2.tar.gz



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.X3yIZu/_old  2020-06-05 20:01:09.444126243 +0200
+++ /var/tmp/diff_new_pack.X3yIZu/_new  2020-06-05 20:01:09.448126255 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-click
-Version:7.1.1
+Version:7.1.2
 Release:0
 Summary:A wrapper around optparse for command line utilities
 License:BSD-3-Clause

++ click-7.1.1.tar.gz -> click-7.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-7.1.1/CHANGES.rst new/click-7.1.2/CHANGES.rst
--- old/click-7.1.1/CHANGES.rst 2020-03-09 19:45:31.0 +0100
+++ new/click-7.1.2/CHANGES.rst 2020-04-27 22:12:15.0 +0200
@@ -1,5 +1,17 @@
 .. currentmodule:: click
 
+Version 7.1.2
+-
+
+Released 2020-04-27
+
+-   Revert applying shell quoting to commands for ``echo_with_pager``
+and ``edit``. This was intended to allows spaces in commands, but
+caused issues if the string was actually a command and arguments, or
+on Windows. Instead, the string must be quoted manually as it should
+appear on the command line. :issue:`1514`
+
+
 Version 7.1.1
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-7.1.1/PKG-INFO new/click-7.1.2/PKG-INFO
--- old/click-7.1.1/PKG-INFO2020-03-09 19:49:55.260986300 +0100
+++ new/click-7.1.2/PKG-INFO2020-04-27 22:20:45.411091000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: click
-Version: 7.1.1
+Version: 7.1.2
 Summary: Composable command line interface toolkit
 Home-page: https://palletsprojects.com/p/click/
 Maintainer: Pallets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-7.1.1/docs/options.rst 
new/click-7.1.2/docs/options.rst
--- old/click-7.1.1/docs/options.rst2020-03-06 21:31:09.0 +0100
+++ new/click-7.1.2/docs/options.rst2020-04-27 22:05:29.0 +0200
@@ -383,7 +383,7 @@
 ``case_sensitive`` and any specified token normalization function.
 
 .. versionchanged:: 7.1
-The resulting value from an option will always be on the of the
+The resulting value from an option will always be one of the
 originally passed choices regardless of ``case_sensitive``.
 
 .. _option-prompting:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-7.1.1/src/click/__init__.py 
new/click-7.1.2/src/click/__init__.py
--- old/click-7.1.1/src/click/__init__.py   2020-03-09 19:45:31.0 
+0100
+++ new/click-7.1.2/src/click/__init__.py   2020-04-27 22:12:15.0 
+0200
@@ -76,4 +76,4 @@
 # literals.
 disable_unicode_literals_warning = False
 
-__version__ = "7.1.1"
+__version__ = "7.1.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-7.1.1/src/click/_compat.py 
new/click-7.1.2/src/click/_compat.py
--- old/click-7.1.1/src/click/_compat.py2020-03-09 19:27:37.0 
+0100
+++ new/click-7.1.2/src/click/_compat.py2020-04-27 22:05:29.0 
+0200
@@ -174,8 +174,6 @@
 iteritems = lambda x: x.iteritems()
 range_type = xrange
 
-from pipes import quote as shlex_quote
-
 def is_bytes(x):
 return isinstance(x, (buffer, bytearray))
 
@@ -284,8 +282,6 @@
 isidentifier = lambda x: x.isidentifier()
 iteritems = lambda x: iter(x.items())
 
-from shlex import quote as shlex_quote
-
 def is_bytes(x):
 

commit python-click for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2020-04-19 21:48:26

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new.2738 (New)


Package is "python-click"

Sun Apr 19 21:48:26 2020 rev:10 rq:790137 version:7.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2019-11-04 17:06:38.688276409 +0100
+++ /work/SRC/openSUSE:Factory/.python-click.new.2738/python-click.changes  
2020-04-19 21:48:28.347960708 +0200
@@ -1,0 +2,41 @@
+Tue Mar 31 11:57:08 UTC 2020 - Marketa Calabkova 
+
+- Update to 7.1.1
+  *   Fix ``ClickException`` output going to stdout instead of stderr.
+  *   Fix PyPI package name, "click" is lowercase again.
+  *   Fix link in ``unicode_literals`` error message. :pr:`1151`
+  *   Add support for colored output on UNIX Jupyter notebooks.
+  *   Operations that strip ANSI controls will strip the cursor hide/show
+  sequences. :issue:`1216`
+  *   Remove unused compat shim for ``bytes``. :pr:`1195`
+  *   Always return one of the passed choices for ``click.Choice``
+  :issue:`1277`, :pr:`1318`
+  *   Handle ``env MYPATH=''`` as though the option were not passed.
+  :issue:`1196`
+  *   It is once again possible to call ``next(bar)`` on an active
+  progress bar instance. :issue:`1125`
+  *   ``open_file`` with ``atomic=True`` retains permissions of existing
+  files and respects the current umask for new files. :issue:`1376`
+  *   Fix ``TypeError`` raised when using bool flags and specifying
+  ``type=bool``. :issue:`1287`
+  *   Newlines in option help text are replaced with spaces before
+  re-wrapping to avoid uneven line breaks. :issue:`834`
+  *   ``MissingParameter`` exceptions are printable in the Python
+  interpreter. :issue:`1139`
+  *   Fix how default values for file-type options are shown during
+  prompts. :issue:`914`
+  *   Option help text that is wrapped adds an extra newline at the end to
+  distinguish it from the next option. :issue:`1075`
+  *   Consider ``sensible-editor`` when determining the editor to use for
+  ``click.edit()``. :pr:`1469`
+  *   Arguments to system calls such as the executable path passed to
+  ``click.edit`` can contains spaces. :pr:`1470`
+  *   Add ZSH completion autoloading and error handling. :issue:`1348`
+  *   ZSH completion escapes special characters in values. :pr:`1418`
+  *   Add completion support for Fish shell. :pr:`1423`
+  *   Decoding bytes option values falls back to UTF-8 in more cases.
+  *   Make the warning about old 2-arg parameter callbacks a deprecation
+  warning, to be removed in 8.0. This has been a warning since Click
+  2.0. :pr:`1492`
+  
+---

Old:

  Click-7.0.tar.gz

New:

  click-7.1.1.tar.gz



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.MuQkMv/_old  2020-04-19 21:48:30.527965081 +0200
+++ /var/tmp/diff_new_pack.MuQkMv/_new  2020-04-19 21:48:30.527965081 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-click
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-click
-Version:7.0
+Version:7.1.1
 Release:0
 Summary:A wrapper around optparse for command line utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/mitsuhiko/click
-Source: 
https://files.pythonhosted.org/packages/source/C/Click/Click-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -39,7 +39,7 @@
 defaults out of the box.
 
 %prep
-%setup -q -n Click-%{version}
+%setup -q -n click-%{version}
 
 %build
 %python_build
@@ -56,6 +56,6 @@
 %license LICENSE.rst
 %doc CHANGES.rst README.rst
 %{python_sitelib}/click
-%{python_sitelib}/Click-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
 
 %changelog




commit python-click for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2019-11-04 17:06:37

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new.2990 (New)


Package is "python-click"

Mon Nov  4 17:06:37 2019 rev:9 rq:740898 version:7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2019-01-08 12:16:44.721023248 +0100
+++ /work/SRC/openSUSE:Factory/.python-click.new.2990/python-click.changes  
2019-11-04 17:06:38.688276409 +0100
@@ -1,0 +2,5 @@
+Mon Oct 14 11:43:49 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.mias74/_old  2019-11-04 17:06:40.112277931 +0100
+++ /var/tmp/diff_new_pack.mias74/_new  2019-11-04 17:06:40.148277969 +0100
@@ -23,8 +23,8 @@
 Summary:A wrapper around optparse for command line utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-URL:http://github.com/mitsuhiko/click
-Source: 
https://files.pythonhosted.org/packages/source/c/click/Click-%{version}.tar.gz
+URL:https://github.com/mitsuhiko/click
+Source: 
https://files.pythonhosted.org/packages/source/C/Click/Click-%{version}.tar.gz
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -46,7 +46,7 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8




commit python-click for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2019-01-08 12:16:43

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new.28833 (New)


Package is "python-click"

Tue Jan  8 12:16:43 2019 rev:8 rq:662313 version:7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2018-12-06 12:15:13.745654376 +0100
+++ /work/SRC/openSUSE:Factory/.python-click.new.28833/python-click.changes 
2019-01-08 12:16:44.721023248 +0100
@@ -1,0 +2,142 @@
+Sat Dec 22 16:12:12 UTC 2018 - ma...@detebe.org
+
+- update to version 7.0:
+  * Drop support for Python 2.6 and 3.3.
+  * Wrap ``click.Choice``'s missing message.
+  * Add native ZSH autocompletion support.
+  * Document that ANSI color info isn't parsed from bytearrays in
+Python 2.
+  * Document byte-stripping behavior of ``CliRunner``.
+  * Usage errors now hint at the ``--help`` option.
+  * Implement streaming pager.
+  * Extract bar formatting to its own method.
+  * Add ``DateTime`` type for converting input in given date time
+formats.
+  * ``secho``'s first argument can now be ``None``, like in ``echo``.
+   
+  * Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the
+arg passed to the first call of ``ProgressBar.update`` is 0.
+   
+  * Show progressbar only if total execution time is visible.
+  * Added the ability to hide commands and options from help.
+  * Document that options can be ``required=True``.
+  * Non-standalone calls to ``Context.exit`` return the exit code,
+rather than calling ``sys.exit``.
+  * ``click.getchar()`` returns Unicode in Python 3 on Windows,
+consistent with other platforms.
+  * Added ``FloatRange`` type.
+  * Added support for bash completion of ``type=click.Choice`` for
+  ``Options`` and ``Arguments``.
+  * Only allow one positional arg for ``Argument`` parameter
+declaration.
+  * Add ``case_sensitive=False`` as an option to Choice.
+  * ``click.getchar()`` correctly raises ``KeyboardInterrupt`` on "^C"
+and ``EOFError`` on "^D" on Linux.
+  * Fix encoding issue with ``click.getchar(echo=True)`` on Linux.
+   
+  * ``param_hint`` in errors now derived from param itself.
+  * Add a test that ensures that when an argument is formatted into a
+usage error, its metavar is used, not its name.
+  * Allow setting ``prog_name`` as extra in ``CliRunner.invoke``.
+   
+  * Help text taken from docstrings truncates at the ``\f`` form feed
+character, useful for hiding Sphinx-style parameter documentation.
+   
+  * ``launch`` now works properly under Cygwin.
+  * Update progress after iteration.
+  * ``CliRunner.invoke`` now may receive ``args`` as a string
+representing a Unix shell command.
+  * Make ``Argument.make_metavar()`` default to type metavar.
+  * Add documentation for ``ignore_unknown_options``.
+  * Add bright colors support for ``click.style`` and fix the reset
+option for parameters ``fg`` and ``bg``.
+  * Add ``show_envvar`` for showing environment variables in help.
+   
+  * Avoid ``BrokenPipeError`` during interpreter shutdown when stdout or
+stderr is a closed pipe.
+  * Document customizing option names.
+  * Disable ``sys._getframes()`` on Python interpreters that don't
+support it.
+  * Fix bug in test runner when calling ``sys.exit`` with ``None``.
+   
+  * Clarify documentation on command line options.
+  * Fix crash on Windows console.
+  * Fix bug that caused bash completion to give improper completions on
+chained commands.
+  * Added support for dynamic bash completion from a user-supplied
+callback.
+  * Added support for bash completions containing spaces.
+  * Allow autocompletion function to determine whether or not to return
+completions that start with the incomplete argument.
+  * Fix option naming routine to match documentation and be
+deterministic.
+  * Fix path validation bug.
+  * Add test and documentation for ``Option`` naming: functionality.
+   
+  * Update doc to match arg name for ``path_type``.
+  * Raw strings added so correct escaping occurs.
+  * Fix 16k character limit of ``click.echo`` on Windows.
+  * Overcome 64k character limit when writing to binary stream on
+Windows 7.
+  * Add bool conversion for "t" and "f".
+  * ``NoSuchOption`` errors take ``ctx`` so that ``--help`` hint gets
+printed in error output.
+  * Fixed the behavior of Click error messages with regards to Unicode
+on 2.x and 3.x. Message is now always Unicode and the str and
+Unicode special methods work as you expect on that platform.
+
+  * Progress bar now uses stderr by default.
+  * Add support for auto-completion documentation.
+  * Allow ``CliRunner`` to separate stdout and stderr.
+  * Fix variable precedence.
+  

commit python-click for openSUSE:Factory

2018-12-06 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2018-12-06 12:15:11

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new.19453 (New)


Package is "python-click"

Thu Dec  6 12:15:11 2018 rev:7 rq:655399 version:6.7

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2017-09-13 21:38:29.261370463 +0200
+++ /work/SRC/openSUSE:Factory/.python-click.new.19453/python-click.changes 
2018-12-06 12:15:13.745654376 +0100
@@ -1,0 +2,10 @@
+Wed Dec  5 01:18:27 UTC 2018 - Jan Engelhardt 
+
+- Trim bias and future aims from description.
+
+---
+Tue Dec  4 12:46:39 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.Og2q6Z/_old  2018-12-06 12:15:14.313653766 +0100
+++ /var/tmp/diff_new_pack.Og2q6Z/_new  2018-12-06 12:15:14.313653766 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-click
 #
-# 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,14 +20,13 @@
 Name:   python-click
 Version:6.7
 Release:0
-Summary:A simple wrapper around optparse for powerful command line 
utilities
+Summary:A wrapper around optparse for command line utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:http://github.com/mitsuhiko/click
+URL:http://github.com/mitsuhiko/click
 Source: 
https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to 
make it build
 Patch0: %{name}-test_compat.py.patch
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -36,14 +35,10 @@
 %python_subpackages
 
 %description
-Click is a Python package for creating beautiful command line interfaces
+Click is a Python package for creating command line interfaces
 in a composable way with as little code as necessary.  It's the "Command
-Line Interface Creation Kit".  It's highly configurable but comes with
-sensible defaults out of the box.
-
-It aims to make the process of writing command line tools quick and fun
-while also preventing any frustration caused by the inability to implement
-an intended CLI API.
+Line Interface Creation Kit". It is configurable, and comes with
+defaults out of the box.
 
 %prep
 %setup -q -n click-%{version}
@@ -61,8 +56,8 @@
 %{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest 
--tb=short}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES LICENSE README
+%license LICENSE
+%doc CHANGES README
 %{python_sitelib}/click
 %{python_sitelib}/click-%{version}-py%{python_version}.egg-info
 




commit python-click for openSUSE:Factory

2017-09-13 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2017-09-13 21:38:25

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new (New)


Package is "python-click"

Wed Sep 13 21:38:25 2017 rev:6 rq:523758 version:6.7

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2017-04-11 09:44:50.923746298 +0200
+++ /work/SRC/openSUSE:Factory/.python-click.new/python-click.changes   
2017-09-13 21:38:29.261370463 +0200
@@ -1,0 +2,7 @@
+Tue Sep 12 06:39:01 UTC 2017 - thomas.schrai...@suse.com
+
+- Added python-click-test_compat.py.patch to let %check section
+  run successfully
+  Disabled test_legacy_callbacks() for the time being
+
+---

New:

  python-click-test_compat.py.patch



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.tzaLu6/_old  2017-09-13 21:38:30.129248352 +0200
+++ /var/tmp/diff_new_pack.tzaLu6/_new  2017-09-13 21:38:30.133247790 +0200
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Python
 Url:http://github.com/mitsuhiko/click
 Source: 
https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to 
make it build
+Patch0: %{name}-test_compat.py.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -45,6 +47,7 @@
 
 %prep
 %setup -q -n click-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ python-click-test_compat.py.patch ++
--- a/tests/test_compat.py
+++ b/tests/test_compat.py
@@ -1,20 +1,20 @@
 import click
 
 
-if click.__version__ >= '3.0':
-def test_legacy_callbacks(runner):
-def legacy_callback(ctx, value):
-return value.upper()
-
-@click.command()
-@click.option('--foo', callback=legacy_callback)
-def cli(foo):
-click.echo(foo)
-
-result = runner.invoke(cli, ['--foo', 'wat'])
-assert result.exit_code == 0
-assert 'WAT' in result.output
-assert 'Invoked legacy parameter callback' in result.output
+#if click.__version__ >= '3.0':
+#def test_legacy_callbacks(runner):
+#def legacy_callback(ctx, value):
+#return value.upper()
+#
+#@click.command()
+#@click.option('--foo', callback=legacy_callback)
+#def cli(foo):
+#click.echo(foo)
+#
+#result = runner.invoke(cli, ['--foo', 'wat'])
+#assert result.exit_code == 0
+#assert 'WAT' in result.output
+#assert 'Invoked legacy parameter callback' in result.output
 
 
 def test_bash_func_name():



commit python-click for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2017-04-11 09:44:50

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new (New)


Package is "python-click"

Tue Apr 11 09:44:50 2017 rev:5 rq:485697 version:6.7

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2017-03-24 02:23:02.908230854 +0100
+++ /work/SRC/openSUSE:Factory/.python-click.new/python-click.changes   
2017-04-11 09:44:50.923746298 +0200
@@ -1,0 +2,5 @@
+Tue Apr  4 15:50:59 UTC 2017 - jmate...@suse.com
+
+- better test runner that works with pypy
+
+---



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.reDbvY/_old  2017-04-11 09:44:51.567655337 +0200
+++ /var/tmp/diff_new_pack.reDbvY/_new  2017-04-11 09:44:51.567655337 +0200
@@ -24,7 +24,7 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:http://github.com/mitsuhiko/click
-Source: https://pypi.io/packages/source/c/click/click-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -55,12 +55,12 @@
 
 %check
 export LANG=en_US.UTF-8
-%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
%{_bindir}/py.test-%{$python_version} --tb=short}
+%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest 
--tb=short}
 
 %files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES LICENSE README
 %{python_sitelib}/click
-%{python_sitelib}/click-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
 
 %changelog




commit python-click for openSUSE:Factory

2017-03-23 Thread root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2017-03-24 02:22:58

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new (New)


Package is "python-click"

Fri Mar 24 02:22:58 2017 rev:4 rq:482039 version:6.7

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2016-11-28 15:07:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-click.new/python-click.changes   
2017-03-24 02:23:02.908230854 +0100
@@ -1,0 +2,17 @@
+Wed Mar 22 15:44:17 UTC 2017 - aloi...@gmx.com
+
+- Converted to single-spec
+- Changed source URL to pypi.io
+
+---
+Thu Mar 16 12:41:06 UTC 2017 - mich...@stroeder.com
+
+- update to version 6.7:
+  * Make `click.progressbar` work with `codecs.open` files. See #637.
+  * Fix bug in bash completion with nested subcommands. See #639.
+  * Fix test runner not saving caller env correctly. See #644.
+  * Fix handling of SIGPIPE. See #626
+  * Deal with broken Windows environments such as Google App
+Engine's. See #711.
+
+---

Old:

  click-6.6.tar.gz

New:

  click-6.7.tar.gz



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.6SG26u/_old  2017-03-24 02:23:03.956082589 +0100
+++ /var/tmp/diff_new_pack.6SG26u/_new  2017-03-24 02:23:03.956082589 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-click
 #
-# 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,22 +16,22 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-click
-Version:6.6
+Version:6.7
 Release:0
 Summary:A simple wrapper around optparse for powerful command line 
utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:http://github.com/mitsuhiko/click
-Source: 
https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pytest
-BuildRequires:  python-setuptools
-%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
+Source: https://pypi.io/packages/source/c/click/click-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 Click is a Python package for creating beautiful command line interfaces
@@ -47,19 +47,20 @@
 %setup -q -n click-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 %check
-pushd tests
-PYTHONPATH=%{buildroot}%{python_sitelib} py.test --tb=short
-popd
+export LANG=en_US.UTF-8
+%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
%{_bindir}/py.test-%{$python_version} --tb=short}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES LICENSE README
-%{python_sitelib}/*
+%{python_sitelib}/click
+%{python_sitelib}/click-%{version}-py%{py_ver}.egg-info
 
 %changelog

++ click-6.6.tar.gz -> click-6.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-6.6/CHANGES new/click-6.7/CHANGES
--- old/click-6.6/CHANGES   2016-04-04 18:49:35.0 +0200
+++ new/click-6.7/CHANGES   2017-01-06 23:40:17.0 +0100
@@ -3,6 +3,17 @@
 
 This contains all major version changes between Click releases.
 
+Version 6.7
+---
+
+(bugfix release; released on January 6th 2017)
+
+- Make `click.progressbar` work with `codecs.open` files. See #637.
+- Fix bug in bash completion with nested subcommands. See #639.
+- Fix test runner not saving caller env correctly. See #644.
+- Fix handling of SIGPIPE. See #626
+- Deal with broken Windows environments such as Google App Engine's. See #711.
+
 Version 6.6
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-6.6/PKG-INFO new/click-6.7/PKG-INFO
--- old/click-6.6/PKG-INFO  2016-04-04 18:51:33.0 +0200
+++ 

commit python-click for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

here is the log from the commit of package python-click for openSUSE:Factory 
checked in at 2016-10-10 16:19:48

Comparing /work/SRC/openSUSE:Factory/python-click (Old)
 and  /work/SRC/openSUSE:Factory/.python-click.new (New)


Package is "python-click"

Changes:

--- /work/SRC/openSUSE:Factory/python-click/python-click.changes
2015-12-09 22:30:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-click.new/python-click.changes   
2016-10-10 16:19:50.0 +0200
@@ -1,0 +2,14 @@
+Thu Sep 15 22:54:59 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 6.6:
+  * Fix bug in `click.Path` where it would crash when passed a
+`-`. See #551.
+- update to version 6.4:
+  * Fix bug in bash completion where click would discard one or more
+trailing arguments. See #471.
+- update to version 6.3:
+  * Fix argument checks for interpreter invoke with `-m` and `-c` on
+Windows.
+  * Fixed a bug that cased locale detection to error out on Python 3.
+
+---

Old:

  click-6.2.tar.gz

New:

  click-6.6.tar.gz



Other differences:
--
++ python-click.spec ++
--- /var/tmp/diff_new_pack.XS9sYE/_old  2016-10-10 16:19:51.0 +0200
+++ /var/tmp/diff_new_pack.XS9sYE/_new  2016-10-10 16:19:51.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-click
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,15 +17,16 @@
 
 
 Name:   python-click
-Version:6.2
+Version:6.6
 Release:0
 Summary:A simple wrapper around optparse for powerful command line 
utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:http://github.com/mitsuhiko/click
-Source: 
https://pypi.python.org/packages/source/c/click/click-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+BuildRequires:  python-pytest
 %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
@@ -52,6 +53,9 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
+pushd tests
+PYTHONPATH=%{buildroot}%{python_sitelib} py.test --tb=short
+popd
 
 %files
 %defattr(-,root,root,-)

++ click-6.2.tar.gz -> click-6.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-6.2/CHANGES new/click-6.6/CHANGES
--- old/click-6.2/CHANGES   2015-11-27 18:42:04.0 +0100
+++ new/click-6.6/CHANGES   2016-04-04 18:49:35.0 +0200
@@ -3,6 +3,31 @@
 
 This contains all major version changes between Click releases.
 
+Version 6.6
+---
+
+(bugfix release; released on April 4th 2016)
+
+- Fix bug in `click.Path` where it would crash when passed a `-`. See #551.
+
+Version 6.4
+---
+
+(bugfix release; released on March 24th 2016)
+
+- Fix bug in bash completion where click would discard one or more trailing
+  arguments. See #471.
+
+Version 6.3
+---
+
+(bugfix release; released on February 22 2016)
+
+- Fix argument checks for interpreter invoke with `-m` and `-c`
+  on Windows.
+- Fixed a bug that cased locale detection to error out on Python 3.
+
+
 Version 6.2
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-6.2/PKG-INFO new/click-6.6/PKG-INFO
--- old/click-6.2/PKG-INFO  2015-11-27 18:43:01.0 +0100
+++ new/click-6.6/PKG-INFO  2016-04-04 18:51:33.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: click
-Version: 6.2
+Version: 6.6
 Summary: A simple wrapper around optparse for powerful command line utilities.
 Home-page: http://github.com/mitsuhiko/click
 Author: Armin Ronacher
Files old/click-6.2/artwork/.DS_Store and new/click-6.6/artwork/.DS_Store differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/click-6.2/click/__init__.py 
new/click-6.6/click/__init__.py
--- old/click-6.2/click/__init__.py 2015-11-27 18:42:45.0 +0100
+++ new/click-6.6/click/__init__.py 2016-04-04 18:50:46.0 +0200
@@ -95,4 +95,4 @@
 disable_unicode_literals_warning = False
 
 
-__version__ = '6.2'
+__version__ = '6.6'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'