From 2856f81bb91be6a2be7994ff43c0dae6d737075a Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Fri, 31 Aug 2012 19:11:29 +0900 Subject: [PATCH] added more pythons --- plugins/python-build/share/python-build/2.5 | 14 +++++++++++ plugins/python-build/share/python-build/2.5.1 | 14 +++++++++++ plugins/python-build/share/python-build/2.5.2 | 14 +++++++++++ plugins/python-build/share/python-build/2.5.3 | 14 +++++++++++ plugins/python-build/share/python-build/2.5.4 | 14 +++++++++++ plugins/python-build/share/python-build/2.5.5 | 14 +++++++++++ plugins/python-build/share/python-build/2.6.6 | 14 +++++++++++ plugins/python-build/share/python-build/2.6.7 | 14 +++++++++++ plugins/python-build/share/python-build/2.7 | 14 +++++++++++ plugins/python-build/share/python-build/2.7.1 | 14 +++++++++++ plugins/python-build/share/python-build/2.7.2 | 4 ++++ plugins/python-build/share/python-build/3.1.3 | 14 +++++++++++ plugins/python-build/share/python-build/3.1.4 | 4 ++++ plugins/python-build/share/python-build/3.2 | 14 +++++++++++ plugins/python-build/share/python-build/3.2.1 | 4 ++++ plugins/python-build/share/python-build/3.2.2 | 4 ++++ .../share/python-build/jython-2.5.0 | 4 ++++ .../share/python-build/jython-2.5.1 | 4 ++++ .../share/python-build/jython-2.5.3 | 4 ++++ .../python-build/share/python-build/pypy-1.8 | 24 +++++++++++++++++++ .../share/python-build/stackless-2.7.2 | 4 ++++ 21 files changed, 224 insertions(+) create mode 100644 plugins/python-build/share/python-build/2.5 create mode 100644 plugins/python-build/share/python-build/2.5.1 create mode 100644 plugins/python-build/share/python-build/2.5.2 create mode 100644 plugins/python-build/share/python-build/2.5.3 create mode 100644 plugins/python-build/share/python-build/2.5.4 create mode 100644 plugins/python-build/share/python-build/2.5.5 create mode 100644 plugins/python-build/share/python-build/2.6.6 create mode 100644 plugins/python-build/share/python-build/2.6.7 create mode 100644 plugins/python-build/share/python-build/2.7 create mode 100644 plugins/python-build/share/python-build/2.7.1 create mode 100644 plugins/python-build/share/python-build/2.7.2 create mode 100644 plugins/python-build/share/python-build/3.1.3 create mode 100644 plugins/python-build/share/python-build/3.1.4 create mode 100644 plugins/python-build/share/python-build/3.2 create mode 100644 plugins/python-build/share/python-build/3.2.1 create mode 100644 plugins/python-build/share/python-build/3.2.2 create mode 100644 plugins/python-build/share/python-build/jython-2.5.0 create mode 100644 plugins/python-build/share/python-build/jython-2.5.1 create mode 100644 plugins/python-build/share/python-build/jython-2.5.3 create mode 100644 plugins/python-build/share/python-build/pypy-1.8 create mode 100644 plugins/python-build/share/python-build/stackless-2.7.2 diff --git a/plugins/python-build/share/python-build/2.5 b/plugins/python-build/share/python-build/2.5 new file mode 100644 index 00000000..60a66d2e --- /dev/null +++ b/plugins/python-build/share/python-build/2.5 @@ -0,0 +1,14 @@ +case "$OSTYPE" in +linux*) + case $(uname -m) in + x86_64) + export LDFLAGS="-L/usr/lib/x86_64-linux-gnu" # to fix build on Debian amd64 + ;; + esac + ;; +esac + +require_gcc +install_package "Python-2.5" "http://www.python.org/ftp/python/2.5/Python-2.5.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.5.1 b/plugins/python-build/share/python-build/2.5.1 new file mode 100644 index 00000000..e155c4ec --- /dev/null +++ b/plugins/python-build/share/python-build/2.5.1 @@ -0,0 +1,14 @@ +case "$OSTYPE" in +linux*) + case $(uname -m) in + x86_64) + export LDFLAGS="-L/usr/lib/x86_64-linux-gnu" # to fix build on Debian amd64 + ;; + esac + ;; +esac + +require_gcc +install_package "Python-2.5.1" "http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.5.2 b/plugins/python-build/share/python-build/2.5.2 new file mode 100644 index 00000000..2c1c5eaf --- /dev/null +++ b/plugins/python-build/share/python-build/2.5.2 @@ -0,0 +1,14 @@ +case "$OSTYPE" in +linux*) + case $(uname -m) in + x86_64) + export LDFLAGS="-L/usr/lib/x86_64-linux-gnu" # to fix build on Debian amd64 + ;; + esac + ;; +esac + +require_gcc +install_package "Python-2.5.2" "http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.5.3 b/plugins/python-build/share/python-build/2.5.3 new file mode 100644 index 00000000..5914b384 --- /dev/null +++ b/plugins/python-build/share/python-build/2.5.3 @@ -0,0 +1,14 @@ +case "$OSTYPE" in +linux*) + case $(uname -m) in + x86_64) + export LDFLAGS="-L/usr/lib/x86_64-linux-gnu" # to fix build on Debian amd64 + ;; + esac + ;; +esac + +require_gcc +install_package "Python-2.5.3" "http://www.python.org/ftp/python/2.5.3/Python-2.5.3.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.5.4 b/plugins/python-build/share/python-build/2.5.4 new file mode 100644 index 00000000..64a3fe9f --- /dev/null +++ b/plugins/python-build/share/python-build/2.5.4 @@ -0,0 +1,14 @@ +case "$OSTYPE" in +linux*) + case $(uname -m) in + x86_64) + export LDFLAGS="-L/usr/lib/x86_64-linux-gnu" # to fix build on Debian amd64 + ;; + esac + ;; +esac + +require_gcc +install_package "Python-2.5.4" "http://www.python.org/ftp/python/2.5.4/Python-2.5.4.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.5.5 b/plugins/python-build/share/python-build/2.5.5 new file mode 100644 index 00000000..f1199bbc --- /dev/null +++ b/plugins/python-build/share/python-build/2.5.5 @@ -0,0 +1,14 @@ +case "$OSTYPE" in +linux*) + case $(uname -m) in + x86_64) + export LDFLAGS="-L/usr/lib/x86_64-linux-gnu" # to fix build on Debian amd64 + ;; + esac + ;; +esac + +require_gcc +install_package "Python-2.5.5" "http://www.python.org/ftp/python/2.5.5/Python-2.5.5.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.6.6 b/plugins/python-build/share/python-build/2.6.6 new file mode 100644 index 00000000..8418f210 --- /dev/null +++ b/plugins/python-build/share/python-build/2.6.6 @@ -0,0 +1,14 @@ +before_install_package() { + local package_name="$1" + case "$package_name" in + Python*) + fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch + patch -p0 < setup.patch + ;; + esac +} + +require_gcc +install_package "Python-2.6.6" "http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.6.7 b/plugins/python-build/share/python-build/2.6.7 new file mode 100644 index 00000000..4e833fc6 --- /dev/null +++ b/plugins/python-build/share/python-build/2.6.7 @@ -0,0 +1,14 @@ +before_install_package() { + local package_name="$1" + case "$package_name" in + Python*) + fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch + patch -p0 < setup.patch + ;; + esac +} + +require_gcc +install_package "Python-2.6.7" "http://www.python.org/ftp/python/2.6.7/Python-2.6.7.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.7 b/plugins/python-build/share/python-build/2.7 new file mode 100644 index 00000000..211738f1 --- /dev/null +++ b/plugins/python-build/share/python-build/2.7 @@ -0,0 +1,14 @@ +before_install_package() { + local package_name="$1" + case "$package_name" in + Python*) + fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch + patch -p0 < setup.patch + ;; + esac +} + +require_gcc +install_package "Python-2.7" "http://www.python.org/ftp/python/2.7/Python-2.7.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.7.1 b/plugins/python-build/share/python-build/2.7.1 new file mode 100644 index 00000000..016f6d31 --- /dev/null +++ b/plugins/python-build/share/python-build/2.7.1 @@ -0,0 +1,14 @@ +before_install_package() { + local package_name="$1" + case "$package_name" in + Python*) + fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch + patch -p0 < setup.patch + ;; + esac +} + +require_gcc +install_package "Python-2.7.1" "http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/2.7.2 b/plugins/python-build/share/python-build/2.7.2 new file mode 100644 index 00000000..a3ffd851 --- /dev/null +++ b/plugins/python-build/share/python-build/2.7.2 @@ -0,0 +1,4 @@ +require_gcc +install_package "Python-2.7.2" "http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/3.1.3 b/plugins/python-build/share/python-build/3.1.3 new file mode 100644 index 00000000..6cfbfbf0 --- /dev/null +++ b/plugins/python-build/share/python-build/3.1.3 @@ -0,0 +1,14 @@ +before_install_package() { + local package_name="$1" + case "$package_name" in + Python*) + fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch + patch -p0 < setup.patch + ;; + esac +} + +require_gcc +install_package "Python-3.1.3" "http://www.python.org/ftp/python/3.1.3/Python-3.1.3.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/3.1.4 b/plugins/python-build/share/python-build/3.1.4 new file mode 100644 index 00000000..ed1e6dac --- /dev/null +++ b/plugins/python-build/share/python-build/3.1.4 @@ -0,0 +1,4 @@ +require_gcc +install_package "Python-3.1.4" "http://www.python.org/ftp/python/3.1.4/Python-3.1.4.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/3.2 b/plugins/python-build/share/python-build/3.2 new file mode 100644 index 00000000..4630a24f --- /dev/null +++ b/plugins/python-build/share/python-build/3.2 @@ -0,0 +1,14 @@ +before_install_package() { + local package_name="$1" + case "$package_name" in + Python*) + fetch_url "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/python32/patch-setup.py.diff" > setup.patch + patch -p0 < setup.patch + ;; + esac +} + +require_gcc +install_package "Python-3.2" "http://www.python.org/ftp/python/3.2/Python-3.2.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/3.2.1 b/plugins/python-build/share/python-build/3.2.1 new file mode 100644 index 00000000..0b73462f --- /dev/null +++ b/plugins/python-build/share/python-build/3.2.1 @@ -0,0 +1,4 @@ +require_gcc +install_package "Python-3.2.1" "http://www.python.org/ftp/python/3.2.1/Python-3.2.1.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/3.2.2 b/plugins/python-build/share/python-build/3.2.2 new file mode 100644 index 00000000..9ad41ec1 --- /dev/null +++ b/plugins/python-build/share/python-build/3.2.2 @@ -0,0 +1,4 @@ +require_gcc +install_package "Python-3.2.2" "http://www.python.org/ftp/python/3.2.2/Python-3.2.2.tgz" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/jython-2.5.0 b/plugins/python-build/share/python-build/jython-2.5.0 new file mode 100644 index 00000000..1e54621b --- /dev/null +++ b/plugins/python-build/share/python-build/jython-2.5.0 @@ -0,0 +1,4 @@ +require_java +install_jar "Jython-2.5.0" "https://downloads.sourceforge.net/project/jython/jython/2.5.0/jython_installer-2.5.0.jar" jython +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/jython-2.5.1 b/plugins/python-build/share/python-build/jython-2.5.1 new file mode 100644 index 00000000..c91afbe5 --- /dev/null +++ b/plugins/python-build/share/python-build/jython-2.5.1 @@ -0,0 +1,4 @@ +require_java +install_jar "Jython-2.5.1" "https://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar" jython +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/jython-2.5.3 b/plugins/python-build/share/python-build/jython-2.5.3 new file mode 100644 index 00000000..5724752f --- /dev/null +++ b/plugins/python-build/share/python-build/jython-2.5.3 @@ -0,0 +1,4 @@ +require_java +install_jar "Jython-2.5.3" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.3/jython-installer-2.5.3.jar" jython +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python diff --git a/plugins/python-build/share/python-build/pypy-1.8 b/plugins/python-build/share/python-build/pypy-1.8 new file mode 100644 index 00000000..0bff38a0 --- /dev/null +++ b/plugins/python-build/share/python-build/pypy-1.8 @@ -0,0 +1,24 @@ +case "$OSTYPE" in +darwin*) + PYPY_URL="https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-osx64.tar.bz2" + ;; +linux*) + case $(uname -m) in + i386|i486|i586|i686) + PYPY_URL="https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-linux.tar.bz2" + ;; + x86_64) + PYPY_URL="https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-linux64.tar.bz2" + ;; + esac + ;; +cygwin*|mingw*) + PYPY_URL="https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-win32.zip" + ;; +esac + +if [ -n "$PYPY_URL" ]; then + install_package "pypy-1.8" "$PYPY_URL" pypy + install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python + install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python +fi diff --git a/plugins/python-build/share/python-build/stackless-2.7.2 b/plugins/python-build/share/python-build/stackless-2.7.2 new file mode 100644 index 00000000..f0595b79 --- /dev/null +++ b/plugins/python-build/share/python-build/stackless-2.7.2 @@ -0,0 +1,4 @@ +require_gcc +install_package "stackless-272-export" "http://www.stackless.com/binaries/stackless-272-export.tar.bz2" +install_package "distribute-0.6.28" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz" python +install_package "pip-1.1" "http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz" python