浏览代码

move patches into ./share to fix the install.sh

pull/17/head
Yamashita Yuu 13 年前
父节点
当前提交
f01d1d1064
共有 29 个文件被更改,包括 4 次插入4 次删除
  1. +3
    -3
      plugins/python-build/bin/python-build
  2. +1
    -1
      plugins/python-build/install.sh
  3. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.1/Python-2.5.1/000_patch-setup.py.diff
  4. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.1/Python-2.5.1/001_patch-svnversion.patch
  5. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.2/Python-2.5.2/000_patch-setup.py.diff
  6. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.2/Python-2.5.2/001_patch-svnversion.patch
  7. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.3/Python-2.5.3/000_patch-setup.py.diff
  8. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.3/Python-2.5.3/001_patch-svnversion.patch
  9. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.4/Python-2.5.4/000_patch-setup.py.diff
  10. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.4/Python-2.5.4/001_patch-svnversion.patch
  11. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.5/Python-2.5.5/000_patch-setup.py.diff
  12. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.5/Python-2.5.5/001_patch-svnversion.patch
  13. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.6/Python-2.5.6/000_patch-setup.py.diff
  14. +0
    -0
      plugins/python-build/share/python-build/patches/2.5.6/Python-2.5.6/001_patch-svnversion.patch
  15. +0
    -0
      plugins/python-build/share/python-build/patches/2.5/Python-2.5/000_patch-setup.py.diff
  16. +0
    -0
      plugins/python-build/share/python-build/patches/2.5/Python-2.5/001_patch-svnversion.patch
  17. +0
    -0
      plugins/python-build/share/python-build/patches/2.6.6/Python-2.6.6/000_patch-setup.py.diff
  18. +0
    -0
      plugins/python-build/share/python-build/patches/2.6.6/Python-2.6.6/001_openssl_no_ssl2.patch
  19. +0
    -0
      plugins/python-build/share/python-build/patches/2.6.7/Python-2.6.7/000_patch-setup.py.diff
  20. +0
    -0
      plugins/python-build/share/python-build/patches/2.6.7/Python-2.6.7/001_openssl_no_ssl2.patch
  21. +0
    -0
      plugins/python-build/share/python-build/patches/2.6.8/Python-2.6.8/000_patch-setup.py.diff
  22. +0
    -0
      plugins/python-build/share/python-build/patches/2.6.8/Python-2.6.8/001_openssl_no_ssl2.patch
  23. +0
    -0
      plugins/python-build/share/python-build/patches/2.7.1/Python-2.7.1/000_patch-setup.py.diff
  24. +0
    -0
      plugins/python-build/share/python-build/patches/2.7/Python-2.7/000_patch-setup.py.diff
  25. +0
    -0
      plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/000_patch-setup.py.diff
  26. +0
    -0
      plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/001_patch-svnversion.patch
  27. +0
    -0
      plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/002_openssl_no_ssl2.patch
  28. +0
    -0
      plugins/python-build/share/python-build/patches/3.1.3/Python-3.1.3/000_patch-setup.py.diff
  29. +0
    -0
      plugins/python-build/share/python-build/patches/3.2/Python-3.2/000_patch-setup.py.diff

+ 3
- 3
plugins/python-build/bin/python-build 查看文件

@ -139,8 +139,8 @@ install_package_using() {
apply_patches() {
local package_name="$1"
local patches_path="${PYTHON_BUILD_ROOT}/patches/${DEFINITION_PATH##*/}/${package_name}"
for patch in "${patches_path}"/*; do
local patches_path="${PYTHON_BUILD_ROOT}/share/python-build/patches/${DEFINITION_PATH##*/}"
for patch in "${patches_path}/${package_name}/"*; do
if [ -f "$patch" ]; then
echo "Applying ${patch##*/} to ${package_name}..." >&2
patch -p0 < "$patch"
@ -666,7 +666,7 @@ usage() {
list_definitions() {
{ for definition in "${PYTHON_BUILD_ROOT}/share/python-build/"*; do
echo "${definition##*/}"
[ -f "${definition}" ] && echo "${definition##*/}"
done
} | sort
}

+ 1
- 1
plugins/python-build/install.sh 查看文件

@ -17,7 +17,7 @@ for file in bin/*; do
done
for file in share/python-build/*; do
cp "${file}" "${SHARE_PATH}"
cp -Rp "${file}" "${SHARE_PATH}"
done
echo "Installed python-build at ${PREFIX}"

plugins/python-build/patches/2.5.1/Python-2.5.1/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5.1/Python-2.5.1/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5.1/Python-2.5.1/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5.1/Python-2.5.1/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.5.2/Python-2.5.2/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5.2/Python-2.5.2/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5.2/Python-2.5.2/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5.2/Python-2.5.2/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.5.3/Python-2.5.3/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5.3/Python-2.5.3/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5.3/Python-2.5.3/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5.3/Python-2.5.3/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.5.4/Python-2.5.4/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5.4/Python-2.5.4/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5.4/Python-2.5.4/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5.4/Python-2.5.4/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.5.5/Python-2.5.5/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5.5/Python-2.5.5/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5.5/Python-2.5.5/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5.5/Python-2.5.5/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.5.6/Python-2.5.6/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5.6/Python-2.5.6/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5.6/Python-2.5.6/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5.6/Python-2.5.6/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.5/Python-2.5/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.5/Python-2.5/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.5/Python-2.5/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/2.5/Python-2.5/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/2.6.6/Python-2.6.6/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.6.6/Python-2.6.6/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.6.6/Python-2.6.6/001_openssl_no_ssl2.patch → plugins/python-build/share/python-build/patches/2.6.6/Python-2.6.6/001_openssl_no_ssl2.patch 查看文件


plugins/python-build/patches/2.6.7/Python-2.6.7/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.6.7/Python-2.6.7/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.6.7/Python-2.6.7/001_openssl_no_ssl2.patch → plugins/python-build/share/python-build/patches/2.6.7/Python-2.6.7/001_openssl_no_ssl2.patch 查看文件


plugins/python-build/patches/2.6.8/Python-2.6.8/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.6.8/Python-2.6.8/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.6.8/Python-2.6.8/001_openssl_no_ssl2.patch → plugins/python-build/share/python-build/patches/2.6.8/Python-2.6.8/001_openssl_no_ssl2.patch 查看文件


plugins/python-build/patches/2.7.1/Python-2.7.1/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.7.1/Python-2.7.1/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/2.7/Python-2.7/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/2.7/Python-2.7/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/3.0.1/Python-3.0.1/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/3.0.1/Python-3.0.1/001_patch-svnversion.patch → plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/001_patch-svnversion.patch 查看文件


plugins/python-build/patches/3.0.1/Python-3.0.1/002_openssl_no_ssl2.patch → plugins/python-build/share/python-build/patches/3.0.1/Python-3.0.1/002_openssl_no_ssl2.patch 查看文件


plugins/python-build/patches/3.1.3/Python-3.1.3/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/3.1.3/Python-3.1.3/000_patch-setup.py.diff 查看文件


plugins/python-build/patches/3.2/Python-3.2/000_patch-setup.py.diff → plugins/python-build/share/python-build/patches/3.2/Python-3.2/000_patch-setup.py.diff 查看文件


正在加载...
取消
保存