diff options
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 00000000..d91fc463 --- /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 db0452fe..5622422c 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 00000000..96508007 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-oauth2client_4.1.2.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-oauth2client.inc |