[oe-commits] [meta-openembedded] 36/71: python-idna: remove bundled egg-info from source

git at git.openembedded.org git at git.openembedded.org
Sun Jul 29 15:54:00 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit ddcbc714c6b77219927cb9cb1ab0bea5986cb373
Author: Ricardo Salveti <ricardo at foundries.io>
AuthorDate: Wed Jul 25 23:30:45 2018 -0300

    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 at foundries.io>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python-idna.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-idna.inc b/meta-python/recipes-devtools/python/python-idna.inc
index d6d8d92..519812d 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 = "\
     ${PYTHON_PN}-codecs \
 "
 
+# Remove bundled egg-info
+do_compile_prepend() {
+    rm -rf ${S}/idna.egg-info
+}
+
 BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list