From 72eaf6a0ea7a85749d90f0f051354ebe8574de42 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Sun, 5 Apr 2020 14:39:28 -0400 Subject: [PATCH] python-pyelftools: consolidate inc and bb files into a single bb file Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python-pyelftools.inc | 14 -------------- .../python/python3-pyelftools_0.25.bb | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyelftools.inc diff --git a/meta-python/recipes-devtools/python/python-pyelftools.inc b/meta-python/recipes-devtools/python/python-pyelftools.inc deleted file mode 100644 index 7d4f763ff..000000000 --- a/meta-python/recipes-devtools/python/python-pyelftools.inc +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information" -HOMEPAGE = "https://github.com/eliben/pyelftools" -SECTION = "devel/python" -LICENSE = "PD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" - -SRC_URI[md5sum] = "c5629b9a5d19c82107a946cce52eeec2" -SRC_URI[sha256sum] = "89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24" - -PYPI_PACKAGE = "pyelftools" - -inherit pypi - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-pyelftools_0.25.bb b/meta-python/recipes-devtools/python/python3-pyelftools_0.25.bb index 56eb8c4cd..03d96db3c 100644 --- a/meta-python/recipes-devtools/python/python3-pyelftools_0.25.bb +++ b/meta-python/recipes-devtools/python/python3-pyelftools_0.25.bb @@ -1,2 +1,14 @@ -inherit setuptools3 -require python-pyelftools.inc +DESCRIPTION = "pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information" +HOMEPAGE = "https://github.com/eliben/pyelftools" +SECTION = "devel/python" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" + +SRC_URI[md5sum] = "c5629b9a5d19c82107a946cce52eeec2" +SRC_URI[sha256sum] = "89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24" + +PYPI_PACKAGE = "pyelftools" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native"