summaryrefslogtreecommitdiffhomepage
path: root/vars/python2.vars
blob: 59691f394d831018d457e51d3cd28e7c058e9b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_python2_fetch_download() {
	if ! pkg_fetch_download\
	|| ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython2"\
	|| ! rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"\
	|| ! ex_pkg_state_set "${PKG_NAME}" "fetch_download" "-fetch_extract"; then
		return 1;
	fi;
};

pkg_python2_minipix_fetch_download() {
	pkg_python2_fetch_download "${@}";
};

# vim:filetype=sh textwidth=0