Mislav Marohnić
eda535a942
Fix detecting completions support on OpenBSD
The non-extended regex pattern didn't work on OpenBSD so this switches
grep to extended pattern mode that seems to work consistenty on all
systems.
пре 12 година
Mislav Marohnić
1e1c9cb0dc
Fix emulating the scenario where system Ruby is missing on OpenBSD
On other systems, we expected to find system Ruby in `/usr/bin`, but in
OpenBSD 5.4 it will be found in `/usr/local/bin`.
This replaces the limited USRBIN_ALT hack with a more generic
`path_without` function that will ensure that the given executable is
not present in the resulting PATH even if it's found in multiple
system paths.
пре 12 година
Yamashita Yuu
7edceff71c
Merge branch 'golang-workaround'
пре 12 година
Mislav Marohnić
3dc0005032
Fix test suite running on OpenBSD
The error was "bash: no such file or directory" and it was due to bash
being located in `/usr/local/bin` on OpenBSD 5.4 instead of `/bin` like
on other systems.
Fixed by keeping `/usr/local/bin` in PATH during the test run.
пре 12 година
Yamashita Yuu
1587d8a03c
Apply readlink to output from `pwd` may returns "." to get actual path
пре 12 година
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
пре 12 година
Yamashita Yuu
12d4fdb307
Merge branch 'unittest' ( #21 )
пре 12 година
Yamashita Yuu
319721b380
Modify applications and versions for Python
пре 12 година
Yamashita Yuu
3dd9332eee
Fix broken tests
пре 12 година
Yamashita Yuu
88922e2bc0
Remove `version-ext-compat` plugin to make test success
пре 12 година
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
пре 12 година
Yamashita Yuu
f538169992
Restore OLDIFS expectedly
пре 12 година
Yamashita Yuu
d03f290b5d
s/rbenv/pyenv/
пре 12 година
Yamashita Yuu
8ddf8760d5
Import recent changes from rbenv 0.4.0
пре 12 година
Mislav Marohnić
6d0bf9b39f
Merge pull request #521 from wmoxam/master
Fix rbenv on OpenBSD
Fixes #519
пре 12 година
wmoxam
2f5d9a6f90
Fixes rbenv on OpenBSD and any other systems that don't support head -c
пре 12 година
Mislav Marohnić
783618b89c
Force TAP output from Bats on CI
In Travis CI environment, Bats thinks it's outputting to an interactive
terminal, so it switches to "pretty" format and ANSI escape codes which
don't look well in the final output.
пре 12 година
Jeffrey 'jf' Lim
4f2f6f8575
Fix test suite when no system Ruby exists
Some tests assumed that the `ruby` executable will be found in system PATH.
Fixes #512 , closes #514
пре 12 година
Mislav Marohnić
59aca30267
Merge pull request #491 from peterhoeg/master
ignore cache directory used by ruby-build
пре 12 година
Sam Stephenson
605e691bff
Merge pull request #504 from jonathandean/master
Remove Neckbeard reference in favor of Advanced
пре 12 година
Jonathan Dean
09ec276a85
Change 'Advanced Configuration' reference to 'How rbenv hooks into your shell'
пре 12 година
Jonathan Dean
590b19a1b1
Remove Neckbeard reference in favor of Advanced
пре 12 година
Mislav Marohnić
be5e1a4ded
Improve `rbenv init` instructions for fish
Fish user config file `~/.config/fish/config.fish` loads for every
instance of fish shell, not just interactive ones. Since it's
unnecessary and dangerous to eval `rbenv init -` output in
non-interactive shells, wrap the invocation in a conditional that checks
if the current shell is interactive.
Fixes #501
пре 12 година
Peter Hoeg
8650de0c0c
ignore cache directory used by ruby-build
пре 12 година
Yamashita Yuu
8fa6b4a184
CPython installer requires existing Pyhthon of similar version.
пре 12 година
Yamashita Yuu
e1a5b326e4
Merge branch 'ruby-build-style-patching'
пре 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
9eedd4ef84
Update setuptools (2.0.1 -> 2.0.2)
пре 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
5bff9c773a
Reliably detect parent shell in `pyenv init` ( fixes #93 )
Imported changes from sstephenson/rbenv#453 .
пре 12 година
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.
пре 12 година
Yamashita Yuu
1a05d9a8cd
Merge branch 'apply-extra-patches'
пре 12 година
Yamashita Yuu
df51c13323
Use `cp -RPp` to copy share directories recursively.
We have some patches for CPython in `share/python-build/patches`.
пре 12 година
Yamashita Yuu
a025866bac
Update setuptools (2.0 -> 2.0.1)
пре 12 година
Yamashita Yuu
2797f3d80e
Update README about `PYTHON_PATCH_PATH`.
пре 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
4d534fed31
Merge branch 'enable-shared'
пре 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
3d5156ed1d
v0.4.0-20131217
пре 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
fe07deb193
v0.4.0-20131216
пре 12 година
Yamashita Yuu
7159e24aa8
Update ChangeLog
пре 12 година
Yamashita Yuu
1cc90d31ae
Import changes from ruby-build v20131211
пре 12 година
Yamashita, Yuu
76bf3ee0d6
Merge pull request #88 from pwdtnx/fix-prefix-system
Fix pyenv-prefix to trim "/bin" in `pyenv prefix system`
пре 12 година
Tanix
fd3dd225ba
rewrite strip of PYENV_PREFIX_PATH in a single line
пре 12 година