Skip to contentSkip to conversation

python3-icecream: add recipe

PATCH In review alperak 2 participants 3 messages Mar 6, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 python3-icecream: add recipe

icecream (ic) package offers a more concise and readable way to debug code by replacing print statements with simple function calls.

---
 .../python/python3-icecream_2.1.3.bb            | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb
meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb new file +17 -0
new file mode 100644
index 000000000..ec3a4b90f
@@ -0,0 +1,17 @@
+SUMMARY = "Never use print() to debug again; inspect variables, expressions, and program execution with a single, simple function call."
+HOMEPAGE = "https://github.com/gruns/icecream"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eca5ce1610d64ed40920efdce85ff8d1"
+
+SRC_URI[sha256sum] = "0aa4a7c3374ec36153a1d08f81e3080e83d8ac1eefd97d2f4fe9544e8f9b49de"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+        python3-asttokens \
+        python3-colorama \
+        python3-executing \
+        python3-numbers \
+        python3-pygments \
+        python3-pprint \
+"
Signature · 1 line
2.25.1
#1 lore raw

Are there any unit tests with this new package ?

Quoted 44 lines · Alper Ak

icecream (ic) package offers a more concise and readable way to debug code by replacing print statements with simple function calls.

---
 .../python/python3-icecream_2.1.3.bb            | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb
meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb new file +17 -1
new file mode 100644
index 000000000..ec3a4b90f
@@ -0,0 +1,17 @@
+SUMMARY = "Never use print() to debug again; inspect variables, expressions, and program execution with a single, simple function call."
+HOMEPAGE = "https://github.com/gruns/icecream"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eca5ce1610d64ed40920efdce85ff8d1"
+
+SRC_URI[sha256sum] = "0aa4a7c3374ec36153a1d08f81e3080e83d8ac1eefd97d2f4fe9544e8f9b49de"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+        python3-asttokens \
+        python3-colorama \
+        python3-executing \
+        python3-numbers \
+        python3-pygments \
+        python3-pprint \
+"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109174): https://lists.openembedded.org/g/openembedded-devel/message/109174
Mute This Topic: https://lists.openembedded.org/mt/104770329/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw

There is but when I tried to test it, I encountered deprecated things being used. For example, new assert function name is required for Python 3.12 compat.

Khem Raj <[email protected]>, 6 Mar 2024 Çar, 20:19 tarihinde şunu yazdı:

Quoted 57 lines

Are there any unit tests with this new package ?

Quoted 2 lines · Alper Ak

icecream (ic) package offers a more concise and readable way to debug

code by replacing print statements with simple function calls.

Quoted 6 lines
---
 .../python/python3-icecream_2.1.3.bb            | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-icecream_2.1.3.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

python3-icecream_2.1.3.bb b/meta-python/recipes-devtools/python/ python3-icecream_2.1.3.bb

meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb line 1

Quoted 6 lines

new file mode 100644
index 000000000..ec3a4b90f

meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb new file +1 -0
@@ -0,0 +1,17 @@
+SUMMARY = "Never use print() to debug again; inspect variables,

expressions, and program execution with a single, simple function call."

meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb new file +3 -0
+HOMEPAGE = "https://github.com/gruns/icecream"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=eca5ce1610d64ed40920efdce85ff8d1"

meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb line 6

Quoted 2 lines
meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb new file +2 -0
+
+SRC_URI[sha256sum] =

"0aa4a7c3374ec36153a1d08f81e3080e83d8ac1eefd97d2f4fe9544e8f9b49de"

Quoted 15 lines
meta-python/recipes-devtools/python/python3-icecream_2.1.3.bb new file +11 -1
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+        python3-asttokens \
+        python3-colorama \
+        python3-executing \
+        python3-numbers \
+        python3-pygments \
+        python3-pprint \
+"
--

2.25.1

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109174):

https://lists.openembedded.org/g/openembedded-devel/message/109174

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/104770329/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-