Yamashita Yuu
a7a99c75eb
Apply patch only if there are patches exist for the package
пре 12 година
Yamashita Yuu
8fa6b4a184
CPython installer requires existing Pyhthon of similar version.
пре 12 година
Yamashita Yuu
8892f3735d
Use `-p0` for all patches to keep things simple ( sstephenson/ruby-build#484 )
There is filterdiff(1) available to transform strip level of a patch if
optional level is required.
```
git diff HEAD^ | filterdiff --strip=1 | pyenv install -p 3.3.3
```
пре 12 година
Yamashita Yuu
b70dcb9f2d
Add `list_patches()` to sort patches by their names
пре 12 година
Yamashita Yuu
008a5a1ff9
Force `PYTHON_BUILD_PATCH_PATH` to be absolute path
пре 12 година
Yamashita Yuu
5b7eb42a9f
Add `-p0` as an option for patch if both `PATCH_OPTS` and `PACKAGE_PATCH_OPTS` aren't defined
пре 12 година
Yamashita Yuu
35d4cd2259
Remove `PACKAGE_PATCH_STRIP`. Use `PACKAGE_PATCH_OPTS` instead.
пре 12 година
Yamashita Yuu
0d85193f39
Remove `-Wl,-rpath=...` from `LDFLAGS` on Darwin to fix build.
We don't need to set `rpath` explicitly because the ld on Darwin
embeds the full paths to each dylib by default
пре 12 година
Yamashita Yuu
43212f64ed
Pass rpath to linker if `--enable-shared` was given ( #65 , #66 , #82 )
пре 12 година
Yamashita Yuu
75559df89d
Search extra patches from given directory then apply it during build ( #91 )
```
$ env PYTHON_PATCH_PATH="./patches" PYTHON_PATCH_OPTS="-p1" pyenv install 2.7.6
```
пре 12 година
Yamashita Yuu
aa76fd2f9c
On Darwin, should not build readline if there is brewed readline
пре 12 година
Yamashita Yuu
db141f66a4
Restored `has_broken_mac_llvm_gcc` which is required to build 3.3+ on Darwin
пре 12 година
Yamashita Yuu
1cc90d31ae
Import changes from ruby-build v20131211
пре 12 година
Yamashita Yuu
4953fa4034
Apply built-in patches only if patch is not given via STDIN
пре 12 година
Yamashita Yuu
1f76effbfb
Import changes from ruby-build v20131225.1
пре 12 година
Yamashita Yuu
498d226b2f
Import changes from ruby-build v20131030
пре 12 година
Yamashita Yuu
733cb397b2
improve messages on failed import
пре 12 година
Yamashita Yuu
fb3e9b020e
Use appropriciate tar option per compression types ( #58 )
пре 13 година
Yamashita Yuu
99bc72a908
Wipe out CPython-specific scripts from build_package_standard()
пре 13 година
Yamashita Yuu
4c71f3c5cd
Apply `--with-pydebug` configure option only for Python
пре 13 година
Yamashita Yuu
b943e0abff
Import changes from ruby-build v20130628
пре 13 година
Yamashita Yuu
b8ecd2d6dd
Specify `--libdir` on configure to fix build on openSUSE ( #36 )
пре 13 година
Flavio Castelli
ae86a253e2
Allow installation of python 2.4 series
Make possible to install python 2.4.2 and 2.4.6.
пре 13 година
Yamashita Yuu
4c006959fa
fix broken string match in `has_broken_mac_llvm_gcc()`
пре 13 година
Yamashita Yuu
f9a19e3f24
s/gcc_llvm/llvm_gcc/g
пре 13 година
Yamashita Yuu
8848006540
remove meaningless `break` ( fixes #26 )
пре 13 година
Yamashita Yuu
f76faa88b8
add has_broken_mac_gcc_llvm and use clang if true
пре 13 година
Yamashita Yuu
9ce760c798
add `require_cc()` to test existence of CC other than GCC
пре 13 година
Yamashita Yuu
583f3b0e21
fix build of 3.4-dev. append existing 3.4 at the last.
this is because `hg` (which is a dependency of *-dev build) might be
installed in existing pyenv versions.
пре 13 година
Yamashita Yuu
ff387010b3
use environment variable "${CPP}" if defined
пре 13 година
Yamashita Yuu
27dd805acb
enable `require_gcc` to confirm if there is $CC
пре 13 година
Yamashita Yuu
5f1761645f
fix `has_broken_mac_openssl` for building Python.
`--with-*-dir` is only effective for Ruby's mkmf.rb.
пре 13 година
Yamashita Yuu
f8c9282e8c
Install GNU Readline on Darwin if the readline is broken (refs #23 )
The `has_broken_mac_readline` checks the existence of
`readline/rhconf.h`. This is the same mechanism as setup.py of CPython.
пре 13 година
Yamashita Yuu
d94c1d2143
add jython-*-dev
пре 13 година
Yamashita Yuu
924f6dc76d
add ${PYPY_OPTS} to specify pypy build options
пре 13 година
Yamashita Yuu
27caf0ef3d
add pypy-1.[567]
пре 13 година
Yamashita Yuu
b77ae3e0b5
build and install pypy from source
пре 13 година
Yamashita Yuu
b03a4cde78
add build_package_verify_py3{0,1,2,3,4}
пре 13 година
Yamashita Yuu
9ae12a7c22
add CPython development versions (2.[67]-dev, 3.[1234]-dev)
пре 13 година
Yamashita Yuu
b3deef5e80
update base version of ruby-build (v20130518)
пре 13 година
Yamashita Yuu
0bf26d8f1d
setup download mirror site ( #18 , #20 )
пре 13 година
Yamashita Yuu
ac70eb701c
fix error messages
пре 13 година
Yamashita Yuu
c834f241a8
check native modules (e.g. ssl, bz2) if they were built
пре 13 година
Yamashita Yuu
dd0e3feae3
add `install_zip`
пре 13 година
Yamashita Yuu
8b23026d6c
add PACKAGE_PATCH_STRIP to support optional strip number of patch
пре 13 година
Yamashita Yuu
2e8c43215d
preserve original file suffix in place of hardcoded ".tar"
пре 13 година
Yamashita Yuu
f01d1d1064
move patches into ./share to fix the install.sh
пре 13 година
Yamashita Yuu
cc20ab3392
find appropriate patch for package automatically
пре 13 година
Yamashita Yuu
0bc8d8252e
fix typo to verify jar's checksum
пре 13 година
Yamashita Yuu
6997026064
import recent changes from ruby-build 20130408
пре 13 година