From 3fd475e1d5a05d1d8fd1d5dafa547f407748a64c Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Fri, 31 May 2013 17:08:26 +0900 Subject: [PATCH 1/2] add stackless-*-dev --- plugins/python-build/share/python-build/stackless-2.7-dev | 3 +++ plugins/python-build/share/python-build/stackless-3.2-dev | 3 +++ plugins/python-build/share/python-build/stackless-3.3-dev | 3 +++ plugins/python-build/share/python-build/stackless-dev | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 plugins/python-build/share/python-build/stackless-2.7-dev create mode 100644 plugins/python-build/share/python-build/stackless-3.2-dev create mode 100644 plugins/python-build/share/python-build/stackless-3.3-dev create mode 100644 plugins/python-build/share/python-build/stackless-dev diff --git a/plugins/python-build/share/python-build/stackless-2.7-dev b/plugins/python-build/share/python-build/stackless-2.7-dev new file mode 100644 index 00000000..13beec99 --- /dev/null +++ b/plugins/python-build/share/python-build/stackless-2.7-dev @@ -0,0 +1,3 @@ +install_hg "stackless-2.7-dev" "http://hg.python.org/stackless" "2.7-slp" standard verify_py27 +install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python +install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python diff --git a/plugins/python-build/share/python-build/stackless-3.2-dev b/plugins/python-build/share/python-build/stackless-3.2-dev new file mode 100644 index 00000000..10f0c1b0 --- /dev/null +++ b/plugins/python-build/share/python-build/stackless-3.2-dev @@ -0,0 +1,3 @@ +install_hg "stackless-3.2-dev" "http://hg.python.org/stackless" "3.2-slp" standard verify_py32 +install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python +install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python diff --git a/plugins/python-build/share/python-build/stackless-3.3-dev b/plugins/python-build/share/python-build/stackless-3.3-dev new file mode 100644 index 00000000..60547399 --- /dev/null +++ b/plugins/python-build/share/python-build/stackless-3.3-dev @@ -0,0 +1,3 @@ +install_hg "stackless-3.3-dev" "http://hg.python.org/stackless" "3.3-slp" standard verify_py33 +install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python +install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python diff --git a/plugins/python-build/share/python-build/stackless-dev b/plugins/python-build/share/python-build/stackless-dev new file mode 100644 index 00000000..7d5a3d2d --- /dev/null +++ b/plugins/python-build/share/python-build/stackless-dev @@ -0,0 +1,3 @@ +install_hg "stackless-dev" "http://hg.python.org/stackless" "default" standard verify_py33 +install_package "distribute-0.6.43" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.43.tar.gz#a216a46dc9bec5835fa3c6041f1c77c2" python +install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python From d94c1d2143fc12eee70235326ab6bdc4a87023cf Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Fri, 31 May 2013 17:38:18 +0900 Subject: [PATCH 2/2] 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