Commit Graph
21 Commits
Author SHA1 Message Date
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 0b2c6461a3 zookeeper 3.4.5 2012-11-19 09:44:08 -08:00
Adam Vandenberg 21837073ae zookeeper: fix option checking
Fixes #15267.
2012-10-03 06:43:28 -07:00
Diwaker Gupta 4286f0e15c ZooKeeper 3.4.4
Closes #15110.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-25 11:27:57 -07:00
Adam Vandenberg 37bfe95603 zookeeper: use new dsl 2012-08-23 15:11:55 -07:00
Adam Vandenberg d8c8ea2015 zookeeper: style updates 2012-08-08 22:01:38 -07:00
Adam Vandenberg ebdd051017 zookeeper: use options dsl 2012-08-08 22:01:38 -07:00
Adam Vandenberg 1f32fa43a7 Use autotools symbols 2012-07-10 08:56:02 -07:00
Dusty Leary 84371b3b22 zookeeper: make C binding optional
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-15 20:21:31 -07:00
Max Howell 56771ee060 More formula that now depend on automake
gst-plugins-base didn't need the autoreconf in any form I could see. So removed.
2012-02-29 02:03:26 +00:00
Matt Blair a6b29f9c8e zookeeper 3.4.3
Closes #10267.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-17 14:05:56 -06:00
Diwaker Gupta 601c001c5c ZooKeeper 3.4.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-11 19:08:56 -08:00
Brett Koonce 6e2d550cf4 Fix spelling mistakes
Closes #9449.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 09:43:54 -06:00
mumhero 483f5da158 zookeeper 3.3.4
Closes #8982.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-12-06 10:45:58 -08: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
Kevin Clark 6d047c7273 zookeeper: Don't build PPC extensions
Default $ARCHFLAGS includes ppc, which doesn't work on modern systems

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-12 07:34:09 -07:00
nicholas harteau b8c76f97e2 update zookeeper to 3.3.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-27 13:26:44 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg 259efc47cf zookeeper - fix audit warnings 2011-03-03 07:48:16 -08:00
Dan Sully 80b1bd8b90 Zookeeper v3.3.2
Also adds:
* HEAD build
* C bindings
* Optional Python and Perl bindings.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-02 20:54:22 -08:00
Jiayong Ou 0b9cf36e2e New formula: zookeeper
ZooKeeper is a centralized service for maintaining configuration information,
naming, providing distributed synchronization, and providing group services.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-22 09:38:00 -07:00