Permalink
Commits on Apr 6, 2014
  1. setuptools 3.4.1

    Closes #28195.
    
    Signed-off-by: Adam Vandenberg <flangy@gmail.com>
    samueljohn committed with adamv Apr 6, 2014
  2. python caveats: use `>` instead of `>>`

    The `homebrew.pth` should be a file with a single line in it.
    Also (at least on zsh) if the file does not exist, `>>` will
    result in an error. The `>` works in both, bash and zsh and
    creates the file with the `echo`ed contet.
    
    Closes #28201.
    
    Signed-off-by: Jack Nagel <jacknagel@gmail.com>
    samueljohn committed with jacknagel Apr 6, 2014
Commits on Apr 5, 2014
  1. tbb: 4.2 update 3

    Also as far as I can tell the patch is no longer needed.
    
    Closes #28140.
    
    Signed-off-by: Jack Nagel <jacknagel@gmail.com>
    samueljohn committed with jacknagel Apr 4, 2014
Commits on Sep 5, 2013
  1. Improve python tests for brew bots

    Allow `build.with?` and similar methods to be used during the test
    phase. The BuildOptions (`build`) are initialized with the
    `Tab.used_options` unless explicitly overwritten on the command line.
    
    So basically `build.with?` works in `def install` and in `test do` as
    one would naively expect. (For the test, gramatically it should be
    `built.with?` but who cares)
    
    If a formula was installed `--with-python`, now the tests are also
    run `--with-python`. This enables us to use the `python do ... end` in
    a meaningful manner.
    
    Using `python do ... end` blocks for the tests, because the bot.brew.sh has
    system python per default and we need to set the PYTHONPATH for the test.
    Potentially to different values for Python 2.x and 3.x.
    samueljohn committed Jun 13, 2013
  2. reinstall cleanup

    samueljohn committed Sep 5, 2013
Commits on Sep 4, 2013
  1. inkscape: depends_on hicolor-icon-theme

    As in the discussion [1] that theme is recommended to avoid
    a warning if incskape.
    
    [1]: Homebrew/legacy-homebrew#12989 (comment)
    samueljohn committed Sep 4, 2013
  2. pyqt: Generate PyQt4.pyqtconfig

    This is no longer generated by the new (recommended) configure-ng.py but
    some older projects (like PyQWT) still need that file, so we first
    run configure.py and copy over the generated pyqtconfig.py manually.
    Then, we normally run and build with configure-ng.py.
    
    Fixes #21984
    samueljohn committed Sep 4, 2013
Commits on Sep 3, 2013
  1. ansible: 1.2.2 some fixes

    -   Install the Python module `ansible` into the usual prefix, but use
        `python.private_site_packages` (in `libexec`) for the deps.
    -   In oder for the `ansible` module to be useful, the deps are needed
        and we insert the `python.private_site_packages` in the
        `ansible/__init__.py` as a `sitedir`, to the `egg`s are working.
    -   Rewrote the `bin_wrapper` to be ready to be moved into
        `python_helper` or something.
    -   With the brand new changes in the PythonInstalled dependency,
        it is not necessary to set the `PYTHONPATH` if you want to use
        the `python.private_site_packages` inside of the `libexec`.
        However, you have to put the calls to `system python` inside of
        a `python do … end` block (technical limitation of supporting
        Python 2.x and 3.x in general).
    samueljohn committed Sep 3, 2013
  2. pil: is now blacklisted.

    PIL has been removed and users should use pillow either
    by `pip install pillo` or `brew install samueljohn/python/pillow`.
    samueljohn committed Sep 1, 2013
  3. brew search <user>/<repo> [substring]

    For example `brew search homebrew/science` to get a list of all formulae
    from that tap, even if not yet tapped.
    
    `brew search <user>/<repo>/<substr>` or
    `brew search <user>/<repo> <substr>` to grep for `<substr>`
    inside of the tap `<user>/<repo>`.
    samueljohn committed Jan 29, 2013
  4. doctor: be more helpful with suggestion about PATH

    - Show a one liner that will append to
      the user's ~/.bash_profile. In 95% this will be
      ok and we assume zsh people are smart enough
      to know what they have to do.
    samueljohn committed Jun 12, 2013
  5. PythonInstalled: Allow formulae to set/append PYTHONPATH

    Improve robustness of `PYTHONPATH` by first unsetting it (during
    `satisfy`) so that the `PythonInstalled` can get the `python.version`
    and so forth and then, after that, setting the `PYTHONPATH` to our
    `global_site_packages`.
    In the `python_helper` we append to the `PYTHONPATH` so if that var has
    been set in a formula, it is respected.
    Brew audit does no longer complain about setting the
    `ENV['PYTHONPATH']`.
    samueljohn committed Sep 3, 2013
  6. PythonInstalled: Adding a private_site_packages

    that live in the `libexec` dir of a `Cellar`.
    samueljohn committed Sep 3, 2013
Commits on Aug 28, 2013
  1. avidemux: 2.6.4, --HEAD and builds with clang

    A major rework of this formula.
    Removed patch and some inreplace and fixes we needed earlier.
    Need to deparallelize the core build, too.
    
    Unfortunately, still doesn't build with SDL.
    In the Qt-GUI it reports that the build options don't include
    gettext, freetype etc. but in fact we added all of them and during
    the build Avidemux seems to pick them up correctly. Therefore, the
    GUI reporting code is perhaps broken.
    samueljohn committed Aug 20, 2013
  2. Don't consider files in the Cellar as Racks

    Otherwiese a `Cellar/.DS_Store` may lead to an error about
    `.ds_store.rb` not found during `brew upgrade`.
    samueljohn committed Aug 27, 2013
Commits on Aug 27, 2013
  1. svn: Adding new bottles back.

    Using newer sqlite now.
    samueljohn committed Aug 27, 2013
  2. svn: temporarily disabling the bottles

    just until the bot has build the new ones...
    samueljohn committed Aug 27, 2013
  3. PythonInstalled: set PYTHONPATH, not prepend

    An issue could arise when brewing a formula that
    has Python 2.x and 3.x support and 2.x is the system Python
    but 3.x is a brewed one. The idea about prepending was that
    user configured PYTHONPATH could be used in formulae.
    Now, instead and if needed, inside the `python do` block
    one can still append to PYTHONPATH.
    samueljohn committed Aug 27, 2013
  4. konoha: --HEAD and adding mecab dep for 10.8+

    because 10.7 is the last SDK that has mecab.h.
    samueljohn committed Aug 27, 2013
  5. konoha: Update URL, fix build on 10.8

    Is anybody using this at all?
    Had to disable mecab as it is no longer in OS X 10.8.
    samueljohn committed Aug 27, 2013
  6. PythonInstalled, name includes modules

    If `depends_on :python => ['modulename', :optional]` then the generated
    option is now `--with-python-modulename`, so that it is possible to
    actually make depending on python modules optional.
    Further, `brew options` becomes more meaningful.
    samueljohn committed Aug 26, 2013
Commits on Aug 23, 2013
  1. PythonInstalled: Unset PYTHONPATH for `satisfied?`

    When a formula `depends_on :python` *and* `depends_on :python3`
    the `modify_build_environment` method sets the PYTHONPATH
    and the Python 3.x requirement then fails because it finds
    the sitecustomize.py from Python 2.x in the PYTHONPATH.
    samueljohn committed Aug 23, 2013
  2. gst-plugins-base: --with-gobject-introspection

    should propagate to gstreamer otherwise build will fail.
    samueljohn committed Aug 23, 2013
  3. gobject-introspection: depends_on :python

    To avoid ImportError: Symbol not found: _PyList_Check
    during build.
    samueljohn committed Aug 23, 2013
Commits on Aug 21, 2013
  1. pypy: now with setuptools 1.0

    samueljohn committed Aug 21, 2013
  2. brew reinstall: Is able to work for all formulae

    ... and not just installed ones. Of course, strictly speaking,
    reinstalling not-yet-installed formulae makes semantically little
    sense, but the big win is that we can tell people (after we have
    resolved an issue) to `brew reinstall <formula>` and even if a user
    has removed that formula in the meantime, reinstall will do the right
    thing. Basically adding --force to uninstall. I think this makes
    reinstall more robust.
    samueljohn committed Aug 21, 2013
  3. Revert "brew reinstall: Is able to work for all formulae"

    This reverts commit 865f763.
    samueljohn committed Aug 21, 2013
  4. brew reinstall: Is able to work for all formulae

    ... and not just installed ones. Of course, strictly speaking,
    reinstalling not-yet-installed formulae makes semantically little
    sense, but the big win is that we can tell people (after we have
    resolved an issue) to `brew reinstall <formula>` and even if a user
    has removed that formula in the meantime, reinstall will do the right
    thing. Basically adding --force to uninstall. I think this makes
    reinstall more robust.
    samueljohn committed Aug 21, 2013
  5. python & python3: pip 1.4.1, setuptools 1.0. Yay.

    Bumped pip and setuptools for python and python3.
    I whish we had formula revisions already now.
    But on the other hand there is no hurry as the
    changes to pip/setuptools are not major.
    samueljohn committed Aug 21, 2013
  6. python & python3: Don't tell how to upgrade pip

    Pip and setuptools can't be updated the way we write in the caveats.
    This is because pip fails to remove the symlink from the
    `brew --prefix`. Also we said that we don't like self-updating tools.
    
    We will rather update the python formula, and bump the revision
    (once we have the revision feature) when pip or setuptools get
    updated.
    samueljohn committed Aug 21, 2013
Commits on Aug 20, 2013
  1. Adding an example-formula.rb to show all features

    A huge cheat sheet. Kind of.
    samueljohn committed Mar 18, 2013