From d94c1d2143fc12eee70235326ab6bdc4a87023cf Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Fri, 31 May 2013 17:38:18 +0900 Subject: [PATCH] add jython-*-dev --- plugins/python-build/bin/python-build | 5 +++++ plugins/python-build/share/python-build/jython-2.5-dev | 6 ++++++ plugins/python-build/share/python-build/jython-dev | 6 ++++++ 3 files changed, 17 insertions(+) create mode 100644 plugins/python-build/share/python-build/jython-2.5-dev create mode 100644 plugins/python-build/share/python-build/jython-dev diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 0cdaf3be..7e0820dd 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -574,6 +574,11 @@ build_package_jython() { } >&4 2>&1 } +build_package_jython_builder() { + ant >&4 2>&1 + ( cd "dist" && build_package_jython ) +} + build_package_pypy() { build_package_copy { if [ -x "${PREFIX_PATH}/bin/pypy" ] && [ ! -x "${PREFIX_PATH}/bin/python" ]; then diff --git a/plugins/python-build/share/python-build/jython-2.5-dev b/plugins/python-build/share/python-build/jython-2.5-dev new file mode 100644 index 00000000..51862de3 --- /dev/null +++ b/plugins/python-build/share/python-build/jython-2.5-dev @@ -0,0 +1,6 @@ +require_java +install_hg "jython-2.5-dev" "http://hg.python.org/jython" "2.5" jython_builder +install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python +# pip (>= 1.3) does not work properly since it uses HTTPS for downloads +# * https://github.com/yyuu/pyenv/issues/15 +install_package "pip-1.2.1" "http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python diff --git a/plugins/python-build/share/python-build/jython-dev b/plugins/python-build/share/python-build/jython-dev new file mode 100644 index 00000000..09618cd1 --- /dev/null +++ b/plugins/python-build/share/python-build/jython-dev @@ -0,0 +1,6 @@ +require_java +install_hg "jython-dev" "http://hg.python.org/jython" "default" jython_builder +install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python +# pip (>= 1.3) does not work properly since it uses HTTPS for downloads +# * https://github.com/yyuu/pyenv/issues/15 +install_package "pip-1.2.1" "http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python