Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pyelftools py-pyelftools: updated to 0.26



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ef317610999
branches:  trunk
changeset: 430498:5ef317610999
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 01 08:17:43 2020 +0000

description:
py-pyelftools: updated to 0.26

Version 0.26:
- Call relocation for ARM v3
- More complete architecture coverage for ENUM_E_MACHINE
- Support for .debug_pubtypes and .debug_pubnames sections
- Support for DWARF v4 location lists
- Decode strings in dynamic string tables
- Improve symbol table handling in dynamic segments
- Improved handling of location information
- Avoid deprecation warnings in Python 3.7+
- Add DWARF v5 OPs
- Handle many new translation forms and constants
- Lazy DIE parsing to speed up partial parsing of DWARF info

Version 0.25:
- Make parsing of SH_TYPE and PT_TYPE fields dependent on the machine
  (e_machine header field), making it possible to support conflicting type
  enums between different machines
- Add parsing and readelf dumping for .eh_frame
- Support compressed sections
- Better support for parsing core dumps
- More comprehensive handling of ARM relocations
- Convert all ascii encoding to utf-8 encoding
- Don't attempt to hex/string dump SHT_NOBITS sections in readelf
- Test with Python 3.6
- Minor bugfixes
- Cleanup: Use argparse instead of optparse
- Make readelf comparison tests run in parallel using multiprocessing; cuts
  testing time 3-5x
- Improvements in MIPS flags handling

diffstat:

 devel/py-pyelftools/Makefile |  10 +++++-----
 devel/py-pyelftools/PLIST    |  13 +++++++++++--
 devel/py-pyelftools/distinfo |  10 +++++-----
 3 files changed, 21 insertions(+), 12 deletions(-)

diffs (82 lines):

diff -r b3b87ca4e5a8 -r 5ef317610999 devel/py-pyelftools/Makefile
--- a/devel/py-pyelftools/Makefile      Fri May 01 08:12:08 2020 +0000
+++ b/devel/py-pyelftools/Makefile      Fri May 01 08:17:43 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/04/06 07:08:26 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/01 08:17:43 adam Exp $
 
-DISTNAME=      pyelftools-0.24
+DISTNAME=      pyelftools-0.26
 PKGNAME=       ${PYPKGPREFIX}-${EGG_NAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyelftools/}
 
@@ -14,10 +13,11 @@
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} readelf.py readelf-${PYVERSSUFFIX}.py || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} readelf.py readelf-${PYVERSSUFFIX}.py || ${TRUE}
 
 do-test:
        cd ${WRKSRC} && ${PYTHONBIN} test/run_all_unittests.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b3b87ca4e5a8 -r 5ef317610999 devel/py-pyelftools/PLIST
--- a/devel/py-pyelftools/PLIST Fri May 01 08:12:08 2020 +0000
+++ b/devel/py-pyelftools/PLIST Fri May 01 08:17:43 2020 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2018/04/06 07:08:26 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/05/01 08:17:43 adam Exp $
 bin/readelf-${PYVERSSUFFIX}.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/elftools/__init__.py
 ${PYSITELIB}/elftools/__init__.pyc
 ${PYSITELIB}/elftools/__init__.pyo
@@ -90,6 +94,9 @@
 ${PYSITELIB}/elftools/dwarf/locationlists.py
 ${PYSITELIB}/elftools/dwarf/locationlists.pyc
 ${PYSITELIB}/elftools/dwarf/locationlists.pyo
+${PYSITELIB}/elftools/dwarf/namelut.py
+${PYSITELIB}/elftools/dwarf/namelut.pyc
+${PYSITELIB}/elftools/dwarf/namelut.pyo
 ${PYSITELIB}/elftools/dwarf/ranges.py
 ${PYSITELIB}/elftools/dwarf/ranges.pyc
 ${PYSITELIB}/elftools/dwarf/ranges.pyo
@@ -117,6 +124,9 @@
 ${PYSITELIB}/elftools/elf/gnuversions.py
 ${PYSITELIB}/elftools/elf/gnuversions.pyc
 ${PYSITELIB}/elftools/elf/gnuversions.pyo
+${PYSITELIB}/elftools/elf/hash.py
+${PYSITELIB}/elftools/elf/hash.pyc
+${PYSITELIB}/elftools/elf/hash.pyo
 ${PYSITELIB}/elftools/elf/notes.py
 ${PYSITELIB}/elftools/elf/notes.pyc
 ${PYSITELIB}/elftools/elf/notes.pyo
@@ -132,4 +142,3 @@
 ${PYSITELIB}/elftools/elf/structs.py
 ${PYSITELIB}/elftools/elf/structs.pyc
 ${PYSITELIB}/elftools/elf/structs.pyo
-${PYSITELIB}/${EGG_FILE}
diff -r b3b87ca4e5a8 -r 5ef317610999 devel/py-pyelftools/distinfo
--- a/devel/py-pyelftools/distinfo      Fri May 01 08:12:08 2020 +0000
+++ b/devel/py-pyelftools/distinfo      Fri May 01 08:17:43 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/03/20 15:34:16 khorben Exp $
+$NetBSD: distinfo,v 1.2 2020/05/01 08:17:43 adam Exp $
 
-SHA1 (pyelftools-0.24.tar.gz) = 5b3177f465c5ed2368cb1932aaf391b8fc4ac731
-RMD160 (pyelftools-0.24.tar.gz) = 94773b778cdd1939d6548232803af8446bdfcf45
-SHA512 (pyelftools-0.24.tar.gz) = 5169617f9a8446ffc21dfc44ee185a388c8945a0296bdc6752483b0756888dccb10e3ee88e529d101cf31a4595de924b5c95f5459d5ee4448f57c0c4f2c56887
-Size (pyelftools-0.24.tar.gz) = 411874 bytes
+SHA1 (pyelftools-0.26.tar.gz) = 64352f4e0e8878b764b2bb2156aabf10f5ba6fc8
+RMD160 (pyelftools-0.26.tar.gz) = c2258dbe3fb2b17341ffc96aed2091cfe8fa8808
+SHA512 (pyelftools-0.26.tar.gz) = ba77d8f21fa680648884c3a38f4ec69dad1bc2e828551c5a77e487388bd0c2a28bc4c3f4702e63b39fd763611cc4d018c7715c141bb30ca908c1dbdcd7b149e8
+Size (pyelftools-0.26.tar.gz) = 535651 bytes



Home | Main Index | Thread Index | Old Index