diff options
author | midipix <writeonce@midipix.org> | 2018-12-10 10:31:15 -0500 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-12-10 18:04:32 +0000 |
commit | 3c533440816df8484bcad2f9b2db9c2b68d95819 (patch) | |
tree | d21249170b483ac8aeb682e49447b2399a091249 /vars/python2_host.vars | |
parent | cff33edcaf5274f5f1abc9c48b3b0a79a3740827 (diff) | |
download | midipix_build-3c533440816df8484bcad2f9b2db9c2b68d95819.tar.bz2 midipix_build-3c533440816df8484bcad2f9b2db9c2b68d95819.tar.xz |
python2_host: use sbpython2 to cleanly build the local dependency python2.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'vars/python2_host.vars')
-rw-r--r-- | vars/python2_host.vars | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vars/python2_host.vars b/vars/python2_host.vars index 6bdfa9e1..58efff95 100644 --- a/vars/python2_host.vars +++ b/vars/python2_host.vars @@ -2,8 +2,10 @@ # set -o errexit -o noglob are assumed. # -pkg_python2_host_clean() { - return 0; +pkg_python2_host_fetch_git() { + ex_rtl_fileop rm "${PKG_BASE_DIR}/sbpython2"; + ex_rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"; + ex_pkg_state_set "${PKG_NAME}" fetch -extract; }; pkg_python2_host_install_make_post() { |