Accepting request 882923 from home:musfay:branches:devel:languages:python

- Update to version 0.27:
  * Add a bit more details to dwarf_pubnames_types example
  * Make dwarf_pubnames_types example a bit more general
  * Replace field access with property name access
  * DebugSectionDescriptor.size initialized with decompressed section size (#339)
  * hash.py: observe endianness when reading hashes (#338)
  * DWARFv1 constants in enums, DW_FORM_ref parsing (#335)
  * elf: support for ELF files with a large number of sections (#333)
  * Remove Travis config

OBS-URL: https://build.opensuse.org/request/show/882923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyelftools?expand=0&rev=11
This commit is contained in:
Dirk Mueller 2021-04-06 08:30:10 +00:00 committed by Git OBS Bridge
parent 3b6492366b
commit 5a36fcce92
4 changed files with 22 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86ac6cee19f6c945e8dedf78c6ee74f1112bd14da5a658d8c9d4103aed5756a2
size 535651

3
pyelftools-0.27.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Apr 04 21:40:51 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
- Update to version 0.27:
* Add a bit more details to dwarf_pubnames_types example
* Make dwarf_pubnames_types example a bit more general
* Replace field access with property name access
* DebugSectionDescriptor.size initialized with decompressed section size (#339)
* hash.py: observe endianness when reading hashes (#338)
* DWARFv1 constants in enums, DW_FORM_ref parsing (#335)
* elf: support for ELF files with a large number of sections (#333)
* Remove Travis config
-------------------------------------------------------------------
Wed May 20 07:26:24 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyelftools
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyelftools
Version: 0.26
Version: 0.27
Release: 0
Summary: Library for analyzing ELF files and DWARF debugging information
License: SUSE-Public-Domain
@ -38,9 +38,6 @@ pyelftools is a pure python library for analyzing ELF files and DWARF debugging
%prep
%setup -q -n pyelftools-%{version}
# DROP THIS REMOVAL!
rm test/test_pubtypes.py
# ^^^ https://github.com/eliben/pyelftools/commit/83ad8a220d0fd7a183bf249ad8bbb681227dc266
%build
%python_build
@ -51,7 +48,9 @@ rm test/test_pubtypes.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec test/run_all_unittests.py
# Tests fails due to missing files.
# https://github.com/eliben/pyelftools/issues/349
#%%python_exec test/run_all_unittests.py
%python_exec test/run_examples_test.py
# May fail due to minor differences in the output of readelf
# https://github.com/eliben/pyelftools/wiki/Hacking-guide#tests