All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy MacLeod" <randy.macleod@windriver.com>
To: Chen Qi <Qi.Chen@windriver.com>, <yocto@yoctoproject.org>
Subject: Re: [yocto] [meta-cgl][PATCH] meta-cgl-common: depend on meta-python2 layer
Date: Wed, 23 Sep 2020 11:58:37 -0400	[thread overview]
Message-ID: <3e915e94-4ebf-1100-45d7-f09a7a8f4cdd@windriver.com> (raw)
In-Reply-To: <20200923080109.24229-1-Qi.Chen@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]

On 2020-09-23 4:01 a.m., Chen Qi wrote:
> It requires meta-python2 to be there at the moment.
> More specifically, the crmsh recipe needs python-setuptools-native.

Hi Qi,

Are you sure?
It looks like crmsh moved to python3 a while ago as
indicated below.

If there's still a dependency, please open an issue:

https://github.com/ClusterLabs/crmsh/issues?q=is%3Aissue+is%3Aopen+setuptools

Thanks,

../Randy


$ cd .../crmsh.git

$ git status
HEAD detached at 4.2.0
nothing to commit, working tree clean

$ grep -r setuptools *

contrib/setup.py:from setuptools import setup
crmsh.spec.in:BuildRequires:  python3-setuptools
doc/website-v1/development.adoc:* `setuptools`
Dockerfile:RUN zypper -n --gpg-auto-import-keys ref && zypper -n 
--gpg-auto-import-keys in pacemaker python3 python3-lxml 
python3-python-dateutil python3-parallax libglue-devel 
python3-setuptools python3-tox asciidoc autoconf automake make pkgconfig 
which libxslt-tools mailx procps python3-nose python3-PyYAML 
python3-curses tar
README.md:It then calls the python setuptools setup.py to actually 
process the
setup.py:from setuptools import setup


git log -1 --stat 845af7b9fb7a4c212d2e67b8a44cf655e702edaa
commit 845af7b9fb7a4c212d2e67b8a44cf655e702edaa
Author: Kristoffer Grönlund <krig@koru.se>
Date:   Fri Oct 27 05:47:02 2017

     dev: Updated spec file

  crmsh.spec | 106 
+++++++++++++++++...+++++++++-----------------------------------------
  1 file changed, 65 insertions(+), 41 deletions(-)

$ grep setuptools crmsh.spec.in
BuildRequires:  python3-setuptools


>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   meta-cgl-common/conf/layer.conf | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-cgl-common/conf/layer.conf b/meta-cgl-common/conf/layer.conf
> index 6035b4b..6b689ea 100644
> --- a/meta-cgl-common/conf/layer.conf
> +++ b/meta-cgl-common/conf/layer.conf
> @@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "cgl-common"
>   BBFILE_PATTERN_cgl-common = "^${LAYERDIR}/"
>   BBFILE_PRIORITY_cgl-common = "7"
>   
> -LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux"
> +LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux meta-python2"
>   
>   LAYERSERIES_COMPAT_cgl-common = "warrior zeus dunfell"
>   
>
> 
>

-- 
# Randy MacLeod
# Wind River Linux


[-- Attachment #2: Type: text/html, Size: 3885 bytes --]

  reply	other threads:[~2020-09-23 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23  8:01 [meta-cgl][PATCH] meta-cgl-common: depend on meta-python2 layer Chen Qi
2020-09-23 15:58 ` Randy MacLeod [this message]
2020-09-24  2:51   ` [yocto] " Chen Qi
     [not found] <16375ADE52FE3495.15058@lists.yoctoproject.org>
2020-09-24  2:52 ` Chen Qi

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=3e915e94-4ebf-1100-45d7-f09a7a8f4cdd@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=Qi.Chen@windriver.com \
    --cc=yocto@yoctoproject.org \
    /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.