python-pyelftools: new package
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 12 Oct 2016 08:06:31 +0000 (10:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Oct 2016 10:07:36 +0000 (12:07 +0200)
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-pyelftools/Config.in [new file with mode: 0644]
package/python-pyelftools/python-pyelftools.hash [new file with mode: 0644]
package/python-pyelftools/python-pyelftools.mk [new file with mode: 0644]

index 25f16889f4f40b28382396bb1d062d8d14fd6866..35ba5f695cbaa26300c6034fde43b133bf8b389f 100644 (file)
@@ -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 (file)
index 0000000..ca27302
--- /dev/null
@@ -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 (file)
index 0000000..e345a5b
--- /dev/null
@@ -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 (file)
index 0000000..5b5b488
--- /dev/null
@@ -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))