From 155012911c82955c7e9b64301cf2d443737f602c Mon Sep 17 00:00:00 2001 From: Josh Friend Date: Tue, 20 Oct 2015 19:47:52 -0400 Subject: [PATCH] Add Jython 2.7.1 beta2 http://fwierzbicki.blogspot.co.uk/2015/10/jython-271-beta2-released.html --- .../python-build/share/python-build/jython-2.7.1b2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 plugins/python-build/share/python-build/jython-2.7.1b2 diff --git a/plugins/python-build/share/python-build/jython-2.7.1b2 b/plugins/python-build/share/python-build/jython-2.7.1b2 new file mode 100644 index 00000000..a47e850f --- /dev/null +++ b/plugins/python-build/share/python-build/jython-2.7.1b2 @@ -0,0 +1,13 @@ +require_java +install_jar "jython-2.7.1b2" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1b2/jython-installer-2.7.1b2.jar#d994500808c8d448baab1f98e043e6a11360cff302f401901e73f0e34c27251a" 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