14
0

- update to 0.14:

* Let up/down arrows move focus out of edit box
- Initial packaging of urwid-readline for openSUSE

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid-readline?expand=0&rev=3
This commit is contained in:
2024-03-18 13:58:18 +00:00
committed by Git OBS Bridge
parent de5cb30468
commit 11240ae4af
4 changed files with 21 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-urwid-readline
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
#
%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-urwid-readline
Version: 0.13
Version: 0.14
Release: 0
Summary: Text input widget for urwid that supports readline shortcuts
License: MIT
@@ -27,13 +26,14 @@ URL: https://pypi.org/project/urwid-readline/
Source: https://files.pythonhosted.org/packages/source/u/urwid-readline/urwid_readline-%{version}.tar.gz
BuildArch: noarch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urwid}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-urwid
Requires: python-urwid
%python_subpackages
%description
@@ -44,18 +44,18 @@ by many apps like pudb.
%autosetup -p1 -n "urwid_readline-%{version}"
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
%pytest_arch
%files %{python_files}
%doc README.md
%{python_sitelib}/urwid_readline/
%{python_sitelib}/urwid_readline-%{version}-py%{python_version}.egg-info
%{python_sitelib}/urwid_readline
%{python_sitelib}/urwid_readline-%{version}.dist-info
%changelog