Yamashita Yuu
2a9f6038e0
Use package_option()
to setup configure options
2014-01-08 11:49:48 +09:00
Yamashita Yuu
0e3e603429
Don't check $(uname -s)
twice
2014-01-08 10:56:43 +09:00
Yamashita Yuu
71a916faf2
simplicy the check for infinite loop
2014-01-08 10:54:11 +09:00
Yamashita Yuu
8e02b93e39
Call build_package_ldflags_dirs
to suppress linker warnings
2014-01-07 12:46:40 +09:00
Yamashita Yuu
a7a99c75eb
Apply patch only if there are patches exist for the package
2014-01-07 11:52:22 +09:00
Yamashita Yuu
bb3b5de179
Add CPython 3.4.0b2
2014-01-06 13:03:40 +09:00
Yamashita Yuu
f956502fd8
Merge branch 'avoid-infinite-loop-even-if-pwd-returns-relative-path'
2014-01-03 08:36:05 +09:00
Yamashita Yuu
4c5ffc8d99
Avoid infinite loop in case where pwd
returns relative path
...
The `pwd` may return relative path if the `$PWD` is badly declared
in bash/zsh (e.g. `PWD="." bash`). To avoid the infinite loop in
`find_local_version_file()`, stop finding the version file if the
target paths are same consecutively.
2014-01-03 08:35:39 +09:00
Yamashita Yuu
8dc4e8d6f8
Revert "Merge branch 'golang-workaround'"
...
This reverts commit 7edceff71c
, reversing
changes made to 5dea3c9e63
.
2014-01-03 07:39:52 +09:00
Yamashita Yuu
7edceff71c
Merge branch 'golang-workaround'
2014-01-03 06:23:03 +09:00
Yamashita Yuu
1587d8a03c
Apply readlink to output from pwd
may returns "." to get actual path
2014-01-03 05:07:21 +09:00
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
2014-01-03 04:58:44 +09:00
Yamashita Yuu
12d4fdb307
Merge branch 'unittest' ( #21 )
2014-01-03 04:43:44 +09:00
Yamashita Yuu
319721b380
Modify applications and versions for Python
2014-01-03 04:41:23 +09:00
Yamashita Yuu
3dd9332eee
Fix broken tests
2014-01-03 04:33:30 +09:00
Yamashita Yuu
88922e2bc0
Remove version-ext-compat
plugin to make test success
2014-01-03 02:07:20 +09:00
Yamashita Yuu
0965577b93
Import tests from rbenv with sed -e s/rbenv/pyenv/g
2014-01-03 02:06:36 +09:00
Yamashita Yuu
f538169992
Restore OLDIFS expectedly
2014-01-03 01:47:10 +09:00
Yamashita Yuu
d03f290b5d
s/rbenv/pyenv/
2014-01-02 22:49:23 +09:00
Yamashita Yuu
8ddf8760d5
Import recent changes from rbenv 0.4.0
2014-01-02 22:45:02 +09:00
Yamashita Yuu
8fa6b4a184
CPython installer requires existing Pyhthon of similar version.
2013-11-19 18:02:59 +09:00
Yamashita Yuu
e1a5b326e4
Merge branch 'ruby-build-style-patching'
2014-01-01 13:01:34 +09:00
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
```
2014-01-01 12:25:17 +09:00
Yamashita Yuu
9eedd4ef84
Update setuptools (2.0.1 -> 2.0.2)
2013-12-31 22:19:22 +09:00
Yamashita Yuu
b70dcb9f2d
Add list_patches()
to sort patches by their names
2013-12-26 16:31:43 +09:00
Yamashita Yuu
008a5a1ff9
Force PYTHON_BUILD_PATCH_PATH
to be absolute path
2013-12-26 16:30:16 +09:00
Yamashita Yuu
5b7eb42a9f
Add -p0
as an option for patch if both PATCH_OPTS
and PACKAGE_PATCH_OPTS
aren't defined
2013-12-26 15:44:56 +09:00
Yamashita Yuu
35d4cd2259
Remove PACKAGE_PATCH_STRIP
. Use PACKAGE_PATCH_OPTS
instead.
2013-12-26 14:01:46 +09:00
Yamashita Yuu
5bff9c773a
Reliably detect parent shell in pyenv init
( fixes #93 )
...
Imported changes from sstephenson/rbenv#453 .
2013-12-26 13:48:43 +09:00
Yamashita Yuu
6efb3c327f
Revert setuptools version for jython-2.7-beta1 (2.0.1 -> 2.0)
...
Could not install setuptools 2.0.1 for jython-2.7-beta1 by the
lack of `parser` module.
2013-12-25 20:42:11 +09:00
Yamashita Yuu
1a05d9a8cd
Merge branch 'apply-extra-patches'
2013-12-21 01:06:13 +09:00
Yamashita Yuu
df51c13323
Use cp -RPp
to copy share directories recursively.
...
We have some patches for CPython in `share/python-build/patches`.
2013-12-21 01:04:19 +09:00
Yamashita Yuu
a025866bac
Update setuptools (2.0 -> 2.0.1)
2013-12-21 00:50:28 +09:00
Yamashita Yuu
2797f3d80e
Update README about PYTHON_PATCH_PATH
.
2013-12-21 00:36:32 +09:00
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
2013-12-20 20:37:47 +09:00
Yamashita Yuu
4d534fed31
Merge branch 'enable-shared'
2013-12-20 18:36:42 +09:00
Yamashita Yuu
43212f64ed
Pass rpath to linker if --enable-shared
was given ( #65 , #66 , #82 )
2013-12-20 18:22:43 +09:00
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
```
2013-12-20 17:17:17 +09:00
Yamashita Yuu
3d5156ed1d
v0.4.0-20131217
2013-12-17 11:46:44 +09:00
Yamashita Yuu
aa76fd2f9c
On Darwin, should not build readline if there is brewed readline
2013-12-16 16:27:45 +09:00
Yamashita Yuu
db141f66a4
Restored has_broken_mac_llvm_gcc
which is required to build 3.3+ on Darwin
2013-12-16 16:24:25 +09:00
Yamashita Yuu
fe07deb193
v0.4.0-20131216
2013-12-16 13:51:48 +09:00
Yamashita Yuu
7159e24aa8
Update ChangeLog
2013-12-16 13:50:52 +09:00
Yamashita Yuu
1cc90d31ae
Import changes from ruby-build v20131211
2013-12-16 13:44:03 +09:00
Yamashita, Yuu
76bf3ee0d6
Merge pull request #88 from pwdtnx/fix-prefix-system
...
Fix pyenv-prefix to trim "/bin" in `pyenv prefix system`
2013-12-12 07:38:10 -08:00
Tanix
fd3dd225ba
rewrite strip of PYENV_PREFIX_PATH in a single line
2013-12-12 23:05:31 +09:00
Tanix
140808e3d4
Fix pyenv-prefix to trim "/bin" in pyenv prefix system
2013-12-12 22:16:43 +09:00
Yamashita Yuu
edb5a32620
Update setuptools (1.4.2 -> 2.0) for Python 2.6+
2013-12-12 18:20:57 +09:00
Yamashita Yuu
88e2d73d52
Update setuptools (1.4.1 -> 1.4.2)
2013-12-02 15:35:35 +09:00
Yamashita Yuu
7b95fea77e
Add PyPy 2.2.1
2013-11-29 12:58:31 +09:00