|
@ -1,13 +1,13 @@ |
|
|
import 'compile/configure' |
|
|
import 'compile/configure' |
|
|
|
|
|
|
|
|
name=Python |
|
|
name=Python |
|
|
version=3.6.0 |
|
|
version=3.6.1 |
|
|
update_url='https://www.python.org/downloads/' |
|
|
update_url='https://www.python.org/downloads/' |
|
|
|
|
|
|
|
|
define_option '2to3-symlink: Install the 2to3 symlink (it may conflict with python2)' |
|
|
define_option '2to3-symlink: Install the 2to3 symlink (it may conflict with python2)' |
|
|
|
|
|
|
|
|
dlextract "https://www.python.org/ftp/python/$version/$name-$version.tar.xz" \ |
|
|
dlextract "https://www.python.org/ftp/python/$version/$name-$version.tar.xz" \ |
|
|
'82b143ebbf4514d7e05876bed7a6b1f5' |
|
|
'692b4fc3a2ba0d54d1495d4ead5b0b5c' |
|
|
header_end |
|
|
header_end |
|
|
|
|
|
|
|
|
cd "$name-$version" |
|
|
cd "$name-$version" |
|
@ -36,11 +36,11 @@ sed -i -e "/LIBPL=/s/lib/$(safe_sed "$dir_libdir")/" configure |
|
|
|
|
|
|
|
|
compile_configure -- \ |
|
|
compile_configure -- \ |
|
|
--enable-shared \ |
|
|
--enable-shared \ |
|
|
|
|
|
--with-lto \ |
|
|
--with-threads \ |
|
|
--with-threads \ |
|
|
--with-system-expat \ |
|
|
--with-system-expat \ |
|
|
--with-system-ffi \ |
|
|
--with-system-ffi \ |
|
|
--with-system-libmpdec \ |
|
|
--with-system-libmpdec \ |
|
|
--without-ensurepip |
|
|
--without-ensurepip |
|
|
make DESTDIR="$dir_install" maninstall |
|
|
|
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
|
|