From 0a19b2fa02e61486ad1abbc8fb2e0472c04357e4 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Fri, 15 Apr 2016 08:53:47 +0100 Subject: [PATCH] Add Jython 2.7.1 beta3 --- .../python-build/share/python-build/jython-2.7.1b3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/python-build/share/python-build/jython-2.7.1b3 diff --git a/plugins/python-build/share/python-build/jython-2.7.1b3 b/plugins/python-build/share/python-build/jython-2.7.1b3 new file mode 100644 index 00000000..c13abbcd --- /dev/null +++ b/plugins/python-build/share/python-build/jython-2.7.1b3 @@ -0,0 +1,13 @@ +require_java +install_jar "jython-2.7.1b3" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1b3/jython-installer-2.7.1b3.jar#5c6c7dc372a131dbc2b29b95407c69a4ebab22c1823d9098b7f993444f3090c5" jython + +case "$(pypy_architecture 2>/dev/null || true)" in +"osx64"|"win32" ) + # Jython does not seem to work properly on OSX/windows unless JAVA_HOME is set + if [ -z "${JAVA_HOME+defined}" ]; then + colorize 1 "WARNING: " + echo "Please ensure that your JAVA_HOME environment variable is set correctly!" + echo "See http://bugs.jython.org/issue2346 for details." + fi + ;; +esac