mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 20:13:47 -05:00
Migrate project URL to https://github.com/pyenv/pyenv
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#
|
||||
# For detailed information on installing Python versions with
|
||||
# python-build, including a list of environment variables for adjusting
|
||||
# compilation, see: https://github.com/yyuu/pyenv#readme
|
||||
# compilation, see: https://github.com/pyenv/pyenv#readme
|
||||
#
|
||||
set -e
|
||||
[ -n "$PYENV_DEBUG" ] && set -x
|
||||
|
||||
@@ -1341,7 +1341,7 @@ use_homebrew_yaml() {
|
||||
|
||||
has_broken_mac_readline() {
|
||||
# Mac OS X 10.4 has broken readline.
|
||||
# https://github.com/yyuu/pyenv/issues/23
|
||||
# https://github.com/pyenv/pyenv/issues/23
|
||||
is_mac &&
|
||||
! configured_with_package_dir "python" "readline/rlconf.h" &&
|
||||
! use_homebrew_readline
|
||||
@@ -1539,7 +1539,7 @@ verify_python() {
|
||||
echo
|
||||
echo "The python-build could not find proper executable of Python after successful build."
|
||||
echo "Please open an issue for future improvements."
|
||||
echo "https://github.com/yyuu/pyenv/issues"
|
||||
echo "https://github.com/pyenv/pyenv/issues"
|
||||
return 1
|
||||
} >&3
|
||||
fi
|
||||
@@ -1560,7 +1560,7 @@ verify_python_module() {
|
||||
echo ": The Python $1 extension was not compiled. Missing the ${2:-$1}?"
|
||||
echo
|
||||
echo "Please consult to the Wiki page to fix the problem."
|
||||
echo "https://github.com/yyuu/pyenv/wiki/Common-build-problems"
|
||||
echo "https://github.com/pyenv/pyenv/wiki/Common-build-problems"
|
||||
echo
|
||||
return 1
|
||||
} >&3
|
||||
|
||||
@@ -14,7 +14,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
|
||||
|
||||
@test "python-build git version" {
|
||||
stub git \
|
||||
'remote -v : echo origin https://github.com/yyuu/pyenv.git' \
|
||||
'remote -v : echo origin https://github.com/pyenv/pyenv.git' \
|
||||
"describe --tags HEAD : echo v1984-12-gSHA"
|
||||
run python-build --version
|
||||
assert_success "python-build 1984-12-gSHA"
|
||||
@@ -23,7 +23,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
|
||||
|
||||
@test "git describe fails" {
|
||||
stub git \
|
||||
'remote -v : echo origin https://github.com/yyuu/pyenv.git' \
|
||||
'remote -v : echo origin https://github.com/pyenv/pyenv.git' \
|
||||
"describe --tags HEAD : echo ASPLODE >&2; exit 1"
|
||||
run python-build --version
|
||||
assert_success "python-build ${static_version}"
|
||||
|
||||
Reference in New Issue
Block a user