Skip to content

Commit

Permalink
Merge pull request #20630 from branfosj/20240524121755_new_pr_Python3123
Browse files Browse the repository at this point in the history
explicitly disable building of _tkinter stdlib module for Python 3.12
  • Loading branch information
SebastianAchilles committed May 24, 2024
2 parents 68d1908 + 660805a commit 2fd02ee
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ toolchainopts = {'pic': True}

source_urls = ['https://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
checksums = ['a6b9459f45a6ebbbc1af44f5762623fa355a0c87208ed417628b379d762dddb0']
patches = ['Python-3.12.3_avoid-tkinter-build.patch']
checksums = [
{'Python-3.12.3.tgz': 'a6b9459f45a6ebbbc1af44f5762623fa355a0c87208ed417628b379d762dddb0'},
{'Python-3.12.3_avoid-tkinter-build.patch': '34fa44ca67fc08d41c58db2e289317f12f32777a352a982dca2e63459fc089e3'},
]

builddependencies = [
('UnZip', '6.0'),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Explicitly disable building of _tkinter module
Simon Branford (University of Birmingham)
--- configure.orig 2024-05-24 11:09:00.888859445 +0100
+++ configure 2024-05-24 11:52:11.840124559 +0100
@@ -30585,11 +30585,11 @@
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _tkinter" >&5
printf %s "checking for stdlib extension module _tkinter... " >&6; }
if test "$py_cv_module__tkinter" != "n/a"
then :

- if true
+ if false
then :
if test "$have_tcltk" = "yes"
then :
py_cv_module__tkinter=yes
else $as_nop

0 comments on commit 2fd02ee

Please sign in to comment.