[oe] [PATCH 1/2] python-vcversioner: remove egg generation

Stefan Agner stefan at agner.ch
Tue Jan 29 12:12:40 UTC 2019


From: Stefan Agner <stefan.agner at toradex.com>

Remove egg file build. This got introduced with commit fb1696372ff9
("python-vcversioner: Error Fix for recipes depend on
python-vcversioner"). However, it seems that this was actually not
related to the missing egg file, but to the back then missing depends
on python-vcversioner-native. This got fixed in commit 12d09665bbee
("python-jsonschema, python3-jsonschema: add vcversioner-native
dependency").

It also causes issue when trying to build a reproducible build with a
timestamp of 0 due to limitations of the ZIP file format used by the
Python egg packaging.

Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---
 .../recipes-devtools/python/python-vcversioner_2.16.0.0.bb        | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb b/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb
index cd6fa8dff..e6cc4acce 100644
--- a/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb
+++ b/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb
@@ -9,14 +9,6 @@ SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa
 
 inherit pypi setuptools
 
-do_compile_append() {
-    ${PYTHON} setup.py -q bdist_egg --dist-dir ./
-}
-
-do_install_append() {
-    install -m 0644 ${S}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
-}
-
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-subprocess \
     "
-- 
2.13.6



More information about the Openembedded-devel mailing list