Commit 0d5c967a authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

component/python3: fix compilation of python3.12

parent 3ec53860
...@@ -30,8 +30,6 @@ executable = @@LOCATION@@/bin/${:_buildout_section_name_} ...@@ -30,8 +30,6 @@ executable = @@LOCATION@@/bin/${:_buildout_section_name_}
url = url =
https://www.python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tar.xz https://www.python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tar.xz
pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py
configure-options = configure-options =
--enable-ipv6 --enable-ipv6
--enable-loadable-sqlite-extensions --enable-loadable-sqlite-extensions
...@@ -57,30 +55,40 @@ environment = ...@@ -57,30 +55,40 @@ environment =
version = 3.7 version = 3.7
package_version = 3.7.17 package_version = 3.7.17
md5sum = dd94cab4541b57b88cf3dab32d6336e3 md5sum = dd94cab4541b57b88cf3dab32d6336e3
pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py
[python3.8] [python3.8]
<= python3-common <= python3-common
version = 3.8 version = 3.8
package_version = 3.8.20 package_version = 3.8.20
md5sum = 745478c81d6382cf46b5e7ad89e56008 md5sum = 745478c81d6382cf46b5e7ad89e56008
pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py
[python3.9] [python3.9]
<= python3-common <= python3-common
version = 3.9 version = 3.9
package_version = 3.9.20 package_version = 3.9.20
md5sum = bdcda0fdb99e7e17018f6886fae5e1fd md5sum = bdcda0fdb99e7e17018f6886fae5e1fd
pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py
[python3.10] [python3.10]
<= python3-common <= python3-common
version = 3.10 version = 3.10
package_version = 3.10.15 package_version = 3.10.15
md5sum = 8b1faa1b193e4e90c0f17eb2decd89b5 md5sum = 8b1faa1b193e4e90c0f17eb2decd89b5
pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py
[python3.11] [python3.11]
<= python3-common <= python3-common
version = 3.11 version = 3.11
package_version = 3.11.10 package_version = 3.11.10
md5sum = af59e243df4c7019f941ae51891c10bc md5sum = af59e243df4c7019f941ae51891c10bc
pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py
[python3.12] [python3.12]
<= python3-common <= python3-common
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment