Yamashita Yuu
801b093b67
Support for xz-compressed Python tarballs ( fixes #177 )
před 12 roky
Yamashita Yuu
7612f0391d
Don't clober the environment `CPPFLAGS` and `LDFLAGS` (refs #168 )
Because the variables specified via command-line arguments for the
`./configure` will be favored than one in environment variables,
setting those variables in `PACKAGE_CONFIGURE_OPTS_ARRAY` will hide
existing environment variables.
To avoid the problem, stop using `package_option()` to setup those
variables.
před 12 roky
Yamashita Yuu
149a915770
Import recent changes from ruby-build 20140420
před 12 roky
Yamashita Yuu
986db22da8
Import recent changess from ruby-build v20140408
před 12 roky
Yamashita Yuu
8914be846f
Add `ironpython-dev`.
I have not yet confirmed the `setuptools` can work together on GNU/Linux though.
před 12 roky
Yamashita Yuu
6222bb743d
Just display warning if `.pydistutils.cfg` exists.
před 12 roky
Yamashita Yuu
f5fded3b9d
Use `cc` as `$CC` if `require_cc` has called ( #148 )
před 12 roky
Yamashita Yuu
cac8fd7f60
Use `colorize` in `require_clang` and `require_java`
před 12 roky
Tim Swihart
545052d5ca
MacOSX was mispelled as MaxOSX
před 12 roky
Yamashita Yuu
8d951d5025
Remove unused functions.
před 12 roky
Yamashita Yuu
5c31c45d05
Do not exit with errors even if some of modules are absent
před 12 roky
Yamashita Yuu
6e01f83742
Simplify anaconda/miniconda definitions
před 12 roky
Yamashita Yuu
0c6b28c9aa
Display warning if the PyPy is not built for the distro ( #122 )
před 12 roky
Yamashita Yuu
e488b31597
Import recent changes from ruby-build 20140225
před 12 roky
Yamashita Yuu
5f23e3d7b2
Refactoring.
Remove leading `build_package_` from `build_package_verify_python` and
`build_package_verify_import` since they are not `build_package`
functions.
před 12 roky
Yamashita Yuu
854f6f3a46
Exits with error if there is `~/.pydistutils.cfg` ( #35 , #111 )
před 12 roky
Yamashita Yuu
63ac2b717f
Add comments
před 12 roky
Yamashita Yuu
719e6db358
Import recent changes from ruby-build 20140204
před 12 roky
Yamashita Yuu
6aa6d6b026
Fix broken test
před 12 roky
Yamashita Yuu
62f9b7a731
Display error if wget doesn't support SNI ( #60 )
před 12 roky
Yamashita Yuu
3aa263b51f
Add Miniconda 3.0.0
před 12 roky
Yamashita Yuu
59fbf8d103
Add Anaconda 1.8.0
před 12 roky
Yamashita Yuu
589872affb
Set proper `PYENV_VERSION` during `pyenv install`
před 12 roky
Yamashita Yuu
bf94eb8cbe
Add workaround for `--enable-framework` to work with CPython 2.7.6
před 12 roky
Yamashita Yuu
b225f2030d
Add support for `--enable-framework` ( #55 , #99 )
```
$ env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.3.2
```
před 12 roky
Yamashita Yuu
badc8255ab
Do not invoke `use_homebrew_readline` twice
před 12 roky
Yamashita Yuu
558200285b
Use ensurepip to install pip if available
před 12 roky
Yamashita Yuu
2c26b0870a
Setup built-in patches out from stub functions of `{before,after}_install_package}.
před 12 roky
Yamashita Yuu
2cea06b88a
Sort built-in patches by its name
před 12 roky
Yamashita Yuu
07ae0d8e42
Import changes from ruby-build 20140110.1
před 12 roky
Yamashita Yuu
b025dbfdab
Add `require_cc` again
před 12 roky
Yamashita Yuu
6ee7aaf611
Should not recognize `cc` as `clang`
před 12 roky
Yamashita Yuu
93ba3a4c51
Use same `require_gcc` as ruby-build
před 12 roky
Yamashita Yuu
2a9f6038e0
Use `package_option()` to setup configure options
před 12 roky
Yamashita Yuu
0e3e603429
Don't check `$(uname -s)` twice
před 12 roky
Yamashita Yuu
a7a99c75eb
Apply patch only if there are patches exist for the package
před 12 roky
Yamashita Yuu
8fa6b4a184
CPython installer requires existing Pyhthon of similar version.
před 12 roky
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
```
před 12 roky
Yamashita Yuu
b70dcb9f2d
Add `list_patches()` to sort patches by their names
před 12 roky
Yamashita Yuu
008a5a1ff9
Force `PYTHON_BUILD_PATCH_PATH` to be absolute path
před 12 roky
Yamashita Yuu
5b7eb42a9f
Add `-p0` as an option for patch if both `PATCH_OPTS` and `PACKAGE_PATCH_OPTS` aren't defined
před 12 roky
Yamashita Yuu
35d4cd2259
Remove `PACKAGE_PATCH_STRIP`. Use `PACKAGE_PATCH_OPTS` instead.
před 12 roky
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
před 12 roky
Yamashita Yuu
43212f64ed
Pass rpath to linker if `--enable-shared` was given ( #65 , #66 , #82 )
před 12 roky
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
```
před 12 roky
Yamashita Yuu
aa76fd2f9c
On Darwin, should not build readline if there is brewed readline
před 12 roky
Yamashita Yuu
db141f66a4
Restored `has_broken_mac_llvm_gcc` which is required to build 3.3+ on Darwin
před 12 roky
Yamashita Yuu
1cc90d31ae
Import changes from ruby-build v20131211
před 12 roky
Yamashita Yuu
4953fa4034
Apply built-in patches only if patch is not given via STDIN
před 12 roky
Yamashita Yuu
1f76effbfb
Import changes from ruby-build v20131225.1
před 12 roky