All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCH] python-cliff: Add python3 version
Date: Sun, 15 Sep 2019 00:04:49 -0400	[thread overview]
Message-ID: <20190915040448.GD4367@gmail.com> (raw)
In-Reply-To: <1568255791-42428-1-git-send-email-zhengrq.fnst@cn.fujitsu.com>

merged

Bruce

In message: [meta-virtualization]  [PATCH] python-cliff: Add python3 version
on 12/09/2019 Zheng Ruoqin wrote:

> Providing a python3 version of python-cliff.
> 
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-cliff.inc  | 31 +++++++++++++++++++
>  .../python/python-cliff_2.16.0.bb             | 31 ++-----------------
>  .../python/python3-cliff_2.16.0.bb            |  2 ++
>  3 files changed, 36 insertions(+), 28 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-cliff.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-cliff.inc b/meta-openstack/recipes-devtools/python/python-cliff.inc
> new file mode 100644
> index 0000000..cc66717
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-cliff.inc
> @@ -0,0 +1,31 @@
> +DESCRIPTION = "Command Line Interface Formulation Framework"
> +HOMEPAGE = "https://github.com/dreamhost/cliff"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +
> +SRC_URI[md5sum] = "89e96c6c8c5922832e124ed81c21a55b"
> +SRC_URI[sha256sum] = "622e777b8ac2eb479708fe53893c37b2fd5469ce2c6c5b794a658246f05c6b81"
> +
> +inherit pypi
> +
> +DEPENDS += "\
> +    ${PYTHON_PN}-pbr \
> +    "
> +
> +# Satisfy setup.py 'setup_requires'
> +DEPENDS += " \
> +    ${PYTHON_PN}-pbr-native \
> +    "
> +
> +RDEPENDS_${PN} += " \
> +            ${PYTHON_PN}-cmd2 \
> +            ${PYTHON_PN}-pbr \
> +            ${PYTHON_PN}-pyparsing \
> +            ${PYTHON_PN}-prettytable \
> +            ${PYTHON_PN}-six \
> +            ${PYTHON_PN}-stevedore \
> +            ${PYTHON_PN}-pyyaml \
> +"
> +
> +CLEANBROKEN = "1"
> diff --git a/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb b/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb
> index 0d49f8c..6fadd5b 100644
> --- a/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb
> @@ -1,32 +1,7 @@
> -DESCRIPTION = "Command Line Interface Formulation Framework"
> -HOMEPAGE = "https://github.com/dreamhost/cliff"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> -
> -SRC_URI[md5sum] = "89e96c6c8c5922832e124ed81c21a55b"
> -SRC_URI[sha256sum] = "622e777b8ac2eb479708fe53893c37b2fd5469ce2c6c5b794a658246f05c6b81"
> -
> -inherit setuptools pypi
> -
> -DEPENDS += "\
> -    python-pbr \
> -    "
> -
> -# Satisfy setup.py 'setup_requires'
> -DEPENDS += " \
> -    python-pbr-native \
> -    "
> +inherit setuptools
> +require python-cliff.inc
>  
> +# RDEPENDS only fot python2
>  RDEPENDS_${PN} += " \
> -            python-cmd2 \
> -            python-pbr \
> -            python-pyparsing \
> -            python-prettytable \
> -            python-six \
> -            python-stevedore \
>              python-unicodecsv \
> -            python-pyyaml \
>  "
> -
> -CLEANBROKEN = "1"
> diff --git a/meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb b/meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb
> new file mode 100644
> index 0000000..07923ca
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-cliff.inc
> -- 
> 2.17.1
> 
> 
> 
> -- 
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


      reply	other threads:[~2019-09-15  4:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12  2:36 [PATCH] python-cliff: Add python3 version Zheng Ruoqin
2019-09-15  4:04 ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190915040448.GD4367@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@yoctoproject.org \
    --cc=zhengrq.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.