Sync from SUSE:SLFO:Main python-drgn revision 2708f983dc0477113aff0a8f84bbd085
This commit is contained in:
commit
b5838fe52a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
BIN
drgn-0.0.25.tar.gz
(Stored with Git LFS)
Normal file
BIN
drgn-0.0.25.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
81
python-drgn.changes
Normal file
81
python-drgn.changes
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 4 14:46:37 UTC 2023 - Michal Koutný <mkoutny@suse.com>
|
||||||
|
|
||||||
|
- Cleanup .gitignore'd files from tarball
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 2 16:59:32 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- Update to drgn-0.0.25:
|
||||||
|
* omitting the prog argument
|
||||||
|
* running without root privileges
|
||||||
|
* maple tree helpers
|
||||||
|
* VMA helpers
|
||||||
|
* wait queue helpers
|
||||||
|
* ppc64 radix MMU support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 8 19:25:20 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- Update to drgn-0.0.24:
|
||||||
|
* Linked list length helper
|
||||||
|
* Networking helpers
|
||||||
|
* C++ lookups
|
||||||
|
* Split DWARF
|
||||||
|
* Performance improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 29 09:48:44 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- Update to drgn-0.0.23:
|
||||||
|
* Support Linux 6.3 and 6.4
|
||||||
|
* Full s390x support
|
||||||
|
* Extend idr helpers for pre-4.11 Linux
|
||||||
|
* Support GNU-style compressed .zdebug_* sections
|
||||||
|
* New scripts in contrib
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 7 20:40:49 UTC 2023 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
- Update to drgn-0.0.22:
|
||||||
|
* License changed to LGPLv2.1+.
|
||||||
|
* Linux kernel support was tested up to Linux 6.2-rc2.
|
||||||
|
* Oldest kernel version officially supported is now 4.9.
|
||||||
|
* The StackFrame.locals() method was added.
|
||||||
|
* The StackFrame.sp attribute was added.
|
||||||
|
* Helpers for XArrays were added.
|
||||||
|
* The drgn.helpers.linux.slab.get_slab_aliases() helper was added.
|
||||||
|
* The drgn.helpers.linux.slab.slab_object_info() helper was added.
|
||||||
|
* The drgn.helpers.common.memory.identify_address() helper now
|
||||||
|
provide the offset from the beginning of the slab object and
|
||||||
|
whether it is allocated or free.
|
||||||
|
* The drgn.helpers.common.stack.print_annotated_stack() helper was
|
||||||
|
added.
|
||||||
|
* Support for Linux kernel modules and stack unwinding on s390x.
|
||||||
|
* Partial support for looking up types with C++ template
|
||||||
|
arguments.
|
||||||
|
* Parsing debug info for C++ template parameter packs.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 14 16:11:33 UTC 2022 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
- Update to drgn-0.0.21:
|
||||||
|
* Linux kernel support up to Linux 6.0.
|
||||||
|
* Helpers for lockless linked lists in the Linux kernel.
|
||||||
|
* A helper to find the slab cache that a virtual address came.
|
||||||
|
* A drgn.helpers.common package for helpers that can be used with
|
||||||
|
any program (which may have program-specific additional
|
||||||
|
behavior).
|
||||||
|
* A helper to identify an arbitrary address (e.g., as a symbol or
|
||||||
|
slab object).
|
||||||
|
* PageFoo() helpers to check various struct page flags.
|
||||||
|
* Helpers for working with compound pages.
|
||||||
|
* A helper to get the CPU that a task last ran on.
|
||||||
|
* Automatic pretty-printing in IPython/Jupyter.
|
||||||
|
* drgn.StackTrace.prog was added as a way to get the program that a stack trace came from.
|
||||||
|
* Bug fixes, documentation, minor API changes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 14 20:51:07 UTC 2022 - Petr Tesařík <ptesarik@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging for openSUSE.
|
75
python-drgn.spec
Normal file
75
python-drgn.spec
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-drgn
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define skip_python2 1
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
|
|
||||||
|
Name: python-drgn
|
||||||
|
Version: 0.0.25
|
||||||
|
Release: 0
|
||||||
|
Summary: Scriptable debugger library
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
Group: Development/Tools/Debuggers
|
||||||
|
URL: https://github.com/osandov/drgn
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/d/drgn/drgn-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: libdw-devel
|
||||||
|
BuildRequires: libelf-devel
|
||||||
|
BuildRequires: libkdumpfile-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
drgn (pronounced “dragon”) is a debugger with an emphasis on
|
||||||
|
programmability. drgn exposes the types and variables in a program
|
||||||
|
for easy, expressive scripting in Python.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n drgn-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/drgn
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative drgn
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative drgn
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%license COPYING
|
||||||
|
%python_alternative %{_bindir}/drgn
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user