All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python3-prompt-toolkit1: Add latest 1.0 version
@ 2022-01-12 20:39 esben.haabendal
  2022-01-13  3:22 ` [oe] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: esben.haabendal @ 2022-01-12 20:39 UTC (permalink / raw)
  To: openembedded-devel, esben; +Cc: Leon Anavi, Andrei Gherzan

From: Esben Haabendal <esben.haabendal@huawei.com>

Old major version with different API (than 3.0) for use by recipes that is
still relying on that.

Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
---
 .../python/python3-prompt-toolkit1_1.0.15.bb  | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb

diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
new file mode 100644
index 000000000000..a7a9bcf8c269
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Library for building powerful interactive command lines in Python (version 1.0)"
+HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
+
+SRC_URI[sha256sum] = "858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "prompt_toolkit"
+
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-terminal \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-wcwidth \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1



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

* Re: [oe] [PATCH] python3-prompt-toolkit1: Add latest 1.0 version
  2022-01-12 20:39 [PATCH] python3-prompt-toolkit1: Add latest 1.0 version esben.haabendal
@ 2022-01-13  3:22 ` Khem Raj
  2022-01-17  8:01   ` Esben Haabendal
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2022-01-13  3:22 UTC (permalink / raw)
  To: Esben Haabendal, openembedded-devel; +Cc: Leon Anavi, Andrei Gherzan



On 1/12/22 12:39 PM, Esben Haabendal wrote:
> From: Esben Haabendal <esben.haabendal@huawei.com>
> 
> Old major version with different API (than 3.0) for use by recipes that is
> still relying on that.
> 
> Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
> ---
>   .../python/python3-prompt-toolkit1_1.0.15.bb  | 22 +++++++++++++++++++
>   1 file changed, 22 insertions(+)
>   create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
> 
> diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
> new file mode 100644
> index 000000000000..a7a9bcf8c269
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Library for building powerful interactive command lines in Python (version 1.0)"
> +HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
> +
> +SRC_URI[sha256sum] = "858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917"
> +
> +inherit pypi setuptools3
> +
> +PYPI_PACKAGE = "prompt_toolkit"
> +
> +RDEPENDS:${PN} += " \
> +    ${PYTHON_PN}-core \
> +    ${PYTHON_PN}-six \
> +    ${PYTHON_PN}-terminal \
> +    ${PYTHON_PN}-threading \
> +    ${PYTHON_PN}-wcwidth \
> +    ${PYTHON_PN}-datetime \
> +    ${PYTHON_PN}-shell \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> 
> 

I am not sure if we should add a version which has been deprecated 
upstream and moreover we dont have any other recipes needing this old 
version, 1.0.15 was released in 2017. Perhaps its better to promote 
folks to migrate to 3.x version.

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#94797): https://lists.openembedded.org/g/openembedded-devel/message/94797
> Mute This Topic: https://lists.openembedded.org/mt/88382434/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


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

* Re: [oe] [PATCH] python3-prompt-toolkit1: Add latest 1.0 version
  2022-01-13  3:22 ` [oe] " Khem Raj
@ 2022-01-17  8:01   ` Esben Haabendal
  0 siblings, 0 replies; 3+ messages in thread
From: Esben Haabendal @ 2022-01-17  8:01 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel, Leon Anavi, Andrei Gherzan

"Khem Raj" <raj.khem@gmail.com> writes:

> On 1/12/22 12:39 PM, Esben Haabendal wrote:
>> From: Esben Haabendal <esben.haabendal@huawei.com>
>> Old major version with different API (than 3.0) for use by recipes that is
>> still relying on that.
>> Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
>> ---
>>   .../python/python3-prompt-toolkit1_1.0.15.bb  | 22 +++++++++++++++++++
>>   1 file changed, 22 insertions(+)
>>   create mode 100644
>> meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
>> diff --git
>> a/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
>> b/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
>> new file mode 100644
>> index 000000000000..a7a9bcf8c269
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit1_1.0.15.bb
>> @@ -0,0 +1,22 @@
>> +SUMMARY = "Library for building powerful interactive command lines in
>> Python (version 1.0)"
>> +HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
>> +LICENSE = "BSD-3-Clause"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
>> +
>> +SRC_URI[sha256sum] = "858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917"
>> +
>> +inherit pypi setuptools3
>> +
>> +PYPI_PACKAGE = "prompt_toolkit"
>> +
>> +RDEPENDS:${PN} += " \
>> +    ${PYTHON_PN}-core \
>> +    ${PYTHON_PN}-six \
>> +    ${PYTHON_PN}-terminal \
>> +    ${PYTHON_PN}-threading \
>> +    ${PYTHON_PN}-wcwidth \
>> +    ${PYTHON_PN}-datetime \
>> +    ${PYTHON_PN}-shell \
>> +"
>> +
>> +BBCLASSEXTEND = "native nativesdk"
>> 
>
> I am not sure if we should add a version which has been deprecated upstream
> and moreover we dont have any other recipes needing this old version, 1.0.15
> was released in 2017. Perhaps its better to promote folks to migrate to 3.x
> version.

I am not entirely sure that it is deprecated.  I have not seen any such
declaration from upstream.

Of-course, with latest 1.0 release (1.0.18, sorry about sending a patch
with an outdated version) in October 2019, it could very well seem
deprecated.  But it could also just be in minimal maintenance mode.
Version 1.0.18 seems to work with latest Python version.

Anyway, I am fine keeping this recipe in the layer where I have the
recipe needing it.  I just thought that other people could maybe benefit
from having it readily available.

/Esben


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

end of thread, other threads:[~2022-01-17  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-12 20:39 [PATCH] python3-prompt-toolkit1: Add latest 1.0 version esben.haabendal
2022-01-13  3:22 ` [oe] " Khem Raj
2022-01-17  8:01   ` Esben Haabendal

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.