Skip to contentSkip to conversation

recipes-devtools/python3-gspread: interface for google spreadsheet

PATCH Superseded Daniil Klimuk 2 participants 3 messages Aug 16, 2023

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes-devtools/python3-gspread: interface for google spreadsheet

Author: Daniil Klimuk <[email protected]>
Date:   Mon Aug 14 15:46:40 2023 +0200

    recipes-devtools/python3-gspread: interface for google spreadsheet

    Simple interface for working with Google Sheets.

meta-python/recipes-devtools/python3-gspread/python3-gspread_5.10.0.bb new file +15 -0
new file mode 100644
index 000000000000..e13e452353cd
@@ -0,0 +1,15 @@
+SUMMARY = "Google Spreadsheets Python API"
+HOMEPAGE = "https://github.com/burnash/gspread"
+AUTHOR = "Anton Burnashev <[email protected]>"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f"
+
+SRC_URI = "https://files.pythonhosted.org/packages/b4/4f/033ebf34778745061b67b104ef212ed5b05fa65a530f345f88c4355fdcc3/gspread-5.10.0.tar.gz"
+SRC_URI[md5sum] = "f21198e80a50d0e6d557d9fea6a79e8e"
+SRC_URI[sha256sum] = "2b6bba6dc111580170346a9bcd1893e0e8c52f67a9e537caec7b7a1e27c14435"
+
+S = "${WORKDIR}/gspread-5.10.0"
+
+RDEPENDS:${PN} = "python3-requests"
+
+inherit python_poetry_core
#1 lore raw
Quoted 32 lines · Danik
Author: Daniil Klimuk <[email protected]>
Date:   Mon Aug 14 15:46:40 2023 +0200

recipes-devtools/python3-gspread: interface for google spreadsheet

Simple interface for working with Google Sheets.

diff --git a/meta-python/recipes-devtools/python3-gspread/python3-gspread_5.10.0.bb b/meta-python/recipes-devtools/python3-gspread/python3-gspread_5.10.0.bb new file mode 100644
index 000000000000..e13e452353cd

meta-python/recipes-devtools/python3-gspread/ new file +0 -0

python3-gspread_5.10.0.bb

meta-python/recipes-devtools/python3-gspread/ new file +5 -0
@@ -0,0 +1,15 @@
+SUMMARY = "Google Spreadsheets Python API"
+HOMEPAGE = "https://github.com/burnash/gspread"
+AUTHOR = "Anton Burnashev <[email protected]>"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f"

meta-python/recipes-devtools/python3-gspread/ new file +2 -0
+
+SRC_URI =

"
https://files.pythonhosted.org/packages/b4/4f/033ebf34778745061b67b104ef212ed5b05fa65a530f345f88c4355fdcc3/gspread-5.10.0.tar.gz
"

meta-python/recipes-devtools/python3-gspread/ new file +2 -0
+SRC_URI[md5sum] = "f21198e80a50d0e6d557d9fea6a79e8e"
+SRC_URI[sha256sum] =

"2b6bba6dc111580170346a9bcd1893e0e8c52f67a9e537caec7b7a1e27c14435"

meta-python/recipes-devtools/python3-gspread/

Quoted 2 lines
meta-python/recipes-devtools/python3-gspread/ new file +2 -0
+
+S = "${WORKDIR}/gspread-5.10.0"

Use PV instead of hardcoding 5.10.0 here

Quoted 17 lines
meta-python/recipes-devtools/python3-gspread/ new file +4 -1
+
+RDEPENDS:${PN} = "python3-requests"
+
+inherit python_poetry_core
 
 
-=-=-=-=-=-=-=-=-=-=-=-

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

#2 lore raw
In reply to Daniil Klimuk
Quoted 4 lines · Danik

Author: Daniil Klimuk <[email protected]>
Date:   Mon Aug 14 15:46:40 2023 +0200

    recipes-devtools/python3-gspread: interface for google spreadsheet

Subject should be

recipe: Short summary

Description of patch

Signed-off-by:

This link here [1] is handy to learn about submitting patches to OE

Quoted 12 lines

    Simple interface for working with Google Sheets.

(quoted diff) +0 -0
new file mode 100644
index 000000000000..e13e452353cd

b/meta-python/recipes-devtools/python3-gspread/python3-gspread_5.10.0.bb

meta-python/recipes-devtools/python3-gspread/python3-gspread_5.10.0.bb line 3

Quoted 3 lines
meta-python/recipes-devtools/python3-gspread/python3-gspread_5.10.0.bb new file +3 -0
@@ -0,0 +1,15 @@
+SUMMARY = "Google Spreadsheets Python API"
+HOMEPAGE = "https://github.com/burnash/gspread"
+AUTHOR = "Anton Burnashev <[email protected]>"

Drop AUTHOR field, we do not use it anymore

Quoted 7 lines
(quoted diff) +2 -0
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 

"file://LICENSE.txt;md5=9488e21983675fa56dc05af558b83e2f"

(quoted diff) +2 -0
+
+SRC_URI = 

"https://files.pythonhosted.org/packages/b4/4f/033ebf34778745061b67b104ef212ed5b05fa65a530f345f88c4355fdcc3/gspread-5.10.0.tar.gz" +SRC_URI[md5sum] = "f21198e80a50d0e6d557d9fea6a79e8e"

drop dm5sum, its deprecated.

Review

Quoted 4 lines

+SRC_URI[sha256sum] = "2b6bba6dc111580170346a9bcd1893e0e8c52f67a9e537caec7b7a1e27c14435"

(quoted diff) +2 -0
+
+S = "${WORKDIR}/gspread-5.10.0"

use PV instead of 5.10.0 here

Quoted 1 line

+

[1] https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded