Skip to contentSkip to conversation

python3-ruamel-yaml: Upgrade 0.17.9 -> 0.17.10

PATCH In review Leon Anavi 2 participants 7 messages Jun 25, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/6 python3-ruamel-yaml: Upgrade 0.17.9 -> 0.17.10

Upgrade to release 0.17.10:

- Bug fix: token with old comment structure != two elements

---
 ...ruamel-yaml_0.17.9.bb => python3-ruamel-yaml_0.17.10.bb} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-ruamel-yaml_0.17.9.bb => python3-ruamel-yaml_0.17.10.bb} (74%)
meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.10.bb renamed from meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.9.bb +4 -2
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.9.bb
rename to meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.10.bb
index 30306410da..3414ed097b 100644
@@ -8,9 +8,11 @@ PYPI_PACKAGE = "ruamel.yaml"
 
 inherit pypi setuptools3
 
-BBCLASSEXTEND = "native nativesdk"
+SRC_URI[sha256sum] = "106bc8d6dc6a0ff7c9196a47570432036f41d556b779c6b4e618085f57e39e67"
 
-SRC_URI[sha256sum] = "374373b4743aee9f6d9f40bea600fe020a7ac7ae36b838b4a6a93f72b584a14c"
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-shell \
+"
 
 do_install_prepend() {
     export RUAMEL_NO_PIP_INSTALL_CHECK=1
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/6 python3-httplib2: Fix runtime dependencies

Add python3-compression, python3-netclient and python3-pyparsing as runtime dependencies.

---
 .../recipes-devtools/python/python3-httplib2_0.19.1.bb      | 6 ++++++
 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb +6 -0
index a16f8d9d20..122b4bd8b7 100644
@@ -7,3 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=56e5e931172b6164b62dc7c4aba6c8cf"
 SRC_URI[sha256sum] = "0b12617eeca7433d4c396a100eaecfa4b08ee99aa881e6df6e257a7aad5d533d"
 
 inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-compression \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-pyparsing \
+"
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/6 python3-google-api-core: Add recipe

In reply to Leon Anavi

Add Google API client core library.

---
 .../python/python3-google-api-core_1.30.0.bb  | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb
meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb new file +26 -0
new file mode 100644
index 0000000000..08cc35d064
@@ -0,0 +1,26 @@
+DESCRIPTION = "Google API client core library"
+HOMEPAGE = "https://github.com/googleapis/python-api-core"
+AUTHOR = "Google LLC"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "0724d354d394b3d763bc10dfee05807813c5210f0bd9b8e2ddf6b6925603411c"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-asyncio \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-math \
+"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-googleapis-common-protos \
+    ${PYTHON_PN}-google-auth \
+    ${PYTHON_PN}-grpcio \
+    ${PYTHON_PN}-protobuf \
+    ${PYTHON_PN}-pytz \
+    ${PYTHON_PN}-requests \
+    ${PYTHON_PN}-six \
+"
Signature · 1 line
2.17.1
#3 lore raw

Re: [oe] [meta-python][PATCH 3/6] python3-google-api-core: Add recipe

please send a follow up to add them to meta-python test packagegroup as well.

Quoted 45 lines · Leon Anavi

Add Google API client core library.

---
  .../python/python3-google-api-core_1.30.0.bb  | 26 +++++++++++++++++++
  1 file changed, 26 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb

meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb new file +26 -0
new file mode 100644
index 0000000000..08cc35d064
@@ -0,0 +1,26 @@
+DESCRIPTION = "Google API client core library"
+HOMEPAGE = "https://github.com/googleapis/python-api-core"
+AUTHOR = "Google LLC"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "0724d354d394b3d763bc10dfee05807813c5210f0bd9b8e2ddf6b6925603411c"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-asyncio \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-math \
+"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-googleapis-common-protos \
+    ${PYTHON_PN}-google-auth \
+    ${PYTHON_PN}-grpcio \
+    ${PYTHON_PN}-protobuf \
+    ${PYTHON_PN}-pytz \
+    ${PYTHON_PN}-requests \
+    ${PYTHON_PN}-six \
+"
author
#4 lore raw

PATCH 4/6 python3-google-auth: Add recipe

In reply to Leon Anavi

Add Google Authentication Library.

---
 .../python/python3-google-auth_1.32.0.bb      | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-google-auth_1.32.0.bb
meta-python/recipes-devtools/python/python3-google-auth_1.32.0.bb new file +27 -0
new file mode 100644
index 0000000000..d492bbbcb7
@@ -0,0 +1,27 @@
+DESCRIPTION = "Google Authentication Library"
+HOMEPAGE = "https://github.com/googleapis/google-auth-library-python"
+AUTHOR = "Google Cloud Platform"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "e34e5f5de5610b202f9b40ebd9f8b27571d5c5537db9afed3a72b2db5a345039"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-asyncio \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-numbers \
+"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-aiohttp \
+    ${PYTHON_PN}-cachetools \
+    ${PYTHON_PN}-pyasn1-modules \
+    ${PYTHON_PN}-rsa \
+    ${PYTHON_PN}-six \
+"
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 5/6 python3-googleapis-common-protos: Add recipe

In reply to Leon Anavi

Add common protobufs used in Google APIs.

---
 .../python3-googleapis-common-protos_1.53.0.bb     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.53.0.bb
meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.53.0.bb new file +14 -0
new file mode 100644
index 0000000000..2c59ae86d2
@@ -0,0 +1,14 @@
+DESCRIPTION = "Common protobufs used in Google APIs"
+HOMEPAGE = "https://github.com/googleapis/python-api-common-protos"
+AUTHOR = "Google LLC"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-grpcio \
+    ${PYTHON_PN}-protobuf \
+"
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH 6/6 python3-google-api-python-client: Upgrade 2.6.0 -> 2.10.0

In reply to Leon Anavi

Upgrade to release 2.10.0:

analyticsadmin: update the api
androidmanagement: update the api
bigqueryreservation: update the api
dialogflow: update the api
firebaserules: update the api
iap: update the api
keep: update the api
managedidentities: update the api

---
 ...python3-google-api-python-client_2.10.0.bb | 20 +++++++++++++++++++
 .../python3-google-api-python-client_2.6.0.bb |  9 ---------
 2 files changed, 20 insertions(+), 9 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-google-api-python-client_2.10.0.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-google-api-python-client_2.6.0.bb
meta-python/recipes-devtools/python/python3-google-api-python-client_2.10.0.bb new file +20 -0
new file mode 100644
index 0000000000..b406f677d8
@@ -0,0 +1,20 @@
+SUMMARY = "The Google API Client for Python is a client library for accessing the Plus, \
+Moderator, and many other Google APIs."
+HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
+
+SRC_URI[sha256sum] = "58424d263344625dcf4dc08e7639a6714737102ab4ae83e5f043e3db08d9965f"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-httplib2 \
+    ${PYTHON_PN}-uritemplate \
+    ${PYTHON_PN}-google-api-core \
+"
meta-python/recipes-devtools/python/python3-google-api-python-client_2.6.0.bb deleted +0 -9
deleted file mode 100644
index c6ae6e8475..0000000000
@@ -1,9 +0,0 @@
-SUMMARY = "The Google API Client for Python is a client library for accessing the Plus, \
-Moderator, and many other Google APIs."
-HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3"
-
-SRC_URI[sha256sum] = "6a87f324334247bf7ba24406da586424b09e715d04336fb7cf45a402b80d38e8"
-
-inherit pypi setuptools3
Signature · 1 line
2.17.1