aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@foundries.io>2018-07-25 23:30:45 -0300
committerKhem Raj <raj.khem@gmail.com>2018-07-27 07:19:15 -0700
commitfce7ff454eb5cfcdb21b5b796bcb4ccb44bc647a (patch)
treeb830dc0d3cf6713571bdaac8339d33000db25b8a /recipes-devtools
parentefa20ce34210ebd2f908bb2e9a13c659c827baa7 (diff)
downloadmeta-python2-fce7ff454eb5cfcdb21b5b796bcb4ccb44bc647a.tar.gz
python-idna: remove bundled egg-info from source
Remove bundled egg-info from the source tarball as it will be generated by the build system with the correct permissions during build time. This fixes a permission denied issue when importing pkg_resources as a normal user. (From meta-openembedded commit: ddcbc714c6b77219927cb9cb1ab0bea5986cb373) Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/python/python-idna.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-idna.inc b/recipes-devtools/python/python-idna.inc
index d6d8d92..519812d 100644
--- a/recipes-devtools/python/python-idna.inc
+++ b/recipes-devtools/python/python-idna.inc
@@ -10,4 +10,9 @@ RDEPENDS_${PN}_class-target = "\
${PYTHON_PN}-codecs \
"
+# Remove bundled egg-info
+do_compile_prepend() {
+ rm -rf ${S}/idna.egg-info
+}
+
BBCLASSEXTEND = "native nativesdk"