14
0

Accepting request 622916 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/622916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=5
This commit is contained in:
2018-07-17 07:41:37 +00:00
committed by Git OBS Bridge
4 changed files with 42 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917
size 243734

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9ea14304a2633e4b40dde874c63da6b94a075f61e837011e035ffcd5bb39a1d
size 324367

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sat Jul 14 19:15:07 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
- update to version 2.0.3:
* Bug fixes:
+ Fix in 'x' and 'X' Vi key bindings. Correctly handle line
endings and args.
+ Fixed off by one error in Vi line selection.
+ Fixed bugs in Vi block selection. Correctly handle lines that
the selection doesn't cross.
+ Python 2 bugfix. Handle str/unicode correctly.
+ Handle option+left/right in iTerm.
- changes from version 2.0.2:
* Bug fixes:
+ Python 3.7 support: correctly handle StopIteration in
asynchronous generator.
+ Fixed off-by-one bug in Vi visual block mode.
+ Bugfix in TabsProcessor: handle situations when the cursor is at
the end of the line.
- changes from version 2.0.1 + previous:
* long list of changelog, see CHANGELOG in tar-ball for details.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 18 17:53:31 UTC 2018 - toddrme2178@gmail.com Fri May 18 17:53:31 UTC 2018 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-prompt_toolkit # spec file for package python-prompt_toolkit
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
%define oldpython python %define oldpython python
%bcond_without test
Name: python-prompt_toolkit Name: python-prompt_toolkit
Version: 1.0.15 Version: 2.0.3
Release: 0 Release: 0
Summary: Library for building powerful interactive command lines in Python Summary: Library for building powerful interactive command lines in Python
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/jonathanslenders/python-prompt-toolkit URL: https://github.com/jonathanslenders/python-prompt-toolkit
Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six >= 1.9.0
Requires: python-wcwidth
Recommends: python-Pygments
BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: %{python_module wcwidth} BuildRequires: %{python_module wcwidth}
%endif %endif
Requires: python-six >= 1.9.0
Requires: python-wcwidth
Recommends: python-Pygments
BuildArch: noarch
%ifpython2 %ifpython2
Obsoletes: %{oldpython}-python-prompt-toolkit < %{version} Obsoletes: %{oldpython}-python-prompt-toolkit < %{version}
Provides: %{oldpython}-python-prompt-toolkit = %{version} Provides: %{oldpython}-python-prompt-toolkit = %{version}
@@ -68,8 +68,8 @@ py.test-%{$python_bin_suffix}
%endif %endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS.rst LICENSE README.rst CHANGELOG %doc AUTHORS.rst README.rst CHANGELOG
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog