blob: c816c79593be9dcef4987a929f372a0d7592b594 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
: ${PKG_PYTHON3_DEPENDS:="bzip2 curl expat gdbm libffi libressl libz ncursesw readline sqlite3 util_linux xz"};
: ${PKG_PYTHON3_SHA256SUM:=f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b};
: ${PKG_PYTHON3_VERSION:=3.7.10};
: ${PKG_PYTHON3_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tar.xz"};
: ${PKG_PYTHON3_URLS_GIT:="build/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_CONFIGURE_TYPE:="sofort"};
: ${PKG_PYTHON3_SOFORT_NATIVE_CFLAGS_EXTRA:="-std=c99 -D_XOPEN_SOURCE=700"};
: ${PKG_PYTHON3_INSTALL_FILES_V2:="@python3=bin/python"};
: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
ex_pkg_register "python3" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
# vim:filetype=sh textwidth=0
|