14
0

Accepting request 736809 from devel:languages:python

- Update to 2.0.10:
  * minor bugfixes around

OBS-URL: https://build.opensuse.org/request/show/736809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=11
This commit is contained in:
2019-11-04 16:05:12 +00:00
committed by Git OBS Bridge
4 changed files with 14 additions and 16 deletions

View File

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

View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 10 08:31:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.0.10:
* minor bugfixes around
-------------------------------------------------------------------
Sat Mar 2 05:14:33 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@@ -18,16 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%bcond_without test
Name: python-prompt_toolkit
Version: 2.0.9
Version: 2.0.10
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause
Group: Development/Languages/Python
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
@@ -35,11 +36,6 @@ Requires: python-wcwidth
Recommends: python-Pygments
Conflicts: python-prompt_toolkit1
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wcwidth}
%endif
%ifpython2
Obsoletes: %{oldpython}-python-prompt-toolkit < %{version}
Provides: %{oldpython}-python-prompt-toolkit = %{version}
@@ -60,12 +56,8 @@ lines in Python.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix}
}
%endif
%pytest
%files %{python_files}
%license LICENSE