Commit 6505c2d2 authored by Julien Muchembled's avatar Julien Muchembled

python: enable loadable sqlite extensions

parent b2f934ab
Pipeline #34437 failed with stage
in 0 seconds
...@@ -50,7 +50,10 @@ patches = ${python2.7-lib-patches:patches} ...@@ -50,7 +50,10 @@ patches = ${python2.7-lib-patches:patches}
url = url =
http://www.python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tar.xz http://www.python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tar.xz
pre-configure = pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py sed -i \
-e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" \
-e '/"SQLITE_OMIT_LOAD_EXTENSION"/s/^/#/' \
setup.py
configure-options = configure-options =
--enable-ipv6 --enable-ipv6
--enable-unicode=ucs4 --enable-unicode=ucs4
......
...@@ -34,6 +34,7 @@ pre-configure = ...@@ -34,6 +34,7 @@ pre-configure =
sed -i -e "s/if 'curses' in ln:/if 'curses' in ln.split()[0]:/" setup.py 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
--without-ensurepip --without-ensurepip
--with-system-expat --with-system-expat
--with-system-ffi --with-system-ffi
......
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