14
0

Accepting request 786212 from home:mcalabkova:branches:devel:languages:python

- Update to 3.0.4
  * Python 2 support has been dropped.
  * Native asyncio, so some async code becomes slightly different.
  * (almost) 100% type annotated.
  * Added shift-based text selection (use shift+arrows to start selecting text).
  * Accept an empty prompt continuation.
  * Improved support for "dumb" terminals.
  * `ShiftControl` has been replaced with `ControlShift` and `s-c` with `c-s` in
    key bindings. Aliases for backwards-compatibility have been added.

OBS-URL: https://build.opensuse.org/request/show/786212
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal
2020-03-18 17:43:33 +00:00
committed by Git OBS Bridge
parent 50686e1d19
commit 55cc4098dd
4 changed files with 19 additions and 12 deletions

View File

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

View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Mar 18 15:27:06 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.0.4
* Python 2 support has been dropped.
* Native asyncio, so some async code becomes slightly different.
* (almost) 100% type annotated.
* Added shift-based text selection (use shift+arrows to start selecting text).
* Accept an empty prompt continuation.
* Improved support for "dumb" terminals.
* `ShiftControl` has been replaced with `ControlShift` and `s-c` with `c-s` in
key bindings. Aliases for backwards-compatibility have been added.
-------------------------------------------------------------------
Thu Oct 10 08:31:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-prompt_toolkit
#
# 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
@@ -17,9 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%define skip_python2 1
Name: python-prompt_toolkit
Version: 2.0.10
Version: 3.0.4
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause
@@ -27,19 +27,13 @@ URL: https://github.com/jonathanslenders/python-prompt-toolkit
Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wcwidth}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six >= 1.9.0
Requires: python-wcwidth
Recommends: python-Pygments
Conflicts: python-prompt_toolkit1
BuildArch: noarch
%ifpython2
Obsoletes: %{oldpython}-python-prompt-toolkit < %{version}
Provides: %{oldpython}-python-prompt-toolkit = %{version}
%endif
%python_subpackages
%description