Commit Graph
15 Commits
Author SHA1 Message Date
Brett Koonce ec448ae217 swig 2.0.11
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-17 19:05:23 -07:00
Victor Martinez 4392eba160 Fixed several broken sourceforge.net download locations
Closes #20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00
Brett Koonce 77decd3ae7 swig 2.0.10
Closes #20510.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14 13:35:53 -07:00
Samuel John 0b50110107 Python 2.x and 3.x support
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.
2013-06-03 17:29:43 +02:00
Brett Koonce cce7c0fd18 swig 2.0.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-03 08:45:09 -08:00
Dustin Lang ce2b082593 Update 2.0.8
Closes #14748.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-05 21:10:32 -07:00
Adam Vandenberg 4466cc1811 swig: use options dsl 2012-08-09 21:48:41 -07:00
nibbles 2bits 08749cf435 swig: add --universal option
Swig can build universally and can be used in Graphviz that way.
Add an option for `--universal`
Tested on ML with clan and llvm from XCode-4.4.

Closes #13926.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-03 19:28:25 -07:00
nibbles 2bits 996677311f swig 2.0.7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-11 07:00:08 -07:00
Konstantin Tennhard 293be9d0db swig 2.0.6
Closes #11953.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-29 19:32:44 -05:00
Jelmer 0d8d92bfcd swig 2.0.4
Lion does not come with swig, and Snow Leopard has an older 1.3.x version.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-12 12:33:46 -07:00
Max Howell f5779b86fd Swig comes with OS X all versions 2009-10-23 19:20:15 +01:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell e25b647e6a Deversion swig/share
Versioning dirs is redundant with Homebrew so I try to remove it where possible.
2009-10-15 15:54:08 +01:00
Björn B. Brandenburg 0eda9d868a Add Formula for Swig 1.3.40 2009-10-15 15:54:07 +01:00