diff options
author | Ricardo Salveti <ricardo@foundries.io> | 2018-07-25 23:30:45 -0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-07-27 07:19:15 -0700 |
commit | ddcbc714c6b77219927cb9cb1ab0bea5986cb373 (patch) | |
tree | 8e731d9d9885c1450005891779a2a3543cfedc72 /meta-python/recipes-devtools | |
parent | 70f1e5f668efe202692d45d63356e233aa5f2dc7 (diff) | |
download | meta-openembedded-ddcbc714c6b77219927cb9cb1ab0bea5986cb373.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.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
-rw-r--r-- | meta-python/recipes-devtools/python/python-idna.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-idna.inc b/meta-python/recipes-devtools/python/python-idna.inc index d6d8d92ba..519812ddc 100644 --- a/meta-python/recipes-devtools/python/python-idna.inc +++ b/meta-python/recipes-devtools/python/python-idna.inc | |||
@@ -10,4 +10,9 @@ RDEPENDS_${PN}_class-target = "\ | |||
10 | ${PYTHON_PN}-codecs \ | 10 | ${PYTHON_PN}-codecs \ |
11 | " | 11 | " |
12 | 12 | ||
13 | # Remove bundled egg-info | ||
14 | do_compile_prepend() { | ||
15 | rm -rf ${S}/idna.egg-info | ||
16 | } | ||
17 | |||
13 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |