Skip to contentSkip to conversation

python3-idna: upgrade 2.9 -> 2.10

PATCH In review Wang Mingyu 2 participants 4 messages Jul 9, 2020 – Jul 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-idna: upgrade 2.9 -> 2.10

Main new features of idna release 2.10:
- Update to Unicode 13.0.0.
- Throws a more specific exception if "xn--" is provided as a label.
- This is expected to be the last version that supports Python 2. See here for a full comparison:
https://github.com/kjd/idna/commit/e5c11dbcd8dd32bb048b4dbdd344b49d18ecdf45

---
 meta-python/recipes-devtools/python/python-idna.inc           | 4 ++--
 .../python/{python3-idna_2.9.bb => python3-idna_2.10.bb}      | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-idna_2.9.bb => python3-idna_2.10.bb} (100%)
meta-python/recipes-devtools/python/python-idna.inc +2 -2
index adf26e0279..4968f10726 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=cf36c8682cc154d2d4aa57bd6246b9a1"
 
-SRC_URI[md5sum] = "870b8b80267f00f0faf1b7ba4bdbf14e"
-SRC_URI[sha256sum] = "7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb"
+SRC_URI[md5sum] = "7a910c706db30d758f377db2762c0f9a"
+SRC_URI[sha256sum] = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"
 
 RDEPENDS_${PN}_class-target = "\
     ${PYTHON_PN}-codecs \
meta-python/recipes-devtools/python/python3-idna_2.10.bb renamed from meta-python/recipes-devtools/python/python3-idna_2.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-idna_2.9.bb
rename to meta-python/recipes-devtools/python/python3-idna_2.10.bb
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 python3-pytz: upgrade 2019.3 -> 2020.1

-License-Update: Copyright year updated to 2019.

---
 .../{python3-pytz_2019.3.bb => python3-pytz_2020.1.bb}    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pytz_2019.3.bb => python3-pytz_2020.1.bb} (70%)
meta-python/recipes-devtools/python/python3-pytz_2020.1.bb renamed from meta-python/recipes-devtools/python/python3-pytz_2019.3.bb +4 -4
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
rename to meta-python/recipes-devtools/python/python3-pytz_2020.1.bb
index c28a0148bc..1986263117 100644
@@ -1,12 +1,12 @@
 SUMMARY = "World timezone definitions, modern and historical"
 HOMEPAGE = "http://pythonhosted.org/pytz"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
 
 inherit pypi setuptools3 ptest
 
-SRC_URI[md5sum] = "c3d84a465fc56a4edd52cca8873ac0df"
-SRC_URI[sha256sum] = "b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"
+SRC_URI[md5sum] = "0349106ac02f2bfe565dd6d5594e3a15"
+SRC_URI[sha256sum] = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048"
 
 RDEPENDS_${PN}_class-target += "\
     ${PYTHON_PN}-datetime \
@@ -31,6 +31,6 @@ do_install_ptest() {
 	install -d ${D}${PTEST_PATH}/pytz
 	install -d ${D}${PTEST_PATH}/pytz/tests
 	cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/
-	cp -f ${S}/README.txt ${D}${PTEST_PATH}/
+	cp -f ${S}/README.rst ${D}${PTEST_PATH}/
 
 }
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#2 lore raw

Re: [oe] [meta-python][PATCH] python3-pytz: upgrade 2019.3 -> 2020.1

Quoted 3 lines · Wang Mingyu

-License-Update: Copyright year updated to 2019.

Quoted 38 lines
---
  .../{python3-pytz_2019.3.bb => python3-pytz_2020.1.bb}    | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pytz_2019.3.bb => python3-pytz_2020.1.bb} (70%)

meta-python/recipes-devtools/python/python3-pytz_2020.1.bb renamed from meta-python/recipes-devtools/python/python3-pytz_2019.3.bb +4 -4
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
rename to meta-python/recipes-devtools/python/python3-pytz_2020.1.bb
index c28a0148bc..1986263117 100644
@@ -1,12 +1,12 @@
  SUMMARY = "World timezone definitions, modern and historical"
  HOMEPAGE = "http://pythonhosted.org/pytz"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
 
  inherit pypi setuptools3 ptest
 
-SRC_URI[md5sum] = "c3d84a465fc56a4edd52cca8873ac0df"
-SRC_URI[sha256sum] = "b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"
+SRC_URI[md5sum] = "0349106ac02f2bfe565dd6d5594e3a15"
+SRC_URI[sha256sum] = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048"
 
  RDEPENDS_${PN}_class-target += "\
      ${PYTHON_PN}-datetime \
@@ -31,6 +31,6 @@ do_install_ptest() {
  	install -d ${D}${PTEST_PATH}/pytz
  	install -d ${D}${PTEST_PATH}/pytz/tests
  	cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/
-	cp -f ${S}/README.txt ${D}${PTEST_PATH}/
+	cp -f ${S}/README.rst ${D}${PTEST_PATH}/
 
  }
Acked-by on v1 1/1
#3 lore raw
In reply to Wang Mingyu
Quoted 8 lines · Wang Mingyu

Main new features of idna release 2.10:
- Update to Unicode 13.0.0.
- Throws a more specific exception if "xn--" is provided as a label.
- This is expected to be the last version that supports Python 2. See here for a full comparison:
https://github.com/kjd/idna/commit/e5c11dbcd8dd32bb048b4dbdd344b49d18ecdf45

Quoted 27 lines
---
  meta-python/recipes-devtools/python/python-idna.inc           | 4 ++--
  .../python/{python3-idna_2.9.bb => python3-idna_2.10.bb}      | 0
  2 files changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-idna_2.9.bb => python3-idna_2.10.bb} (100%)

meta-python/recipes-devtools/python/python-idna.inc +2 -2
index adf26e0279..4968f10726 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=cf36c8682cc154d2d4aa57bd6246b9a1"
 
-SRC_URI[md5sum] = "870b8b80267f00f0faf1b7ba4bdbf14e"
-SRC_URI[sha256sum] = "7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb"
+SRC_URI[md5sum] = "7a910c706db30d758f377db2762c0f9a"
+SRC_URI[sha256sum] = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"
 
  RDEPENDS_${PN}_class-target = "\
      ${PYTHON_PN}-codecs \
meta-python/recipes-devtools/python/python3-idna_2.10.bb renamed from meta-python/recipes-devtools/python/python3-idna_2.9.bb +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-idna_2.9.bb
rename to meta-python/recipes-devtools/python/python3-idna_2.10.bb