From 69d5656311905d3d4212dcf4be1a9b703aec76f4 Mon Sep 17 00:00:00 2001 From: "Yamashita, Yuu" Date: Thu, 2 Jun 2016 01:49:10 +0000 Subject: [PATCH] Import functions from ruby-build v20160426-33-g3304f96 I should add EOL warnings to old versions later.... --- plugins/python-build/bin/python-build | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 962ba401..182ac09e 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -680,6 +680,26 @@ package_option() { eval "$variable=( \"\${value[@]}\" )" } +build_package_warn_eol() { + local package_name="$1" + + { echo + echo "WARNING: $package_name is past its end of life and is now unsupported." + echo "It no longer receives bug fixes or critical security updates." + echo + } >&3 +} + +build_package_warn_unsupported() { + local package_name="$1" + + { echo + echo "WARNING: $package_name is nearing its end of life." + echo "It only receives critical security updates, no bug fixes." + echo + } >&3 +} + build_package_standard() { local package_name="$1"