From 0b34be07625808976bb62318a2520960fdbc4926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 6 Apr 2021 11:26:29 +0100 Subject: groups/010.host_deps.group:python[23]_host:${PKG_URLS_GIT}: update subdir to build/sbpython[23]. groups/010.host_deps.group:python2_host:${PKG_SUBDIR}: set to Python-${PKG_PYTHON2_HOST_VERSION}. groups/221.native_packages_dev.group:python[23]:${PKG_URLS_GIT}: update subdir to build/sbpython[23]. groups/221.native_packages_dev.group:python2:${PKG_SUBDIR}: set to Python-${PKG_PYTHON2_VERSION}. patches/python2_host-2.7.15.local.patch: split from vars/python2_host.vars. patches/python3_host-3.6.3.local.patch: split from vars/python3_host.vars. vars/python[23]{_host,}.vars: deleted --- vars/python2.vars | 18 ------------------ vars/python2_host.vars | 22 ---------------------- vars/python2_minipix.vars | 1 - vars/python3.vars | 14 -------------- vars/python3_host.vars | 24 ------------------------ 5 files changed, 79 deletions(-) delete mode 100644 vars/python2.vars delete mode 100644 vars/python2_host.vars delete mode 120000 vars/python2_minipix.vars delete mode 100644 vars/python3.vars delete mode 100644 vars/python3_host.vars (limited to 'vars') diff --git a/vars/python2.vars b/vars/python2.vars deleted file mode 100644 index 67a39d09..00000000 --- a/vars/python2.vars +++ /dev/null @@ -1,18 +0,0 @@ -# -# 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 "${BUILD_DLCACHEDIR}/${PKG_NAME}" "${DEFAULT_GIT_ARGS}" "${PKG_BASE_DIR}/build" "${PKG_NAME}" "${PKG_MIRRORS_GIT:-}" "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 diff --git a/vars/python2_host.vars b/vars/python2_host.vars deleted file mode 100644 index 8222aac9..00000000 --- a/vars/python2_host.vars +++ /dev/null @@ -1,22 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_python2_host_fetch_download() { - if ! pkg_fetch_download\ - || ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython2"\ - || ! rtl_fetch_urls_git "${BUILD_DLCACHEDIR}/${PKG_NAME}" "${DEFAULT_GIT_ARGS}" "${PKG_BASE_DIR}/build" "${PKG_NAME}" "${PKG_MIRRORS_GIT:-}" "sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"\ - || ! rtl_fileop cp "../sbpython2/project/config/cfgdefs.sh" "../sbpython2/project/config/cfgdefs.sh.orig"\ - || ! sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']*\)'/mb_ncurses_libs='\1 -ltinfow'/" ../sbpython2/project/config/cfgdefs.sh\ - || ! sed -i"" -e'108a\ -cfgtest_ldflags_append "-L$mb_prefix/lib"' "../sbpython2/project/config/cfgdefs.sh"\ - || ! sed -i"" '/^PYCOMPILE_CFLAGS.*+= -std=c99/a\ -PYCOMPILE_CFLAGS += -I'"${PREFIX}"'/include -' "../sbpython2/project/pycompile.mk"\ - || ! sed -i"" '/^PYEXT_OSSAUDIODEV_SHARED/s/^/#/' ../sbpython2/project/pyexts.mk\ - || ! ex_pkg_state_set "${PKG_NAME}" "fetch_download" "-fetch_extract"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/python2_minipix.vars b/vars/python2_minipix.vars deleted file mode 120000 index 2eb322d5..00000000 --- a/vars/python2_minipix.vars +++ /dev/null @@ -1 +0,0 @@ -python2.vars \ No newline at end of file diff --git a/vars/python3.vars b/vars/python3.vars deleted file mode 100644 index 3e3bd32f..00000000 --- a/vars/python3.vars +++ /dev/null @@ -1,14 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_python3_fetch_download() { - if ! pkg_fetch_download\ - || ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython3"\ - || ! rtl_fetch_urls_git "${BUILD_DLCACHEDIR}/${PKG_NAME}" "${DEFAULT_GIT_ARGS}" "${PKG_BASE_DIR}/build" "${PKG_NAME}" "${PKG_MIRRORS_GIT:-}" "sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"\ - || ! ex_pkg_state_set "${PKG_NAME}" "fetch_download" "-fetch_extract"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 diff --git a/vars/python3_host.vars b/vars/python3_host.vars deleted file mode 100644 index df70b7be..00000000 --- a/vars/python3_host.vars +++ /dev/null @@ -1,24 +0,0 @@ -# -# set +o errexit -o noglob -o nounset is assumed. -# - -pkg_python3_host_fetch_download() { - if ! pkg_fetch_download\ - || ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython3"\ - || ! rtl_fetch_urls_git "${BUILD_DLCACHEDIR}/${PKG_NAME}" "${DEFAULT_GIT_ARGS}" "${PKG_BASE_DIR}/build" "${PKG_NAME}" "${PKG_MIRRORS_GIT:-}" "sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"\ - || ! rtl_fileop cp "../sbpython3/project/config/cfgdefs.sh" "../sbpython3/project/config/cfgdefs.sh.orig"\ - || ! sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']*\)'/mb_ncurses_libs='\1 -ltinfow'/" "../sbpython3/project/config/cfgdefs.sh"\ - || ! sed -i"" -e'108a\ -cfgtest_ldflags_append "-L$mb_prefix/lib"' "../sbpython3/project/config/cfgdefs.sh"\ - || ! sed -i"" '/^PYCOMPILE_CFLAGS.*+= -std=c99/a\ -PYCOMPILE_CFLAGS += -I'"${PREFIX}"'/include -' "../sbpython3/project/pycompile.mk"\ - || ! sed -i"" '/^PYEXT_OSSAUDIODEV_SHARED/s/^/#/' ../sbpython3/project/variants/3.6.3/pyexts.mk\ - || ! sed -i"" '/^PYEXT_OSSAUDIODEV_SHARED/s/^/#/' ../sbpython3/project/variants/3.7.1/pyexts.mk\ - || ! sed -i"" '/^PYEXT_OSSAUDIODEV_SHARED/s/^/#/' ../sbpython3/project/variants/3.7.2/pyexts.mk\ - || ! ex_pkg_state_set "${PKG_NAME}" "fetch_download" "-fetch_extract"; then - return 1; - fi; -}; - -# vim:filetype=sh textwidth=0 -- cgit v1.2.3