aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Pijanowski <maciej.pijanowski@3mdeb.com>2019-10-22 16:18:32 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-10-22 22:59:26 -0400
commit9f7db21e622401a50641f524978d543e9b893492 (patch)
treed670f2ebb413cc9d1431d648284c3db42a9d399f
parent0ecb3966b03298a42955304f818c372445217227 (diff)
downloadmeta-cloud-services-9f7db21e622401a50641f524978d543e9b893492.tar.gz
meta-cloud-services-9f7db21e622401a50641f524978d543e9b893492.tar.bz2
meta-cloud-services-9f7db21e622401a50641f524978d543e9b893492.zip
python-oauth2client: add python3 version
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-oauth2client.inc18
-rw-r--r--meta-openstack/recipes-devtools/python/python-oauth2client_4.1.2.bb20
-rw-r--r--meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb2
3 files changed, 22 insertions, 18 deletions
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 0000000..d91fc46
--- /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 db0452f..5622422 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 0000000..9650800
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-oauth2client.inc