[meta-virtualization] [PATCH] python-paramiko: Add python3 version

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 3 12:55:51 PDT 2019


merged

Bruce

On Fri, Aug 30, 2019 at 2:51 AM Zang Ruochen <zangrc.fnst at cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
> ---
>  meta-openstack/recipes-devtools/python/python-paramiko.inc | 12 ++++++++++++
>  .../recipes-devtools/python/python-paramiko_2.6.0.bb       | 14 ++------------
>  .../recipes-devtools/python/python3-paramiko_2.6.0.bb      |  2 ++
>  3 files changed, 16 insertions(+), 12 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-paramiko.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-paramiko_2.6.0.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-paramiko.inc b/meta-openstack/recipes-devtools/python/python-paramiko.inc
> new file mode 100644
> index 0000000..da47c79
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-paramiko.inc
> @@ -0,0 +1,12 @@
> +DESCRIPTION = "SSH2 protocol library"
> +HOMEPAGE = "https://github.com/paramiko/paramiko/"
> +SECTION = "devel/python"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5"
> +
> +SRC_URI[md5sum] = "f729a45c9122bf975b9177ec5aaa3791"
> +SRC_URI[sha256sum] = "f4b2edfa0d226b70bd4ca31ea7e389325990283da23465d572ed1f70a7583041"
> +
> +inherit pypi
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-pycrypto"
> diff --git a/meta-openstack/recipes-devtools/python/python-paramiko_2.6.0.bb b/meta-openstack/recipes-devtools/python/python-paramiko_2.6.0.bb
> index 2b2c8e8..fedbf86 100644
> --- a/meta-openstack/recipes-devtools/python/python-paramiko_2.6.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-paramiko_2.6.0.bb
> @@ -1,12 +1,2 @@
> -DESCRIPTION = "SSH2 protocol library"
> -HOMEPAGE = "https://github.com/paramiko/paramiko/"
> -SECTION = "devel/python"
> -LICENSE = "LGPLv2.1"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5"
> -
> -SRC_URI[md5sum] = "f729a45c9122bf975b9177ec5aaa3791"
> -SRC_URI[sha256sum] = "f4b2edfa0d226b70bd4ca31ea7e389325990283da23465d572ed1f70a7583041"
> -
> -inherit setuptools pypi
> -
> -RDEPENDS_${PN} += "python-pycrypto"
> +inherit setuptools
> +require python-paramiko.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-paramiko_2.6.0.bb b/meta-openstack/recipes-devtools/python/python3-paramiko_2.6.0.bb
> new file mode 100644
> index 0000000..97e56e1
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-paramiko_2.6.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-paramiko.inc
> --
> 2.7.4
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


More information about the meta-virtualization mailing list