diff options
Diffstat (limited to 'vars/python3.vars')
-rw-r--r-- | vars/python3.vars | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/vars/python3.vars b/vars/python3.vars index 3c3fb58f..da82bfcd 100644 --- a/vars/python3.vars +++ b/vars/python3.vars @@ -2,17 +2,10 @@ # set -o errexit -o noglob are assumed. # -pkg_python3_configure_pre() { - (ex_rtl_fileop cd "../${PKG_SUBDIR}" && autoconf); - (unset AR BLDSHARED CC CFLAGS CPPFLAGS CXX LDFLAGS RANLIB; - ex_rtl_fileop mv config.cache "../${PKG_SUBDIR}/config.cache"; - "../${PKG_SUBDIR}/configure"; - make _FIP=Programs/host_freeze_importlib Programs/host_freeze_importlib \ - BUILDPYTHON=hostpython hostpython \ - PGEN=Parser/hostpgen Parser/hostpgen; - make distclean); - ex_rtl_fileop mv "../${PKG_SUBDIR}/config.cache" .; - ex_rtl_fileop rm "../${PKG_SUBDIR}/Modules/zlib"; +pkg_python3_fetch_git() { + ex_rtl_fileop rm "${PKG_BASE_DIR}/sbpython3"; + ex_rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"; + ex_pkg_state_set "${PKG_NAME}" fetch -extract; }; # vim:filetype=sh |