Skip to contentSkip to conversation

python-idna: Avoid removing '+x' from `.egg-info/` directory

PATCH New Otavio Salvador 1 participant 2 messages Mar 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python-idna: Avoid removing '+x' from `.egg-info/` directory

The chmod was removing the executing bit from the directory and then the native version was failing to build.

---

 meta-python/recipes-devtools/python/python-idna.inc | 4 ----
 1 file changed, 4 deletions(-)
meta-python/recipes-devtools/python/python-idna.inc +0 -4
index 436b58606..519812ddc 100644
@@ -16,7 +16,3 @@ do_compile_prepend() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
-
-do_install_append() {
-    chmod 664 -R ${D}${PYTHON_SITEPACKAGES_DIR}/*.egg-info/
-}
\ No newline at end of file
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/2 python-idna: Upgrade 2.7 -> 2.8

---

 meta-python/recipes-devtools/python/python-idna.inc           | 4 ++--
 .../python/{python-idna_2.7.bb => python-idna_2.8.bb}         | 0
 .../python/{python3-idna_2.7.bb => python3-idna_2.8.bb}       | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-idna_2.7.bb => python-idna_2.8.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-idna_2.7.bb => python3-idna_2.8.bb} (100%)
meta-python/recipes-devtools/python/python-idna.inc +2 -2
index 519812ddc..13b0cdb62 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/kjd/idna"
 LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=782775b32f96098512e283fb5d4546cd"
 
-SRC_URI[md5sum] = "0e5bb69018ddef1b9d95f681182be82c"
-SRC_URI[sha256sum] = "684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
+SRC_URI[md5sum] = "2e9ae0b4a0b26d1747c6127cdb060bc1"
+SRC_URI[sha256sum] = "c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407"
 
 RDEPENDS_${PN}_class-target = "\
     ${PYTHON_PN}-codecs \
meta-python/recipes-devtools/python/python-idna_2.8.bb renamed from meta-python/recipes-devtools/python/python-idna_2.7.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-idna_2.7.bb
rename to meta-python/recipes-devtools/python/python-idna_2.8.bb
meta-python/recipes-devtools/python/python3-idna_2.8.bb renamed from meta-python/recipes-devtools/python/python3-idna_2.7.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-idna_2.7.bb
rename to meta-python/recipes-devtools/python/python3-idna_2.8.bb
Signature · 1 line
2.21.0