Mislav Marohnić
302b317b89
Fix `shobj-conf` on Darwin
The `shobj-conf` script imported from bash seems to not support the
latest OS X. This makes sure that `SHOBJ_LDFLAG=-dynamiclib` is output
for Darwin10+ (latest version is Darwin 13.0).
12 роки тому
Mislav Marohnić
8facb3b3a7
Import `shobj-conf` script from bash
Given the `-o <HOST-OS>` parameter, the script generates environment
variables with information how to compile dynamically loadable libraries
for that system.
Imported from bash-3.2.48
12 роки тому
Mislav Marohnić
b5622bee3a
Try without `-current_version`
Seems to only work on OS X; fails on Travis
https://travis-ci.org/sstephenson/rbenv/jobs/16384866
12 роки тому
Mislav Marohnić
3f74da0e73
Fail hard if RBENV_NATIVE_EXT is set but extensions failed to load
12 роки тому
Mislav Marohnić
68b92a7f5d
Test compiled native extensions on Travis CI
12 роки тому
Mislav Marohnić
8bac958994
Stop using `abs_dirname()` in rbenv-init
It's slow and not necessary since we expect `$0` to already be expanded.
In tests this change forces us to deal with some relative paths, but
it's not a big deal. The `rbenv init -` output in the most common case
will be the same as before:
source '/home/myuser/.rbenv/libexec/../completions/rbenv.bash'
12 роки тому
Mislav Marohnić
5287e2ebf4
Avoid slow `abs_dirname()` by loading `realpath` extension
This speeds up every `rbenv` invocation significantly.
12 роки тому
Mislav Marohnić
284588f9b4
Fix hooks tests on OS X by expanding BATS_TMPDIR
With `realpath` extension, hooks tests on OS X will output
`/private/tmp` instead of `/tmp` because the latter is an actual symlink
to the former.
Avoid this mistmach in output assertions by expanding BATS_TMPDIR if
`realpath` extension is compiled.
12 роки тому
Mislav Marohnić
16c7eb4135
Speed up `realpath()` with dynamically loaded C extension
On systems that support both C compiling and dynamic loading, we can
speed up `realpath()` (where most time in rbenv is spent) by replacing
it with a dynamically loaded bash builtin.
When `make -C src` is called in the project's root,
`libexec/rbenv-realpath.dylib` will be created. If it exists, rbenv will
attempt to load it as a builtin command. If it fails, execution will
fall back to the old `realpath()` shell function.
12 роки тому
Mislav Marohnić
9bcef4b875
Add tests for non-directory types under `RBENV_ROOT/versions/`
11 роки тому
Mislav Marohnić
f237a11f4f
Have `versions` emit a warning when no Ruby version was found
11 роки тому
Yamashita Yuu
fc41c87395
Check existence of `curses` module before start building PyPy ( #244 )
11 роки тому
Yamashita Yuu
6e02ad2fe4
Merge branch 'pypy-shared'
11 роки тому
Yamashita Yuu
58e24a64a2
Set PYENV_VERSION on building pypy from source
11 роки тому
Makoto Sasaki
77d9e34a49
v20141012
11 роки тому
Makoto Sasaki
d7f4aa02ed
Add CPython 3.2.6 and CPython 3.3.6 ( fixes #253 )
11 роки тому
Yamashita Yuu
42bb40a5d8
Try to set `rpath` for `--shared` build of PyPy ( #244 )
11 роки тому
Makoto Sasaki
d38f00cd4a
v20141011
11 роки тому
Makoto Sasaki
e9a6a2909c
Add Stackless 2.7.7, Stackless 2.7.8, and Stackless 3.4.1 ( fixes #252 )
11 роки тому
Makoto Sasaki
5f95ce1835
Fix build problem of Stackless 3.3.5 (refs #250 )
11 роки тому
Makoto Sasaki
ff995b6654
v20141008
11 роки тому
Makoto Sasaki
4d15d21f0f
Add CPython 3.4.2 ( fixes #251 )
11 роки тому
Makoto Sasaki
6790e3e18a
Add CPython 3.2.6rc1 and CPython 3.3.6rc1 ( fixes #248 )
11 роки тому
Makoto Sasaki
737e0f1b3f
Add CPython 3.4.2rc1 ( fixes #245 )
11 роки тому
Yamashita Yuu
ab9ee414ad
v20140924
11 роки тому
Yamashita Yuu
c3a755c853
Add PyPy-2.4.0 ( fixes #241 )
11 роки тому
Daniel Hahler
9901c4b84d
Use consistent quoting for `versions=("$@")` across bins
12 роки тому
Daniel Hahler
04ce9bcd5c
doc: use recommended python versions
12 роки тому
Daniel Hahler
4cf93df059
README: mention https://github.com/yyuu/pyenv-pip-rehash
12 роки тому
Yamashita, Yuu
a43f7f5341
Merge pull request #231 from blueyed/fix-zsh-completion-for-none
Do not quote completions in $reply
12 роки тому
Makoto Sasaki
af2cb3f943
Add PyPy 2.4-beta1 ( fixes #232 )
12 роки тому
Yamashita, Yuu
9b8b9c5205
Merge pull request #230 from blueyed/version-file-write-no-rm
pyenv-version-file-write: do not use rm, but clobber the file
12 роки тому
Daniel Hahler
b6aef96cea
pyenv-version-file-write: do not use rm, but clobber the file
With e.g. /usr/local/bin/.python-version owned by some user, `pyenv
local foo` would fail, if the user has no permissions for
`/usr/local/bin`, but only the `.python-version` file.
12 роки тому
Daniel Hahler
bc6be9ed9f
Do not quote completions in $reply
With an empty list of completions, zsh would complete a space / advance
the cursor by a space when completing.
12 роки тому
Yamashita, Yuu
2297bd3741
Merge pull request #227 from blueyed/doc-multiple-versions
doc: note about using multiple versions
12 роки тому
Daniel Hahler
8595df4e18
minor: remove trailing whitespace
12 роки тому
Daniel Hahler
200adac02f
doc: note about using multiple versions
Add a note about how to activate/use multiple versions to the main
README, to the "Choosing the Python Version" section.
12 роки тому
Yamashita Yuu
6509d318f4
v20140825
12 роки тому
Makoto Sasaki
474767618d
Add Jython 2.7 Beta 3 ( fixes #223 )
This release of Jython requires JDK 7 or above
12 роки тому
Yamashita, Yuu
82aaef7842
Merge pull request #222 from yyuu/macosx-deployment-target
Setting MACOSX_DEPLOYMENT_TARGET on Darwin
12 роки тому
Yamashita Yuu
9df0a2916d
Setup configure options to build against universal SDK on Darwin
12 роки тому
Yamashita Yuu
f76309d419
Add tests for MACOSX_DEPLOYMENT_TARGET ( #219 , #220 )
12 роки тому
Yamashita Yuu
29d3df661e
Fix broken tests
12 роки тому
Yamashita Yuu
96b4c0f7e7
Set MACOSX_DEPLOYMENT_TARGET from the product version of OS X ( #219 , #220 )
12 роки тому
Yamashita, Yuu
f9053406c2
Merge pull request #215 from blueyed/fix-zsh-completion
Fix zsh completion with multiple words
12 роки тому
Yamashita Yuu
ae4659538d
Unset `PIP_REQUIRE_VENV` during build ( fixes #216 )
12 роки тому
Daniel Hahler
4159055117
Fix zsh completion with multiple words
`${words[2,-2]}` must not be quoted, otherwise completion for multiple
words (e.g. `shell 3.4.1`) fails.
12 роки тому
Yamashita Yuu
aa62882347
Display the package name of `hg` as `mercurial` in message ( #212 )
12 роки тому
Yamashita Yuu
b8a7de8a3c
v20140705 ( fixes #204 )
12 роки тому
Yamashita Yuu
a661e14580
Support `SETUPTOOLS_VERSION` and `PIP_VERSION` to allow installing specific version of setuptools/pip ( #202 )
12 роки тому