14
0
forked from pool/python-pudb
Tomáš Chvátal
2019-08-15 08:37:45 +00:00
committed by Git OBS Bridge
parent 302d21e9e8
commit 6ba21e0165

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@@ -26,7 +26,7 @@ Release: 0
Summary: A full-screen, console-based Python debugger Summary: A full-screen, console-based Python debugger
License: MIT License: MIT
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
Url: http://mathema.tician.de/software/pudb URL: https://mathema.tician.de/software/pudb
Source0: https://files.pythonhosted.org/packages/source/p/%{upstream_name}/%{upstream_name}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest-runner}
@@ -34,10 +34,10 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urwid} BuildRequires: %{python_module urwid}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: %{python_module Pygments} Requires: python-Pygments
Requires: %{python_module urwid} Requires: python-urwid
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -81,7 +81,7 @@ mv -v %{buildroot}%{_bindir}/%{upstream_name}3 \
export PYTHONPATH=$(pwd -P) export PYTHONPATH=$(pwd -P)
export LC_ALL=en_US.utf8 export LC_ALL=en_US.utf8
# https://github.com/inducer/pudb/issues/304 # https://github.com/inducer/pudb/issues/304
%python_expand py.test-%{$python_version} -k 'not test_get_lines' %pytest -k 'not test_get_lines'
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst