commit c96d32b8c66685e5caddb28fbe8dea1457f227264dc2de2c0af462ebd9e2f045 Author: Dirk Mueller Date: Mon Sep 23 09:45:48 2024 +0000 - update to 0.15.1: * Properly propagate "up" keypresses * Update deprecated urwid.util usage * Use up to date versions in CI OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid-readline?expand=0&rev=5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-urwid-readline.changes b/python-urwid-readline.changes new file mode 100644 index 0000000..735e348 --- /dev/null +++ b/python-urwid-readline.changes @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Mon Sep 23 09:44:29 UTC 2024 - Dirk Müller + +- update to 0.15.1: + * Properly propagate "up" keypresses + * Update deprecated urwid.util usage + * Use up to date versions in CI + +------------------------------------------------------------------- +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 diff --git a/python-urwid-readline.spec b/python-urwid-readline.spec new file mode 100644 index 0000000..fe53128 --- /dev/null +++ b/python-urwid-readline.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-urwid-readline +# +# 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 +# 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. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-urwid-readline +Version: 0.15.1 +Release: 0 +Summary: Text input widget for urwid that supports readline shortcuts +License: MIT +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 wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-urwid +%python_subpackages + +%description +Urwid-readline is a text input widget that supports readline shortcuts. Needed +by many apps like pudb. + +%prep +%autosetup -p1 -n "urwid_readline-%{version}" + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest_arch + +%files %{python_files} +%doc README.md +%{python_sitelib}/urwid_readline +%{python_sitelib}/urwid_readline-%{version}.dist-info + +%changelog 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 diff --git a/urwid_readline-0.15.1.tar.gz b/urwid_readline-0.15.1.tar.gz new file mode 100644 index 0000000..446b6c0 --- /dev/null +++ b/urwid_readline-0.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9301444b86d58f7d26388506b704f142cefd193888488b4070d3a0fdfcfc0f84 +size 9007