All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-humanize: Upgrade 0.5.1 -> 2.4.0
@ 2020-06-01 13:53 Leon Anavi
  2020-06-02  3:53 ` [oe] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Anavi @ 2020-06-01 13:53 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 2.4.0 and consolidate into a single file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../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

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 b/meta-python/recipes-devtools/python/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
+++ /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 b/meta-python/recipes-devtools/python/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
@@ -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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-humanize: Upgrade 0.5.1 -> 2.4.0
  2020-06-01 13:53 [meta-python][PATCH] python3-humanize: Upgrade 0.5.1 -> 2.4.0 Leon Anavi
@ 2020-06-02  3:53 ` Khem Raj
  2020-06-02 10:39   ` Leon Anavi
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-06-02  3:53 UTC (permalink / raw)
  To: Leon Anavi; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2833 bytes --]

Did the license checksum
Change ? If so perhaps document it in commit

On Mon, Jun 1, 2020 at 6:53 AM Leon Anavi <leon.anavi@konsulko.com> wrote:

> Upgrade to release 2.4.0 and consolidate into a single file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
>  .../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
>
> 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
> b/meta-python/recipes-devtools/python/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
> +++ /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
> b/meta-python/recipes-devtools/python/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
> @@ -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
>
> 
>

[-- Attachment #2: Type: text/html, Size: 4489 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-humanize: Upgrade 0.5.1 -> 2.4.0
  2020-06-02  3:53 ` [oe] " Khem Raj
@ 2020-06-02 10:39   ` Leon Anavi
  0 siblings, 0 replies; 3+ messages in thread
From: Leon Anavi @ 2020-06-02 10:39 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4278 bytes --]

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

On 2.06.20 г. 6:53 ч., Khem Raj wrote:
> Did the license checksum
> Change ? If so perhaps document it in commit
>
> On Mon, Jun 1, 2020 at 6:53 AM Leon Anavi <leon.anavi@konsulko.com 
> <mailto:leon.anavi@konsulko.com>> wrote:
>
>     Upgrade to release 2.4.0 and consolidate into a single file.
>
>     Signed-off-by: Leon Anavi <leon.anavi@konsulko.com
>     <mailto:leon.anavi@konsulko.com>>
>     ---
>      .../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
>
>     
>
-- 
Leon Anavi
Software Engineer
konsulko.com


[-- Attachment #2: Type: text/html, Size: 7549 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-02 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 13:53 [meta-python][PATCH] python3-humanize: Upgrade 0.5.1 -> 2.4.0 Leon Anavi
2020-06-02  3:53 ` [oe] " Khem Raj
2020-06-02 10:39   ` Leon Anavi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.