From 9f7db21e622401a50641f524978d543e9b893492 Mon Sep 17 00:00:00 2001 From: Maciej Pijanowski Date: Tue, 22 Oct 2019 16:18:32 +0200 Subject: python-oauth2client: add python3 version Signed-off-by: Maciej Pijanowski Signed-off-by: Bruce Ashfield --- .../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 (limited to 'meta-openstack/recipes-devtools/python') 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 -- cgit v1.2.3-54-g00ecf