From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] newt: Update to work with python3
Date: Mon, 10 May 2021 16:40:39 +0200 [thread overview]
Message-ID: <20210510144039.2685956-1-adolf.belka@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]
- Change from building with python2 to python3
- Update of rootfile
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
config/rootfiles/common/newt | 2 --
lfs/newt | 7 +++++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/config/rootfiles/common/newt b/config/rootfiles/common/newt
index 5cc993d51..d07b984b1 100644
--- a/config/rootfiles/common/newt
+++ b/config/rootfiles/common/newt
@@ -5,8 +5,6 @@ usr/bin/whiptail
usr/lib/libnewt.so.0.52
usr/lib/libnewt.so.0.52.21
#usr/lib/pkgconfig/libnewt.pc
-#usr/lib/python2.7/site-packages/_snack.so
-#usr/lib/python2.7/site-packages/snack.py
#usr/lib/python3.8/site-packages/_snack.so
#usr/lib/python3.8/site-packages/snack.py
#usr/share/locale/ar
diff --git a/lfs/newt b/lfs/newt
index d7ba62866..ca24b21b2 100644
--- a/lfs/newt
+++ b/lfs/newt
@@ -70,8 +70,11 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr \
- --without-gpm-support --without-tcl
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --without-gpm-support \
+ --without-tcl \
+ --with-python=python3.8
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
--
2.31.1
reply other threads:[~2021-05-10 14:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210510144039.2685956-1-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.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