Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Floret <julien.floret@6wind.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] python-pyelftools: new package
Date: Wed, 12 Oct 2016 10:06:31 +0200	[thread overview]
Message-ID: <20161012080632.21369-1-julien.floret@6wind.com> (raw)

From: Olivier Matz <olivier.matz@6wind.com>

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Julien Floret <julien.floret@6wind.com>
---
 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 60184ce99fcc..de9fcbe48533 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -736,6 +736,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 000000000000..48569a224dca
--- /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 000000000000..e345a5bbf9f4
--- /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 000000000000..5b5b488cf083
--- /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.9.0.244.g00fa316

             reply	other threads:[~2016-10-12  8:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-12  8:06 Julien Floret [this message]
2016-10-12  8:06 ` [Buildroot] [PATCH 2/2] DEVELOPERS: add entry for python-pyelftools Julien Floret
2016-10-15 10:10 ` [Buildroot] [PATCH 1/2] python-pyelftools: new package Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161012080632.21369-1-julien.floret@6wind.com \
    --to=julien.floret@6wind.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox