update to py-elftools 0.24 and add py3 flavour (maintainer timeout)

This commit is contained in:
sthen 2018-02-23 21:36:30 +00:00
parent dfb2cd7526
commit 4ac8be46b0
3 changed files with 66 additions and 55 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2015/04/02 14:21:14 jasper Exp $
# $OpenBSD: Makefile,v 1.6 2018/02/23 21:36:30 sthen Exp $
COMMENT = ELF and DWARF parser library for Python
MODPY_EGG_VERSION = 0.23
MODPY_EGG_VERSION = 0.24
DISTNAME = pyelftools-${MODPY_EGG_VERSION}
PKGNAME = py-elftools-${MODPY_EGG_VERSION}
CATEGORIES = devel
@ -13,18 +13,18 @@ MAINTAINER = Edd Barrett <edd@openbsd.org>
# Public domain
PERMIT_PACKAGE_CDROM = Yes
FLAVORS = python3
FLAVOR ?=
MODPY_PI = Yes
MODULES = lang/python
EXAMPLEDIR = ${PREFIX}/share/examples/py-elftools
EXAMPLEDIR = ${PREFIX}/share/examples/${MODPY_PY_PREFIX}elftools
post-install:
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
cd ${WRKSRC}/examples && \
for i in *.py; do \
echo ${EXAMPLEDIR}; \
echo ${WRKSRC}/examples/$$i; \
${INSTALL_SCRIPT} $$i ${EXAMPLEDIR}; \
done
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${EXAMPLEDIR}/
mv ${PREFIX}/bin/readelf.py{,${MODPY_BIN_SUFFIX}}
do-test:
cd ${WRKSRC} && ${MODPY_BIN} test/run_all_unittests.py

View File

@ -1,2 +1,2 @@
SHA256 (pyelftools-0.23.tar.gz) = /Feq3Qluj5ubA/GpV49nPuZF4VE6X/AZLvQ5536rId4=
SIZE (pyelftools-0.23.tar.gz) = 401363
SHA256 (pyelftools-0.24.tar.gz) = 6d2X1oWluWuIqYjautuI5aU5tkzX15J/rJpzaNxMRZw=
SIZE (pyelftools-0.24.tar.gz) = 411874

View File

@ -1,95 +1,105 @@
@comment $OpenBSD: PLIST,v 1.3 2014/11/24 10:16:13 benoit Exp $
bin/readelf.py
@comment $OpenBSD: PLIST,v 1.4 2018/02/23 21:36:30 sthen Exp $
bin/readelf.py${MODPY_BIN_SUFFIX}
lib/python${MODPY_VERSION}/site-packages/elftools/
lib/python${MODPY_VERSION}/site-packages/elftools/__init__.py
lib/python${MODPY_VERSION}/site-packages/elftools/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/elftools/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/elftools/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/
lib/python${MODPY_VERSION}/site-packages/elftools/common/__init__.py
lib/python${MODPY_VERSION}/site-packages/elftools/common/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/elftools/common/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/elftools/common/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/${MODPY_PYCACHE}construct_utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/${MODPY_PYCACHE}py3compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/construct_utils.py
lib/python${MODPY_VERSION}/site-packages/elftools/common/construct_utils.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/exceptions.py
lib/python${MODPY_VERSION}/site-packages/elftools/common/exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/py3compat.py
lib/python${MODPY_VERSION}/site-packages/elftools/common/py3compat.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/common/utils.py
lib/python${MODPY_VERSION}/site-packages/elftools/common/utils.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/
lib/python${MODPY_VERSION}/site-packages/elftools/construct/__init__.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/elftools/construct/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/elftools/construct/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/${MODPY_PYCACHE}adapters.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/${MODPY_PYCACHE}debug.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/${MODPY_PYCACHE}macros.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/adapters.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/adapters.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/core.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/core.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/debug.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/debug.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/__init__.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}binary.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}bitstream.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}container.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}hex.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/${MODPY_PYCACHE}py3compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/binary.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/binary.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/bitstream.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/bitstream.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/container.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/container.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/hex.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/hex.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/py3compat.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/lib/py3compat.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/construct/macros.py
lib/python${MODPY_VERSION}/site-packages/elftools/construct/macros.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/__init__.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}abbrevtable.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}aranges.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}callframe.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}compileunit.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}constants.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}descriptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}die.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}dwarf_expr.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}dwarfinfo.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}enums.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}lineprogram.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}locationlists.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}ranges.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/${MODPY_PYCACHE}structs.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/abbrevtable.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/abbrevtable.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/aranges.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/callframe.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/callframe.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/compileunit.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/compileunit.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/constants.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/constants.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/descriptions.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/descriptions.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/die.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/die.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/dwarf_expr.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/dwarf_expr.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/dwarfinfo.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/dwarfinfo.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/enums.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/enums.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/lineprogram.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/lineprogram.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/locationlists.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/locationlists.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/ranges.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/ranges.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/structs.py
lib/python${MODPY_VERSION}/site-packages/elftools/dwarf/structs.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/
lib/python${MODPY_VERSION}/site-packages/elftools/elf/__init__.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}constants.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}descriptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}dynamic.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}elffile.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}enums.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}gnuversions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}notes.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}relocation.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}sections.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}segments.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/${MODPY_PYCACHE}structs.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/constants.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/constants.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/descriptions.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/descriptions.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/dynamic.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/dynamic.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/elffile.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/elffile.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/enums.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/enums.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/gnuversions.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/gnuversions.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/notes.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/relocation.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/relocation.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/sections.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/sections.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/segments.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/segments.pyc
lib/python${MODPY_VERSION}/site-packages/elftools/elf/structs.py
lib/python${MODPY_VERSION}/site-packages/elftools/elf/structs.pyc
lib/python${MODPY_VERSION}/site-packages/pyelftools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
share/examples/${MODPY_PY_PREFIX}elftools/
share/examples/${MODPY_PY_PREFIX}elftools/dwarf_decode_address.py
@ -97,6 +107,7 @@ share/examples/${MODPY_PY_PREFIX}elftools/dwarf_die_tree.py
share/examples/${MODPY_PY_PREFIX}elftools/dwarf_location_lists.py
share/examples/${MODPY_PY_PREFIX}elftools/dwarf_range_lists.py
share/examples/${MODPY_PY_PREFIX}elftools/elf_low_high_api.py
share/examples/${MODPY_PY_PREFIX}elftools/elf_notes.py
share/examples/${MODPY_PY_PREFIX}elftools/elf_relocations.py
share/examples/${MODPY_PY_PREFIX}elftools/elf_show_debug_sections.py
share/examples/${MODPY_PY_PREFIX}elftools/elfclass_address_size.py