Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Aug 08, 2016
  2. Aug 06, 2016
  3. Aug 05, 2016
  4. Aug 04, 2016
  5. Aug 03, 2016
    • Martin Afanasjew's avatar
      python: tweak script linking in virtualenv (#613) · b77a695b
      Martin Afanasjew authored
      * 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)
      b77a695b
  6. Aug 02, 2016
  7. Aug 01, 2016
Loading