summaryrefslogtreecommitdiffhomepage
path: root/vars/python2.vars
diff options
context:
space:
mode:
authorØrjan Malde <foxyred333@gmail.com>2018-12-08 16:02:49 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-12-08 19:00:14 +0000
commit4596fb4d859b7d03ad3cf9ea7069e19e118bf9a6 (patch)
tree0912e7e407ddad804362a416dc91ad90038bcd6c /vars/python2.vars
parent040bd241c3e5b7983ddb170ef9e9c57202855231 (diff)
downloadmidipix_build-4596fb4d859b7d03ad3cf9ea7069e19e118bf9a6.tar.bz2
midipix_build-4596fb4d859b7d03ad3cf9ea7069e19e118bf9a6.tar.xz
native python2: build using sbpython2 (external build project for Python-2.7).
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'vars/python2.vars')
-rw-r--r--vars/python2.vars11
1 files changed, 11 insertions, 0 deletions
diff --git a/vars/python2.vars b/vars/python2.vars
new file mode 100644
index 00000000..aee9d6c6
--- /dev/null
+++ b/vars/python2.vars
@@ -0,0 +1,11 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_python2_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;
+};
+
+# vim:filetype=sh