From 11240ae4afbcf5eb8faa1ed188ad4426a09222f6a84cf7ced9ec2c920dce4596 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 18 Mar 2024 13:58:18 +0000 Subject: [PATCH] - 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 --- python-urwid-readline.changes | 8 +++++++- python-urwid-readline.spec | 22 +++++++++++----------- urwid_readline-0.13.tar.gz | 3 --- urwid_readline-0.14.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 15 deletions(-) delete mode 100644 urwid_readline-0.13.tar.gz create mode 100644 urwid_readline-0.14.tar.gz diff --git a/python-urwid-readline.changes b/python-urwid-readline.changes index 1fff686..8e7f0e0 100644 --- a/python-urwid-readline.changes +++ b/python-urwid-readline.changes @@ -1,4 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 18 13:57:37 UTC 2024 - Dirk Müller + +- update to 0.14: + * Let up/down arrows move focus out of edit box + ------------------------------------------------------------------- Tue Aug 29 09:43:35 UTC 2023 - Michal Vyskocil -- Initial packaging of urwid-readline for openSUSE +- Initial packaging of urwid-readline for openSUSE diff --git a/python-urwid-readline.spec b/python-urwid-readline.spec index 8f1589c..57f5b1e 100644 --- a/python-urwid-readline.spec +++ b/python-urwid-readline.spec @@ -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 diff --git a/urwid_readline-0.13.tar.gz b/urwid_readline-0.13.tar.gz deleted file mode 100644 index 8263eff..0000000 --- a/urwid_readline-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:018020cbc864bb5ed87be17dc26b069eae2755cb29f3a9c569aac3bded1efaf4 -size 7893 diff --git a/urwid_readline-0.14.tar.gz b/urwid_readline-0.14.tar.gz new file mode 100644 index 0000000..2becd1b --- /dev/null +++ b/urwid_readline-0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fabd2e501c124a30d38cfb10610b32f119a615ec0b310ae5591c583fb00bd09 +size 8995