2017-04-01 22:25:20 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-prompt_toolkit
|
|
|
|
#
|
2025-04-28 16:40:02 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2017-04-01 22:25:20 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-13 20:46:09 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-04-01 22:25:20 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-04-21 14:11:50 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2017-04-01 22:25:20 +00:00
|
|
|
Name: python-prompt_toolkit
|
2025-04-28 16:40:02 +00:00
|
|
|
Version: 3.0.51
|
2017-04-01 22:25:20 +00:00
|
|
|
Release: 0
|
2018-07-27 08:24:25 +00:00
|
|
|
Summary: Library for building interactive command lines in Python
|
2017-04-01 22:25:20 +00:00
|
|
|
License: BSD-3-Clause
|
2023-04-05 06:47:46 +00:00
|
|
|
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
|
2017-04-03 14:33:49 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz
|
2023-04-05 06:47:46 +00:00
|
|
|
BuildRequires: %{python_module base >= 3.7}
|
|
|
|
BuildRequires: %{python_module pip}
|
2019-10-10 08:37:19 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2017-04-24 20:40:58 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-10-10 08:37:19 +00:00
|
|
|
BuildRequires: %{python_module wcwidth}
|
2023-04-05 06:47:46 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-07-15 11:40:11 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-wcwidth
|
|
|
|
Recommends: python-Pygments
|
2024-11-22 14:46:28 +00:00
|
|
|
Provides: python-prompt-toolkit = %{version}-%{release}
|
2018-10-13 20:46:09 +00:00
|
|
|
Conflicts: python-prompt_toolkit1
|
2018-07-15 11:40:11 +00:00
|
|
|
BuildArch: noarch
|
2017-04-24 20:40:58 +00:00
|
|
|
%python_subpackages
|
2017-04-01 22:25:20 +00:00
|
|
|
|
|
|
|
%description
|
2018-07-27 08:24:25 +00:00
|
|
|
Prompt toolkit is a library for building interactive command
|
2017-04-01 22:25:20 +00:00
|
|
|
lines in Python.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n prompt_toolkit-%{version}
|
|
|
|
|
|
|
|
%build
|
2023-04-05 06:47:46 +00:00
|
|
|
%pyproject_wheel
|
2017-04-01 22:25:20 +00:00
|
|
|
|
|
|
|
%install
|
2023-04-05 06:47:46 +00:00
|
|
|
%pyproject_install
|
2017-04-24 20:40:58 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2017-04-01 22:25:20 +00:00
|
|
|
|
2017-09-19 22:12:24 +00:00
|
|
|
%check
|
2019-10-10 08:37:19 +00:00
|
|
|
%pytest
|
2017-09-19 22:12:24 +00:00
|
|
|
|
2017-04-24 20:40:58 +00:00
|
|
|
%files %{python_files}
|
2018-07-15 11:40:11 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS.rst README.rst CHANGELOG
|
2023-04-05 06:47:46 +00:00
|
|
|
%{python_sitelib}/prompt_toolkit
|
|
|
|
%{python_sitelib}/prompt_toolkit-%{version}.dist-info
|
2017-04-01 22:25:20 +00:00
|
|
|
|
|
|
|
%changelog
|