New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.
To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.
The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:
python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.
Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.
python do
system python, 'setup.py', "--prefix=#{prefix}"
end
Read more in the Homebrew wiki.
Building GraphViz.app requires a full install of XCode.app so building it
by default breaks the installation for users who only install the Command Line
Tools.
FixesHomebrew/homebrew#14431.
Graphviz can build universally if it is built with a universal
pcre, swig, and gettext. Add a `--universal` option. Change
to using sha1. Leave the `fails_with` build version alone because
Graphviz builds on Mountain Lion with clang-4.0.
Tested on ML with clang and llvm from XCode-4.4.
FixesHomebrew/homebrew#13827ClosesHomebrew/homebrew#13927.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
graphviz builds its application bundle as Graphviz.app; a typo was
preventing it from installing correctly on case-sensitive systems.
FixesHomebrew/homebrew#9348.
Add a comment to Pango explaining why Cairo is required on Lion. Remove Cairo
dependencies from Graphviz as the Pango dependency will include it if needed.
ClosesHomebrew/homebrew#8821.
ClosesHomebrew/homebrew#9238.
- enable Quartz backend
- Cairo/Pango are now optional; if not enabled, PDF output is done with Quartz
- enable language bindings by default (option to disable)
- build GraphViz.app
ClosesHomebrew/homebrew#9100.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Linking with '-lltdl' fails on Lion and/or with XCode 4.2. The patch is
already in the upstream development version and will be in the next
release.
ClosesHomebrew/homebrew#7503.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.