Commit Graph
36 Commits
Author SHA1 Message Date
Jack Nagel 06af3bd503 thrift: use spec deps 2013-09-21 21:05:07 -05:00
phillc 34136d2bd9 thrift: fix --HEAD
Closes #22218.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-30 09:43:29 -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
Adam Vandenberg 90673bf50a thift: don't copy x11 m4 file
Closes #19650.
2013-05-16 08:45:14 -07:00
motammi 3b8bb7497c thrift: patch for missing headers
Closes #17606.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-08 09:19:23 -08:00
Adam Vandenberg 42d1e1b8eb thrift: add php bindings to caveats
Closes #15937.
2013-02-02 15:50:11 -08:00
Diwaker Gupta 2a416c9e7e Thrift 0.9.0
Closes #15502.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-29 10:04:31 -07:00
Alin Popa e5475d93e6 thrift: add language bindings
Closes #14746.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-25 10:59:34 -07:00
Jack Nagel a1c0cc6717 Avoid referencing MACOS_VERSION directly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04 18:15:31 -05:00
Adam Vandenberg 5401d76db0 thrift: use new dsl 2012-08-22 21:23:14 -07:00
Jack Nagel 524e42a7e1 Adjust XQuartz/X11 module naming scheme
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-06 00:39:06 -05:00
Jack Nagel ebe8e83571 Update formulae for new XQuartz module 2012-08-01 00:31:39 -05:00
Jack Nagel a2d4d9d832 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Jack Nagel a98193f1c3 thrift: use ARGV.build_head?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-08 20:34:14 -05:00
Eric Rauer ce4e35fb95 thrift 0.8.0
Closes #9191.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2011-12-20 07:56:10 -06:00
Charlie Sharpsteen 141ddb6eb1 Thrift: Disable Erlang language bindings
Apparently the Erlang bindings don't build reliably either.

Closes #7427.
2011-09-06 07:20:26 -07:00
Diwaker Gupta 74f7cf90ef Thrift: Update to 0.7.0
Closes #7319.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-04 17:30:08 -07:00
Max Howell 54ff63335b Fix Thrift on Lion
Closes #6575.
2011-09-01 08:47:45 +01:00
Max Howell 14e4db35a8 Use Apache’s closer.cgi where appropriate
Some of these were pointing at archive.apache.org. Now they aren’t, I investigated for good rationale for using the archive before altering it.

mod_python still uses archive.apache.org as that is the only place it exists that I could find.

jsvc *now* uses apache.archive.org as the formula was otherwise broken and the binary tarball it needs no longer exists on the main mirrors.
2011-07-27 10:41:17 +01:00
Bo Xiao 66f77a3e62 thrift: correct svn url
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-17 10:12:59 -07:00
Mike Ryan b2d3927ffb thrift 0.6.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-04 19:49:03 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
George Kulakowski fe0a6e1e4b Fix thrift when ghc is installed
Thrift wants to install various language bindings. Per homebrew policy, all of these are by default disabled. However, the Haskell bindings were overlooked, because it does not attempt to build them unless ghc is installed. This commit lets thrift build when the ghc brew is installed.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-18 16:42:24 -08:00
Mike McQuaid 0f36cd51a8 Fix thrift parallelism.
Closes #3896.
2011-01-20 22:39:13 +00:00
Adam Vandenberg 8ef4f58818 thrift - reformat 2010-10-30 15:59:05 -07:00
Adam Vandenberg 7d1be624fa thrift - configure switch changed
Fixes #2952
2010-10-30 15:57:13 -07:00
Adam Coffman 32853cdae1 update thrift to v 0.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-25 21:12:30 -07:00
Johan Oskarsson 45238772f2 Upgraded to thrift 0.4.0
Signed-off-by: David Höppner <0xffea@gmail.com>

* remove version var
2010-08-27 17:48:04 +02:00
Bas Kok 67ec3c0f2d bumped thrift version to 0.3.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-21 10:45:46 -07:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00
Max Howell 652a197781 Don't install Thrift scripting bindings
You can install them with easy_install/gem. I confess I don't know if these are worse? But they install outside the Homebrew prefix (/Library/Ruby etc.) so it's against policy.

We could add a flag for it though if this method is better.
2010-03-28 02:41:35 +01:00
Johan Oskarsson 8ac0830276 Added support for Thrift 0.2.0 2010-03-28 02:41:34 +01:00
Max Howell c4decd76fb String.undent for prettier HEREDOCs 2010-03-07 17:57:05 +00: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
Renaud (Nel) Morvan c0bd6611de fix thrift formula
Dependency to boost c++ lib was missing and thrift cannot be built without
2009-10-12 17:48:32 +01:00
Ask Solem 41a046564f Thrift formula
Thrift is a software framework for scalable cross-language services
development. It combines a powerful software stack with a code generation
engine to build services that work efficiently and seamlessly between C++,
Java, Python, PHP, and Ruby. Thrift was developed at Facebook and released as
open source.
2009-09-03 16:34:35 +01:00