[meta-virtualization] [m-c-s][PATCH] python-oauth2client: add python3 version
Bruce Ashfield
bruce.ashfield at gmail.com
Tue Oct 22 20:00:14 PDT 2019
merged.
Bruce
In message: [meta-virtualization] [m-c-s][PATCH] python-oauth2client: add python3 version
on 22/10/2019 Maciej Pijanowski wrote:
> Signed-off-by: Maciej Pijanowski <maciej.pijanowski at 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
More information about the meta-virtualization
mailing list