14
0

Accepting request 622853 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/622853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2018-07-15 11:40:11 +00:00
committed by Git OBS Bridge
parent ff0b9f5464
commit 5d17814689
4 changed files with 42 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
%define oldpython python
%bcond_without test
Name: python-prompt_toolkit
Version: 1.0.15
Version: 2.0.3
Release: 0
Summary: Library for building powerful interactive command lines in Python
License: BSD-3-Clause
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
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
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}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module wcwidth}
%endif
Requires: python-six >= 1.9.0
Requires: python-wcwidth
Recommends: python-Pygments
BuildArch: noarch
%ifpython2
Obsoletes: %{oldpython}-python-prompt-toolkit < %{version}
Provides: %{oldpython}-python-prompt-toolkit = %{version}
@@ -68,8 +68,8 @@ py.test-%{$python_bin_suffix}
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS.rst LICENSE README.rst CHANGELOG
%license LICENSE
%doc AUTHORS.rst README.rst CHANGELOG
%{python_sitelib}/*
%changelog