Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: <changqing.li@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: [meta-networking][PATCH 1/6] waf-samba: switch to python3
Date: Fri, 28 Jun 2019 09:48:05 +0800	[thread overview]
Message-ID: <1561686490-12445-2-git-send-email-changqing.li@windriver.com> (raw)
In-Reply-To: <1561686490-12445-1-git-send-email-changqing.li@windriver.com>

From: Changqing Li <changqing.li@windriver.com>

refer this link:
https://github.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314#diff-ddc0f7d4ad007f8ee36297b5887dcd24

waf will support python3 by default, so switch to python3

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta-networking/classes/waf-samba.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass
index 1632c3c..9c32952 100644
--- a/meta-networking/classes/waf-samba.bbclass
+++ b/meta-networking/classes/waf-samba.bbclass
@@ -1,9 +1,9 @@
 # waf is a build system which is used by samba related project.
 # Obtain details from https://wiki.samba.org/index.php/Waf
 #
-inherit qemu pythonnative
+inherit qemu python3native
 
-DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python"
+DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3"
 
 CONFIGUREOPTS = " --prefix=${prefix} \
                   --bindir=${bindir} \
@@ -111,7 +111,7 @@ do_configure() {
 
 do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
 do_compile () {
-    python ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)}
+    python3 ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)}
 }
 
 do_install() {
-- 
2.7.4



  reply	other threads:[~2019-06-28  1:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-28  1:48 [PATCH 0/6] Upgrade 5 packages build with waf changqing.li
2019-06-28  1:48 ` changqing.li [this message]
2019-06-28  1:48 ` [meta-networking][PATCH 2/6] libldb: upgrade 1.4.1 -> 1.6.3 changqing.li
2019-06-28  1:48 ` [meta-networking][PATCH 3/6] libtevent: upgrade 0.9.37 -> 0.10.0 changqing.li
2019-06-28  1:48 ` [meta-networking][PATCH 4/6] libtdb: upgrade 1.3.17 -> 1.4.0 changqing.li
2019-06-28  1:48 ` [meta-networking][PATCH 5/6] libtalloc: upgrade 2.1.14 -> 2.2.0 changqing.li
2019-06-28  1:48 ` [meta-networking][PATCH 6/6] samba: upgrade 4.8.12 -> 4.10.5 changqing.li
2019-06-28  9:43 ` [PATCH 0/6] Upgrade 5 packages build with waf Adrian Bunk
2019-07-01  2:29   ` Changqing Li

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=1561686490-12445-2-git-send-email-changqing.li@windriver.com \
    --to=changqing.li@windriver.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox