summaryrefslogtreecommitdiffhomepage
path: root/vars/build.vars
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-18 21:14:18 -0500
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-12-19 12:03:29 +0000
commit856fc72d7fb862c40a963f9e899df684d0aa1a21 (patch)
treeae28fb0e1a5b2d82fdd29b52cc0bd0e07cd7c862 /vars/build.vars
parent205f8b2c45b89accdecd2315290dbdda4f62db7e (diff)
downloadmidipix_build-856fc72d7fb862c40a963f9e899df684d0aa1a21.tar.bz2
midipix_build-856fc72d7fb862c40a963f9e899df684d0aa1a21.tar.xz
native python3: build using sbpython3 (external build project for Python-3.x).
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'vars/build.vars')
-rw-r--r--vars/build.vars13
1 files changed, 8 insertions, 5 deletions
diff --git a/vars/build.vars b/vars/build.vars
index bfbcf9f9..730152d8 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1140,11 +1140,14 @@ bdwgc bison chicken cparser diffutils flex lunix m4 make mandoc patch patchutils
: ${PKG_PYTHON2_BUILD_DIR:=build/python2};
: ${PKG_PYTHON2_CONFIGURE:=build/sbpython2/configure};
: ${PKG_PYTHON2_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_PYTHON3_SHA256SUM:=687e067d9f391da645423c7eda8205bae9d35edc0c76ef5218dcbe4cc770d0d7};
-: ${PKG_PYTHON3_VERSION:=3.5.1};
-: ${PKG_PYTHON3_URL:=https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tgz};
-: ${PKG_PYTHON3_CONFIGURE_ARGS:="--build=x86_64 -C --enable-ipv6 --enable-shared --host=${DEFAULT_TARGET} --prefix=${PREFIX_NATIVE} --with-system-expat --with-system-ffi --without-ensurepip"};
-: ${PKG_PYTHON3_ENV_VARS_EXTRA:="BLDSHARED=${DEFAULT_TARGET}-gcc -shared -mout-dsolib --sysroot=${PREFIX_NATIVE}:CC=${DEFAULT_TARGET}-gcc:CFLAGS=--sysroot=${PREFIX_NATIVE}:CPPFLAGS=--sysroot=${PREFIX_NATIVE}:LDFLAGS=-L${PREFIX_NATIVE}/lib"}:
+: ${PKG_PYTHON3_SHA256SUM:=ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91};
+: ${PKG_PYTHON3_VERSION:=3.6.3};
+: ${PKG_PYTHON3_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tgz"};
+: ${PKG_PYTHON3_URLS_GIT:="sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"};
+: ${PKG_PYTHON3_BASE_DIR:=${BUILD_WORKDIR}/python3-native-${DEFAULT_TARGET}};
+: ${PKG_PYTHON3_BUILD_DIR:=build/python3};
+: ${PKG_PYTHON3_CONFIGURE:=build/sbpython3/configure};
+: ${PKG_PYTHON3_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
: ${PKG_PYTHON3_INSTALL_FILES:="@python3=bin/python"};
: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
: ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};