summaryrefslogtreecommitdiffhomepage
path: root/vars/python3.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/python3.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/python3.vars')
-rw-r--r--vars/python3.vars15
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