14
0

Accepting request 1107959 from home:mvyskocil

Add a mandatory dependency for python-pudb

The python-pudb as packaged in openSUSE lacks the dependency on a urwind_readline.

pudb test.py
...
File "/usr/lib/python3.11/site-packages/pudb/debugger.py", line 837, in __init__
import urwid_readline

OBS-URL: https://build.opensuse.org/request/show/1107959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid-readline?expand=0&rev=1
This commit is contained in:
2023-08-30 08:35:35 +00:00
committed by Git OBS Bridge
commit 6853b9bde7
5 changed files with 92 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Aug 29 09:43:35 UTC 2023 - Michal Vyskocil <michal.vyskocil@gmail.com>
- Initial packaging of urwid-readline for openSUSE

View File

@@ -0,0 +1,61 @@
#
# spec file for package python-urwid-readline
#
# Copyright (c) 2023 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/
#
%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-urwid-readline
Version: 0.13
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 setuptools}
BuildRequires: %{python_module urwid}
BuildRequires: %{python_module pytest}
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
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
%files %{python_files}
%doc README.md
%{python_sitelib}/urwid_readline/
%{python_sitelib}/urwid_readline-%{version}-py%{python_version}.egg-info
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:018020cbc864bb5ed87be17dc26b069eae2755cb29f3a9c569aac3bded1efaf4
size 7893