Skip to content

Commit

Permalink
Update python-pudb to version 2022.1.3 / rev 11 via SR 1108067
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1108067
by user mcepl + anag+factory
- Clean up the SPEC file
  • Loading branch information
mcepl authored and bmwiedemann committed Sep 7, 2023
1 parent 399fa5e commit 5175617
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
Binary file modified packages/p/python-pudb/.files
Binary file not shown.
9 changes: 9 additions & 0 deletions packages/p/python-pudb/.rev
Expand Up @@ -107,4 +107,13 @@
<comment></comment>
<requestid>1035185</requestid>
</revision>
<revision rev="11" vrev="2">
<srcmd5>ab92a0ef7a42757bfc19b547cc3e519d</srcmd5>
<version>2022.1.3</version>
<time>1694113945</time>
<user>anag+factory</user>
<comment>- Clean up the SPEC file
</comment>
<requestid>1108067</requestid>
</revision>
</revisionlist>
5 changes: 5 additions & 0 deletions packages/p/python-pudb/python-pudb.changes
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 30 08:57:06 UTC 2023 - Matej Cepl <mcepl@suse.com>

- Clean up the SPEC file

-------------------------------------------------------------------
Wed Nov 9 17:18:38 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

Expand Down
17 changes: 10 additions & 7 deletions packages/p/python-pudb/python-pudb.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-pudb
#
# Copyright (c) 2022 SUSE LLC
# 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
Expand All @@ -19,7 +19,6 @@
%define upstream_name pudb
%define module_name pudb
%define py_maj_ver %(c=%{python})
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pudb
Version: 2022.1.3
Expand All @@ -29,13 +28,17 @@ License: MIT
Group: Development/Tools/Debuggers
URL: https://mathema.tician.de/software/pudb
Source0: https://files.pythonhosted.org/packages/source/p/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urwid}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pygments
Requires: python-jedi
Requires: python-packaging
Requires: python-urwid
Requires: python-urwid-readline
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
Expand All @@ -47,15 +50,15 @@ Control is by keyboard. The UI is reminiscient of the DOS versions
of Turbo Pascal.

%prep
%setup -q -n %{upstream_name}-%{version}
%autosetup -p1 -n %{upstream_name}-%{version}

sed -i '1{\@^#! %{_bindir}/env python@d}' pudb/debugger.py

%build
%python_build
%pyproject_wheel

%install
%python_install
%pyproject_install
mv -v %{buildroot}%{_bindir}/pudb{*,} || /bin/true
%python_clone -a %{buildroot}%{_bindir}/pudb
%python_expand %fdupes %{buildroot}%{$python_sitelib}
Expand All @@ -81,7 +84,7 @@ export LC_ALL=en_US.utf8
%doc README.rst
%license LICENSE
%{python_sitelib}/%{module_name}
%{python_sitelib}/%{module_name}*.egg-info
%{python_sitelib}/%{module_name}*-info
%python_alternative %{_bindir}/pudb

%changelog

0 comments on commit 5175617

Please sign in to comment.