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.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ricardo Salveti
2018-07-25 23:30:45 -03:00
committed by Khem Raj
parent 70f1e5f668
commit ddcbc714c6

View File

@@ -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"