Skip to contentSkip to conversation

python-vcversioner: remove egg generation

PATCH New Stefan Agner 1 participant 2 messages Jan 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-vcversioner: remove egg generation

From: Stefan Agner <[email protected]>

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.

---
 .../recipes-devtools/python/python-vcversioner_2.16.0.0.bb        | 8 --------
 1 file changed, 8 deletions(-)
meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb +0 -8
index cd6fa8dff..e6cc4acce 100644
@@ -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 \
     "
Signature · 1 line
2.13.6
#1 lore raw

PATCH 2/2 python3-vcversioner: remove egg generation

From: Stefan Agner <[email protected]>

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.

---
 .../recipes-devtools/python/python3-vcversioner_2.16.0.0.bb       | 8 --------
 1 file changed, 8 deletions(-)
meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb +0 -8
index f6372c8d5..149078c51 100644
@@ -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"
Signature · 1 line
2.13.6