All of lore.kernel.org
 help / color / mirror / Atom feed
* [m-c-s][PATCH] python-oauth2client: add python3 version
@ 2019-10-22 14:18 Maciej Pijanowski
  2019-10-23  3:00 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Maciej Pijanowski @ 2019-10-22 14:18 UTC (permalink / raw)
  To: meta-virtualization; +Cc: piotr.krol

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
---
 .../recipes-devtools/python/python-oauth2client.inc  | 18 ++++++++++++++++++
 .../python/python-oauth2client_4.1.2.bb              | 20 ++------------------
 .../python/python3-oauth2client_4.1.2.bb             |  2 ++
 3 files changed, 22 insertions(+), 18 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-oauth2client.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb

diff --git a/meta-openstack/recipes-devtools/python/python-oauth2client.inc b/meta-openstack/recipes-devtools/python/python-oauth2client.inc
new file mode 100644
index 000000000000..d91fc463a6d1
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/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 \
+        "
diff --git a/meta-openstack/recipes-devtools/python/python-oauth2client_4.1.2.bb b/meta-openstack/recipes-devtools/python/python-oauth2client_4.1.2.bb
index db0452fe4c87..5622422c4c30 100644
--- a/meta-openstack/recipes-devtools/python/python-oauth2client_4.1.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-oauth2client_4.1.2.bb
@@ -1,18 +1,2 @@
-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 setuptools pypi
-
-SRC_URI[md5sum] = "bc30976cd1e859cd6199264a50c5ba72"
-SRC_URI[sha256sum] = "bd3062c06f8b10c6ef7a890b22c2740e5f87d61b6e1f4b1c90d069cdfc9dadb5"
-
-RDEPENDS_${PN} += " \
-        python-httplib2 \
-        python-pyasn1 \
-        python-pyasn1-modules \
-        python-rsa \
-        python-six \
-        "
+inherit setuptools
+require python-oauth2client.inc
diff --git a/meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb b/meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb
new file mode 100644
index 000000000000..96508007b2f3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-oauth2client.inc
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-23  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-22 14:18 [m-c-s][PATCH] python-oauth2client: add python3 version Maciej Pijanowski
2019-10-23  3:00 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.