mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:52:45 +00:00 
			
		
		
		
	Ports/python3: Update Python to 3.11.0
This now requires `--host` and `--with-build-python` to be passed to the configure script when cross compiling; the former we simply do like in many other package.sh scripts as well, the latter we point to `python3`, which is expected to match the port's version anyway.
This commit is contained in:
		
							parent
							
								
									35ec636b5d
								
							
						
					
					
						commit
						edf3aee4df
					
				
					 9 changed files with 28 additions and 28 deletions
				
			
		|  | @ -17,10 +17,10 @@ Make some tweaks to Python's `setup.py`: | |||
|  1 file changed, 8 insertions(+), 3 deletions(-) | ||||
| 
 | ||||
| diff --git a/setup.py b/setup.py
 | ||||
| index e74a275..acd7b05 100644
 | ||||
| index 15d0d4576a4772e9920ac2d7c1a9dee75c29b341..e651ac7627e8b796f8b9b4d60f592bc9261b6540 100644
 | ||||
| --- a/setup.py
 | ||||
| +++ b/setup.py
 | ||||
| @@ -848,8 +848,8 @@ class PyBuildExt(build_ext):
 | ||||
| @@ -868,8 +868,8 @@ class PyBuildExt(build_ext):
 | ||||
|              add_dir_to_list(self.compiler.include_dirs, | ||||
|                              sysconfig.get_config_var("INCLUDEDIR")) | ||||
|   | ||||
|  | @ -31,7 +31,7 @@ index e74a275..acd7b05 100644 | |||
|          # lib_dirs and inc_dirs are used to search for files; | ||||
|          # if a file is found in one of those directories, it can | ||||
|          # be assumed that no additional -I,-L directives are needed. | ||||
| @@ -1160,7 +1160,12 @@ class PyBuildExt(build_ext):
 | ||||
| @@ -1117,7 +1117,12 @@ class PyBuildExt(build_ext):
 | ||||
|          # Curses support, requiring the System V version of curses, often | ||||
|          # provided by the ncurses library. | ||||
|          curses_defines = [] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh