package/python3-pyelftools: new package

We will need this Python 3.x variant of the host-python-pyelftools
package to be able to build some recent versions of U-Boot (>=
2020.01).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Thomas Petazzoni 2020-05-02 23:28:07 +02:00 committed by Yann E. MORIN
parent 93afd6695b
commit 0704168abf
3 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#
################################################################################
# Please keep in sync with package/python3-pyelftools/python3-pyelftools.mk
PYTHON_PYELFTOOLS_VERSION = 0.25
PYTHON_PYELFTOOLS_SOURCE = pyelftools-$(PYTHON_PYELFTOOLS_VERSION).tar.gz
PYTHON_PYELFTOOLS_SITE = https://files.pythonhosted.org/packages/fa/9a/0674cb1725196568bdbca98304f2efb17368b57af1a4bb3fc772c026f474

View File

@ -0,0 +1 @@
../python-pyelftools/python-pyelftools.hash

View File

@ -0,0 +1,17 @@
################################################################################
#
# python3-pyelftools
#
################################################################################
# Please keep in sync with package/python-pyelftools/python-pyelftools.mk
PYTHON3_PYELFTOOLS_VERSION = 0.25
PYTHON3_PYELFTOOLS_SOURCE = pyelftools-$(PYTHON_PYELFTOOLS_VERSION).tar.gz
PYTHON3_PYELFTOOLS_SITE = https://files.pythonhosted.org/packages/fa/9a/0674cb1725196568bdbca98304f2efb17368b57af1a4bb3fc772c026f474
PYTHON3_PYELFTOOLS_LICENSE = Public domain
PYTHON3_PYELFTOOLS_LICENSE_FILES = LICENSE
PYTHON3_PYELFTOOLS_SETUP_TYPE = setuptools
HOST_PYTHON3_PYELFTOOLS_DL_SUBDIR = python-pyelftools
HOST_PYTHON3_PYELFTOOLS_NEEDS_HOST_PYTHON = python3
$(eval $(host-python-package))