diff mbox series

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

Message ID 20230816061437.3303787-2-ewa.kujawska@3mdeb.com
State Under Review
Headers show
Series [[meta-python] 2/2] recipes-devtools/python3-oauth2client/python3-oauth2client.inc: OAuth 2.0 client library added | expand

Commit Message

Ewa Kujawska Aug. 16, 2023, 6:14 a.m. UTC
---
 .../python-oauth2client.inc                    | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc

Comments

Khem Raj Aug. 16, 2023, 4:49 p.m. UTC | #1
subject and description of patch can be made inline with recommendations in

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

On 8/15/23 11:14 PM, Ewa Kujawska wrote:
> ---
>   .../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

>   1 file changed, 18 insertions(+)
>   create mode 100644 meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc
> 
> diff --git a/meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc b/meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc
> new file mode 100644
> index 000000000000..40a960e2d2c1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "OAuth 2.0 client library"
> +AUTHOR = "Google Inc."

drop it

> +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.

> +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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc b/meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc
new file mode 100644
index 000000000000..40a960e2d2c1
--- /dev/null
+++ b/meta-python/recipes-devtools/python3-oauth2client/python-oauth2client.inc
@@ -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 \
+        "