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

Stefan Agner stefan at agner.ch
Tue Jan 29 12:12:41 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/python3-vcversioner_2.16.0.0.bb       | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb b/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
index f6372c8d5..149078c51 100644
--- a/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
@@ -9,12 +9,4 @@ SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa
 
 inherit pypi setuptools3
 
-do_compile_append() {
-    ${PYTHON} setup.py -q bdist_egg --dist-dir ./
-}
-
-do_install_append() {
-    install -m 0644 ${S}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
-}
-
 BBCLASSEXTEND = "native"
-- 
2.13.6



More information about the Openembedded-devel mailing list