pyenv: build realpath C dylib

Closes #13521.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
master
Paul Kehrer 2017-05-12 13:13:13 -05:00 committed by Tim D. Smith
parent 017d76bc59
commit a52142a08c
1 changed files with 5 additions and 2 deletions

View File

@ -3,11 +3,10 @@ class Pyenv < Formula
homepage "https://github.com/pyenv/pyenv"
url "https://github.com/pyenv/pyenv/archive/v1.0.10.tar.gz"
sha256 "cc071d6a63445dc1f7cefa5961c74768bc3dadf8edab5c5a7e1d63bf536a99b5"
revision 1
version_scheme 1
head "https://github.com/pyenv/pyenv.git"
bottle :unneeded
depends_on "autoconf" => [:recommended, :run]
depends_on "pkg-config" => [:recommended, :run]
depends_on "openssl" => :recommended
@ -15,6 +14,10 @@ class Pyenv < Formula
def install
inreplace "libexec/pyenv", "/usr/local", HOMEBREW_PREFIX
system "src/configure"
system "make", "-C", "src"
prefix.install Dir["*"]
%w[pyenv-install pyenv-uninstall python-build].each do |cmd|
bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}"