Commit Graph

8 Commits (160c3284973505eaf70bc6b7ae16b90581fcd3be)

Author SHA1 Message Date
Ian Lancaster 9c098cb9b6 Batch convert http urls from Google Code to https
Closes Homebrew/homebrew#27218.
2014-03-08 09:12:58 -08:00
Mike McQuaid eefdf6b3f3 formulae: fix with/without usage.
Closes Homebrew/homebrew#27275.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Samuel John f6e80bdea2 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
Jack Nagel 91292d00e7 liblunar: intltool is a build-time dep 2013-02-03 14:48:00 -06:00
nibbles 2bits e768dd7963 liblunar 2.2.5
Upgrade liblunar to version 2.2.5.
Add an optional dep on vala.
Add an option to build the python bindings using pygobject + gtk.
Add a build time dep on glib, otherwise it won't configure.
Add a build time dep on pkgconfig.

Closes Homebrew/homebrew#14719.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05 09:42:26 -05:00
Mike McQuaid 88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
David Höppner 9deb528559 New formula liblunar 2010-03-13 19:57:22 +01:00