Skip to contentSkip to conversation

1/2] recipes-devtools/python3-oauth2client/python3-oauth2client_4.1.2.bb: recipe added

PATCH Superseded Ewa Kujawska 2 participants 3 messages Aug 16, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1/2] recipes-devtools/python3-oauth2client/python3-oauth2client_4.1.2.bb: recipe added

---
 .../python3-oauth2client/python3-oauth2client_4.1.2.bb          | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-oauth2client/python3-oauth2client_4.1.2.bb
meta-python/recipes-devtools/python3-oauth2client/python3-oauth2client_4.1.2.bb new file +2 -0
new file mode 100644
index 000000000000..96508007b2f3
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-oauth2client.inc
Signature · 1 line
2.41.0
#1 lore raw

PATCH 1/1 2/2] recipes-devtools/python3-oauth2client/python3-oauth2client.inc: OAuth 2.0 client library added

---
 .../python-oauth2client.inc                    | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc
meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc new file +18 -0
new file mode 100644
index 000000000000..40a960e2d2c1
@@ -0,0 +1,18 @@
+DESCRIPTION = "OAuth 2.0 client library"
+AUTHOR = "Google Inc."
+HOMEPAGE = "http://github.com/google/oauth2client/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc"
+
+inherit pypi
+
+SRC_URI[md5sum] = "bc30976cd1e859cd6199264a50c5ba72"
+SRC_URI[sha256sum] = "bd3062c06f8b10c6ef7a890b22c2740e5f87d61b6e1f4b1c90d069cdfc9dadb5"
+
+RDEPENDS:${PN} += " \
+        ${PYTHON_PN}-httplib2 \
+        ${PYTHON_PN}-pyasn1 \
+        ${PYTHON_PN}-pyasn1-modules \
+        ${PYTHON_PN}-rsa \
+        ${PYTHON_PN}-six \
+        "
Signature · 1 line
2.41.0
#2 lore raw

Re: [oe] [[meta-python][PATCH] 2/2] recipes-devtools/python3-oauth2client/python3-oauth2client.inc: OAuth 2.0 client library added

subject and description of patch can be made inline with recommendations in

https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

Quoted 2 lines · Ewa Kujawska
---
  .../python-oauth2client.inc                    | 18 ++++++++++++++++++

is there a reason for this to be put into a .inc file, usually its done when more than 1 recipe can share exact same code. Otherwise merge it into the previous patch

meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc line 2

Quoted 11 lines
  1 file changed, 18 insertions(+)

create mode 100644 meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc

meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc new file +2 -0
new file mode 100644
index 000000000000..40a960e2d2c1
@@ -0,0 +1,18 @@
+DESCRIPTION = "OAuth 2.0 client library"
+AUTHOR = "Google Inc."

drop it

meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc line 9

Quoted 7 lines
meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc new file +7 -0
+HOMEPAGE = "http://github.com/google/oauth2client/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=038e1390e94fe637991fa5569daa62bc"
+
+inherit pypi
+
+SRC_URI[md5sum] = "bc30976cd1e859cd6199264a50c5ba72"

Drop this too.

Quoted 20 lines
meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc new file +9 -1
+SRC_URI[sha256sum] = "bd3062c06f8b10c6ef7a890b22c2740e5f87d61b6e1f4b1c90d069cdfc9dadb5"
+
+RDEPENDS:${PN} += " \
+        ${PYTHON_PN}-httplib2 \
+        ${PYTHON_PN}-pyasn1 \
+        ${PYTHON_PN}-pyasn1-modules \
+        ${PYTHON_PN}-rsa \
+        ${PYTHON_PN}-six \
+        "
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

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