python3-humanize: Upgrade 0.5.1 -> 2.4.0
PATCH 1/1 python3-humanize: Upgrade 0.5.1 -> 2.4.0
Upgrade to release 2.4.0 and consolidate into a single file.
--- .../python/python-humanize.inc | 14 ------------- .../python/python3-humanize_0.5.1.bb | 2 -- .../python/python3-humanize_2.4.0.bb | 20 +++++++++++++++++++ 3 files changed, 20 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-humanize.inc delete mode 100644 meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb
meta-python/recipes-devtools/python/python-humanize.inc deleted +0 -14
@@ -1,14 +0,0 @@ -SUMMARY = "Python humanize utilities" -HOMEPAGE = "http://github.com/jmoiron/humanize" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE;md5=d2eff82fc25dd07c919a02465884f02e" - -SRC_URI[md5sum] = "e8473d9dc1b220911cac2edd53b1d973" -SRC_URI[sha256sum] = "a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb deleted +0 -2
@@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-humanize.inc
meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb new file +20 -0
@@ -0,0 +1,20 @@ +SUMMARY = "Python humanize utilities" +HOMEPAGE = "http://github.com/jmoiron/humanize" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" + +SRC_URI[md5sum] = "010e86a4196ed6030112e7bc681e7353" +SRC_URI[sha256sum] = "42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026" + +inherit pypi setuptools3 + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Did the license checksum
Change ? If so perhaps document it in commit
Quoted 78 lines · Leon Anavi
Upgrade to release 2.4.0 and consolidate into a single file.
Signed-off-by Leon Anavi <[email protected]>--- .../python/python-humanize.inc | 14 ------------- .../python/python3-humanize_0.5.1.bb | 2 -- .../python/python3-humanize_2.4.0.bb | 20 +++++++++++++++++++ 3 files changed, 20 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-humanize.inc delete mode 100644 meta-python/recipes-devtools/python/ python3-humanize_0.5.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb
meta-python/recipes-devtools/python/python-humanize.inc deleted +0
-8@@ -1,14 +0,0 @@ -SUMMARY = "Python humanize utilities" -HOMEPAGE = "http://github.com/jmoiron/humanize" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE;md5=d2eff82fc25dd07c919a02465884f02e" - -SRC_URI[md5sum] = "e8473d9dc1b220911cac2edd53b1d973" -SRC_URI[sha256sum] ="
a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19"meta-python/recipes-devtools/python/python-humanize.inc deleted +0
-6- -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -" - -BBCLASSEXTEND = "native nativesdk"meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb deleted +0
-2@@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-humanize.incmeta-python/recipes-devtools/python/python3-humanize_2.4.0.bb new file +8
-0@@ -0,0 +1,20 @@ +SUMMARY = "Python humanize utilities" +HOMEPAGE = "http://github.com/jmoiron/humanize" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" + +SRC_URI[md5sum] = "010e86a4196ed6030112e7bc681e7353" +SRC_URI[sha256sum] ="
42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026"meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb new file +12
-1+ +inherit pypi setuptools3 + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
Hi Khem,
Thank you for the feedback. Following your recommendation I have just updated the commit message and submitted version 3 of the patch (version 2 had a typo - sorry).
The year in file LICENCE of humanize has been recently updated therefore the checksum has been changed but it still remains a MIT License. For details have a look at:
https://github.com/jmoiron/humanize/commit/0acf89e0cfcd81b471e7b8c829e5aa2a6b30ad16
Best regards,
Leon
Quoted 102 lines · Khem Raj
Did the license checksum
Change ? If so perhaps document it in commitOn Mon, Jun 1, 2020 at 6:53 AM Leon Anavi <[email protected] <mailto:[email protected]>> wrote:
Upgrade to release 2.4.0 and consolidate into a single file. Signed-off-by: Leon Anavi <[email protected] <mailto:[email protected]>> --- .../python/python-humanize.inc | 14 ------------- .../python/python3-humanize_0.5.1.bb <http://python3-humanize_0.5.1.bb> | 2 -- .../python/python3-humanize_2.4.0.bb <http://python3-humanize_2.4.0.bb> | 20 +++++++++++++++++++ 3 files changed, 20 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-humanize.inc delete mode 100644 meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb <http://python3-humanize_0.5.1.bb> create mode 100644 meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb <http://python3-humanize_2.4.0.bb> diff --git a/meta-python/recipes-devtools/python/python-humanize.inc b/meta-python/recipes-devtools/python/python-humanize.inc deleted file mode 100644 index 17a3449e7..000000000 --- a/meta-python/recipes-devtools/python/python-humanize.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Python humanize utilities" -HOMEPAGE = "http://github.com/jmoiron/humanize" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE;md5=d2eff82fc25dd07c919a02465884f02e" - -SRC_URI[md5sum] = "e8473d9dc1b220911cac2edd53b1d973" -SRC_URI[sha256sum] = "a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb <http://python3-humanize_0.5.1.bb> b/meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb <http://python3-humanize_0.5.1.bb> deleted file mode 100644 index 04464ac59..000000000 --- a/meta-python/recipes-devtools/python/python3-humanize_0.5.1.bb <http://python3-humanize_0.5.1.bb> +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-humanize.inc diff --git a/meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb <http://python3-humanize_2.4.0.bb> b/meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb <http://python3-humanize_2.4.0.bb> new file mode 100644 index 000000000..6bb6946ff --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb <http://python3-humanize_2.4.0.bb> @@ -0,0 +1,20 @@ +SUMMARY = "Python humanize utilities" +HOMEPAGE = "http://github.com/jmoiron/humanize" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d" + +SRC_URI[md5sum] = "010e86a4196ed6030112e7bc681e7353" +SRC_URI[sha256sum] = "42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026" + +inherit pypi setuptools3 + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ +" + +BBCLASSEXTEND = "native nativesdk" -- 2.17.1
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com