Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37402746
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: pdb-clone

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define pypi_name pdb-clone

Name: %pypi_name
Version: 1.10.2
Release: alt1
License: GPL-2.0
Summary: A clone of pdb, fast and with the remote debugging and attach features
Group: Development/Python
Url: https://pypi.org/project/pdb-clone/
VCS: https://github.com/corpusops/pdbclone

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

# build backend and its deps

BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

# gdb provides python(gdb) on %_datadir/gdb/python, but it's for internal usage

# only, for example:
# (gdb) python import gdb; print (gdb.__file__)
# /usr/share/gdb/python/gdb/__init__.py
#
# pdb-clone provides module for gdb, that is called from gdb
# (gdb) python import pdb_clone.bootstrappdb_gdb
%add_python3_req_skip gdb

%description
Implement the most recent Python 3 features of pdb, as defined in the
Python 3 pdb documentation. The pdb command line interface remains
unchanged except for the new detach and thread pdb commands.

Improve significantly pdb performance. With breakpoints, pdb-clone runs
just below the speed of the interpreter while pdb runs 10 to 100 times
slower than the interpreter, see Performances.

Extend pdb with remote debugging. A remote debugging session may be
started when the program stops at a pdb.set_trace_remote() hard-coded
breakpoint, or at any time and multiple times by attaching to the
process main thread. See RemoteDebugging

Fix pdb long standing bugs entered in the Python issue tracker, see the
News.

Add a bdb comprehensive test suite (more than 70 tests) and run both pdb
and bdb test suites.

%package -n python3-module-%pypi_name
Summary: Module for %name
Group: Development/Python
# wellknown PyPI name
%py3_provides %pypi_name
Provides: python3-module-pdb_clone = %EVR

%description -n python3-module-%pypi_name
%summary

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%files
%doc pdb-clone.wiki/*
%_bindir/pdb-attach
%_bindir/pdb-clone

%files -n python3-module-%pypi_name
%python3_sitelibdir/pdb_clone/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin