[33/35] newt: Update to python-3.10

Message ID 20220124161656.71960-33-adolf.belka@ipfire.org
State Accepted
Commit b6109c849aff9c4a8ef3511ec38de711ad689ec1
Headers
Series [01/35] python3: Update to version 3.10.1 |

Commit Message

Adolf Belka Jan. 24, 2022, 4:16 p.m. UTC
  - Update of configure option in lfs
- Update of rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/newt | 4 ++--
 lfs/newt                     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
  

Comments

Peter Müller Jan. 28, 2022, 1:04 p.m. UTC | #1
Note to self: Ship this one as well in the Core Update featuring Python 3.10 ...

Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update of configure option in lfs
> - Update of rootfile
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/newt | 4 ++--
>  lfs/newt                     | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/config/rootfiles/common/newt b/config/rootfiles/common/newt
> index 554388aff..39c90521f 100644
> --- a/config/rootfiles/common/newt
> +++ b/config/rootfiles/common/newt
> @@ -5,8 +5,8 @@ usr/bin/whiptail
>  usr/lib/libnewt.so.0.52
>  usr/lib/libnewt.so.0.52.21
>  #usr/lib/pkgconfig/libnewt.pc
> -#usr/lib/python3.8/site-packages/_snack.so
> -#usr/lib/python3.8/site-packages/snack.py
> +#usr/lib/python3.10/site-packages/_snack.so
> +#usr/lib/python3.10/site-packages/snack.py
>  #usr/share/locale/ar
>  #usr/share/locale/ar/LC_MESSAGES
>  #usr/share/locale/ar/LC_MESSAGES/newt.mo
> diff --git a/lfs/newt b/lfs/newt
> index ca24b21b2..22bed3b20 100644
> --- a/lfs/newt
> +++ b/lfs/newt
> @@ -74,7 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>  			--prefix=/usr 		\
>  			--without-gpm-support 	\
>  			--without-tcl 		\
> -			--with-python=python3.8
> +			--with-python=python3.10
>  	cd $(DIR_APP) && make $(MAKETUNING)
>  	cd $(DIR_APP) && make install
>  	@rm -rf $(DIR_APP)
  

Patch

diff --git a/config/rootfiles/common/newt b/config/rootfiles/common/newt
index 554388aff..39c90521f 100644
--- a/config/rootfiles/common/newt
+++ b/config/rootfiles/common/newt
@@ -5,8 +5,8 @@  usr/bin/whiptail
 usr/lib/libnewt.so.0.52
 usr/lib/libnewt.so.0.52.21
 #usr/lib/pkgconfig/libnewt.pc
-#usr/lib/python3.8/site-packages/_snack.so
-#usr/lib/python3.8/site-packages/snack.py
+#usr/lib/python3.10/site-packages/_snack.so
+#usr/lib/python3.10/site-packages/snack.py
 #usr/share/locale/ar
 #usr/share/locale/ar/LC_MESSAGES
 #usr/share/locale/ar/LC_MESSAGES/newt.mo
diff --git a/lfs/newt b/lfs/newt
index ca24b21b2..22bed3b20 100644
--- a/lfs/newt
+++ b/lfs/newt
@@ -74,7 +74,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 			--prefix=/usr 		\
 			--without-gpm-support 	\
 			--without-tcl 		\
-			--with-python=python3.8
+			--with-python=python3.10
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)