All of lore.kernel.org
 help / color / mirror / Atom feed
From: <mingli.yu@windriver.com>
To: <bruce.ashfield@gmail.com>, <meta-virtualization@yoctoproject.org>
Subject: [meta-openstack][PATCH v2 2/3] layer.conf: set PREFERRED_VERSION for python-networkx
Date: Thu, 11 Oct 2018 11:50:18 +0800	[thread overview]
Message-ID: <1539229819-322989-2-git-send-email-mingli.yu@windriver.com> (raw)
In-Reply-To: <1539229819-322989-1-git-send-email-mingli.yu@windriver.com>

From: Mingli Yu <Mingli.Yu@windriver.com>

Only set PREFERRED_VERSION for python-networkx
when the openstack distro is enabled

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
 meta-openstack/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-openstack/conf/layer.conf b/meta-openstack/conf/layer.conf
index f322bcd..598e157 100644
--- a/meta-openstack/conf/layer.conf
+++ b/meta-openstack/conf/layer.conf
@@ -32,7 +32,7 @@ PREFERRED_VERSION_python-sqlalchemy = "1.0.16"
 PREFERRED_VERSION_python-eventlet = "0.20.0"
 PREFERRED_VERSION_python-warlock = "1.2.0"
 PREFERRED_VERSION_python-jsonschema = "2.6.0"
-PREFERRED_VERSION_python-networkx = "1.11"
+PREFERRED_VERSION_python-networkx = "${@bb.utils.contains('DISTRO_FEATURES', 'openstack', '1.11', '', d)}"
 PREFERRED_VERSION_python-oslo.i18n = "3.17.0+gitAUTOINC+f2729cd36f"
 
 # Sanity check for meta-openstack layer.
-- 
2.7.4



  reply	other threads:[~2018-10-11  3:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11  3:50 [meta-openstack][PATCH 1/3] sanity-meta-openstack.bbclass: add class for bbappend files checking mingli.yu
2018-10-11  3:50 ` mingli.yu [this message]
2018-10-11 18:47   ` [meta-openstack][PATCH v2 2/3] layer.conf: set PREFERRED_VERSION for python-networkx Bruce Ashfield
2018-10-11  3:50 ` [meta-openstack][PATCH 3/3] postgresql: make append version independent mingli.yu
2018-10-11 18:47   ` Bruce Ashfield
2018-10-11 18:47 ` [meta-openstack][PATCH 1/3] sanity-meta-openstack.bbclass: add class for bbappend files checking Bruce Ashfield
2018-10-12  7:07   ` Yu, Mingli

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=1539229819-322989-2-git-send-email-mingli.yu@windriver.com \
    --to=mingli.yu@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@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.