Hello community, here is the log from the commit of package python-pick for openSUSE:Leap:15.2 checked in at 2020-03-20 05:15:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pick (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pick.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pick" Fri Mar 20 05:15:15 2020 rev:2 rq:786448 version:0.6.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pick/python-pick.changes 2020-02-22 17:49:50.241455627 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pick.new.3160/python-pick.changes 2020-03-20 05:15:20.302565450 +0100 @@ -1,0 +2,6 @@ +Mon Mar 16 08:48:50 UTC 2020 - Marketa Calabkova <[email protected]> + +- Update to version 0.6.7 + * Simplify pick function arguments + +------------------------------------------------------------------- Old: ---- pick-0.6.6.tar.gz New: ---- pick-0.6.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pick.spec ++++++ --- /var/tmp/diff_new_pack.FSiJXU/_old 2020-03-20 05:15:20.754565754 +0100 +++ /var/tmp/diff_new_pack.FSiJXU/_new 2020-03-20 05:15:20.762565760 +0100 @@ -17,7 +17,7 @@ Name: python-pick -Version: 0.6.6 +Version: 0.6.7 Release: 0 Summary: Curses-based interactive selection list module License: MIT @@ -27,11 +27,11 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module curses} BuildRequires: %{python_module pytest} # /SECTION -BuildArch: noarch %python_subpackages %description ++++++ pick-0.6.6.tar.gz -> pick-0.6.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pick-0.6.6/pick/__init__.py new/pick-0.6.7/pick/__init__.py --- old/pick-0.6.6/pick/__init__.py 2020-01-29 06:57:31.000000000 +0100 +++ new/pick-0.6.7/pick/__init__.py 2020-02-02 08:07:31.000000000 +0100 @@ -181,7 +181,7 @@ return curses.wrapper(self._start) -def pick(options, title=None, indicator='*', default_index=0, multiselect=False, min_selection_count=0, options_map_func=None): +def pick(*args, **kwargs): """Construct and start a :class:`Picker <Picker>`. Usage:: @@ -191,5 +191,5 @@ >>> options = ['option1', 'option2', 'option3'] >>> option, index = pick(options, title) """ - picker = Picker(options, title, indicator, default_index, multiselect, min_selection_count, options_map_func) + picker = Picker(*args, **kwargs) return picker.start() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pick-0.6.6/setup.py new/pick-0.6.7/setup.py --- old/pick-0.6.6/setup.py 2020-01-29 06:57:31.000000000 +0100 +++ new/pick-0.6.7/setup.py 2020-02-02 08:07:31.000000000 +0100 @@ -10,7 +10,7 @@ setup( name='pick', - version='0.6.6', + version='0.6.7', description='pick an option in the terminal with a simple GUI', long_description=fread('README.rst'), keywords='terminal gui',
