aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMartin Afanasjew2016-08-02 22:37:15 +0200
committerTim D. Smith2016-08-02 13:37:15 -0700
commitb77a695b7a0c9094d49993d26921a47da919364d (patch)
tree7959aa2ad66ad1efbebba94161acfcb99268d5fc /Library/Homebrew/dev-cmd
parenta6033529cfdcfc6458aaa83a0bc9c4c141c60f96 (diff)
downloadbrew-b77a695b7a0c9094d49993d26921a47da919364d.tar.bz2
python: tweak script linking in virtualenv (#613)
* python: tweak script linking in virtualenv Instead of making the formula author use a slightly awkward block like venv.link_scripts(bin) { venv.pip_install buildpath } avoid exposing this implementation detail and offer the more familiar: venv.pip_install buildpath, :link_scripts => bin * Add non-block form and use instead of recursion * Update 'pip_install' documentation * Remove obsolete 'link_scripts' * Add test for 'pip_install' with linking scripts Also drop no longer relevant (and broken) `link_scripts` test, that served as a template for the new test. * Restore compatibility with Ruby 1.8.7 * Replace option hash with 'pip_install_and_link' * Avoid confusing 'Object#tap' and fix silly bug * Avoid side effects in mock object parameter check * Simplify argument check (no need for a block)
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions