From f41d153b6cae9ee27007024d1aa026f125a3f99d Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Wed, 12 Oct 2016 10:06:31 +0200 Subject: [PATCH] python-pyelftools: new package Signed-off-by: Olivier Matz Signed-off-by: Julien Floret Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-pyelftools/Config.in | 7 +++++++ package/python-pyelftools/python-pyelftools.hash | 4 ++++ package/python-pyelftools/python-pyelftools.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-pyelftools/Config.in create mode 100644 package/python-pyelftools/python-pyelftools.hash create mode 100644 package/python-pyelftools/python-pyelftools.mk diff --git a/package/Config.in b/package/Config.in index 25f16889f4..35ba5f695c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -737,6 +737,7 @@ menu "External python modules" source "package/python-pycparser/Config.in" source "package/python-pycrypto/Config.in" source "package/python-pydal/Config.in" + source "package/python-pyelftools/Config.in" source "package/python-pyftpdlib/Config.in" source "package/python-pygame/Config.in" source "package/python-pygments/Config.in" diff --git a/package/python-pyelftools/Config.in b/package/python-pyelftools/Config.in new file mode 100644 index 0000000000..ca27302227 --- /dev/null +++ b/package/python-pyelftools/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYELFTOOLS + bool "python-pyelftools" + help + Pyelftools is a Python library for parsing and analyzing ELF + files and DWARF debug information. + + https://github.com/eliben/pyelftools diff --git a/package/python-pyelftools/python-pyelftools.hash b/package/python-pyelftools/python-pyelftools.hash new file mode 100644 index 0000000000..e345a5bbf9 --- /dev/null +++ b/package/python-pyelftools/python-pyelftools.hash @@ -0,0 +1,4 @@ +# From https://pypi.python.org/packages/ba/78/d4a186a2e38731286c99dc3e3ca8123b6f55cf2e28608e8daf2d84b65494/pyelftools-0.24.tar.gz#md5=c960d5fe0a9308d96ba38b4beec8ac8e +md5 c960d5fe0a9308d96ba38b4beec8ac8e pyelftools-0.24.tar.gz +# Locally calculated +sha256 e9dd97d685a5b96b88a988dabadb88e5a539b64cd7d7927fac9a7368dc4c459c pyelftools-0.24.tar.gz diff --git a/package/python-pyelftools/python-pyelftools.mk b/package/python-pyelftools/python-pyelftools.mk new file mode 100644 index 0000000000..5b5b488cf0 --- /dev/null +++ b/package/python-pyelftools/python-pyelftools.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyelftools +# +################################################################################ + +PYTHON_PYELFTOOLS_VERSION = 0.24 +PYTHON_PYELFTOOLS_SOURCE = pyelftools-$(PYTHON_PYELFTOOLS_VERSION).tar.gz +PYTHON_PYELFTOOLS_SITE = https://pypi.python.org/packages/ba/78/d4a186a2e38731286c99dc3e3ca8123b6f55cf2e28608e8daf2d84b65494 +PYTHON_PYELFTOOLS_LICENSE = Public domain +PYTHON_PYELFTOOLS_LICENSE_FILES = LICENSE +PYTHON_PYELFTOOLS_SETUP_TYPE = distutils + +$(eval $(python-package)) -- 2.30.2