diff mbox series

[meta-python,1/2] python3-rich: add recipe

Message ID 20230308135705.796596-1-yi.zhao@windriver.com
State Under Review
Headers show
Series [meta-python,1/2] python3-rich: add recipe | expand

Commit Message

Yi Zhao March 8, 2023, 1:57 p.m. UTC
Rich is a Python library for rich text and beautiful formatting in the
terminal.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../python-rich/python3-rich_13.3.2.bb              | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb

Comments

Tim Orling March 8, 2023, 6:59 p.m. UTC | #1
On Wed, Mar 8, 2023 at 5:57 AM Yi Zhao <yi.zhao@eng.windriver.com> wrote:

> Rich is a Python library for rich text and beautiful formatting in the
> terminal.
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> ---
>  .../python-rich/python3-rich_13.3.2.bb              | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-python/recipes-extended/python-rich/
> python3-rich_13.3.2.bb
>
> diff --git a/meta-python/recipes-extended/python-rich/
> python3-rich_13.3.2.bb b/meta-python/recipes-extended/python-rich/
> python3-rich_13.3.2.bb
> new file mode 100644
> index 000000000..b3a458ab8
> --- /dev/null
> +++ b/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
> @@ -0,0 +1,13 @@
> +SUMMARY = "Rich is a Python library for rich text and beautiful
> formatting in the terminal"
> +DESCRIPTION = "The Rich API makes it easy to add color and style to
> terminal output. \
> +Rich can also render pretty tables, progress bars, markdown, syntax
> highlighted source code, \
> +tracebacks, and more."
> +HOMEPAGE="https://github.com/Textualize/rich"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303"
> +
> +SRC_URI[sha256sum] =
> "91954fe80cfb7985727a467ca98a7618e5dd15178cc2da10f553b36a93859001"
> +
> +inherit pypi setuptools3
>

This should instead inherit python_poetry_core, since it has a proper
pyproject.toml
https://github.com/Textualize/rich/blob/master/pyproject.toml#L49

Also, please double check whether it needs any RDEPENDS.


> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#101424):
> https://lists.openembedded.org/g/openembedded-devel/message/101424
> Mute This Topic: https://lists.openembedded.org/mt/97472578/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Yi Zhao March 9, 2023, 1:28 a.m. UTC | #2
On 3/9/23 02:59, Tim Orling wrote:
>
>
> On Wed, Mar 8, 2023 at 5:57 AM Yi Zhao <yi.zhao@eng.windriver.com> wrote:
>
>     Rich is a Python library for rich text and beautiful formatting in the
>     terminal.
>
>     Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
>     ---
>      .../python-rich/python3-rich_13.3.2.bb
>     <https://urldefense.com/v3/__http://python3-rich_13.3.2.bb__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l6Lx_0-Ew$>
>                 | 13 +++++++++++++
>      1 file changed, 13 insertions(+)
>      create mode 100644
>     meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
>     <https://urldefense.com/v3/__http://python3-rich_13.3.2.bb__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l6Lx_0-Ew$>
>
>     diff --git
>     a/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
>     <https://urldefense.com/v3/__http://python3-rich_13.3.2.bb__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l6Lx_0-Ew$>
>     b/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
>     <https://urldefense.com/v3/__http://python3-rich_13.3.2.bb__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l6Lx_0-Ew$>
>     new file mode 100644
>     index 000000000..b3a458ab8
>     --- /dev/null
>     +++
>     b/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
>     <https://urldefense.com/v3/__http://python3-rich_13.3.2.bb__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l6Lx_0-Ew$>
>     @@ -0,0 +1,13 @@
>     +SUMMARY = "Rich is a Python library for rich text and beautiful
>     formatting in the terminal"
>     +DESCRIPTION = "The Rich API makes it easy to add color and style
>     to terminal output. \
>     +Rich can also render pretty tables, progress bars, markdown,
>     syntax highlighted source code, \
>     +tracebacks, and more."
>     +HOMEPAGE="https://github.com/Textualize/rich
>     <https://urldefense.com/v3/__https://github.com/Textualize/rich__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l5H96Hp3w$>"
>     +SECTION = "devel/python"
>     +LICENSE = "MIT"
>     +
>     +LIC_FILES_CHKSUM =
>     "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303"
>     +
>     +SRC_URI[sha256sum] =
>     "91954fe80cfb7985727a467ca98a7618e5dd15178cc2da10f553b36a93859001"
>     +
>     +inherit pypi setuptools3
>
>
> This should instead inherit python_poetry_core, since it has a proper 
> pyproject.toml
> https://github.com/Textualize/rich/blob/master/pyproject.toml#L49 
> <https://urldefense.com/v3/__https://github.com/Textualize/rich/blob/master/pyproject.toml*L49__;Iw!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l6vd0-Waw$>
>
> Also, please double check whether it needs any RDEPENDS.


Thanks. I will check this.


//Yi


>     -- 
>     2.25.1
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#101424):
>     https://lists.openembedded.org/g/openembedded-devel/message/101424
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/101424__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l7zyq4Lnw$>
>     Mute This Topic: https://lists.openembedded.org/mt/97472578/924729
>     <https://urldefense.com/v3/__https://lists.openembedded.org/mt/97472578/924729__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l5puEaR1Q$>
>     Group Owner: openembedded-devel+owner@lists.openembedded.org
>     <mailto:openembedded-devel%2Bowner@lists.openembedded.org>
>     Unsubscribe:
>     https://lists.openembedded.org/g/openembedded-devel/unsub
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!e8_Wo5LG5fpvw4ff3zhjHEbs4hRtcd2-e78YBs-lSshKsidmY4bIa0HbK4Ehx9rkUZAH5uYUSsZ23l7UVm9-9A$>
>     [ticotimo@gmail.com]
>     -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb b/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
new file mode 100644
index 000000000..b3a458ab8
--- /dev/null
+++ b/meta-python/recipes-extended/python-rich/python3-rich_13.3.2.bb
@@ -0,0 +1,13 @@ 
+SUMMARY = "Rich is a Python library for rich text and beautiful formatting in the terminal"
+DESCRIPTION = "The Rich API makes it easy to add color and style to terminal output. \
+Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, \
+tracebacks, and more."
+HOMEPAGE="https://github.com/Textualize/rich"
+SECTION = "devel/python"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303"
+
+SRC_URI[sha256sum] = "91954fe80cfb7985727a467ca98a7618e5dd15178cc2da10f553b36a93859001"
+
+inherit pypi setuptools3