| Age | Commit message (Collapse) | Author |
|
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.
|
|
Closes #19650.
|
|
Closes #17606.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #15937.
|
|
Closes #15502.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14746.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes #9191.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
|
|
Apparently the Erlang bindings don't build reliably either.
Closes #7427.
|
|
Closes #7319.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
Closes #6575.
|
|
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.
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
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>
|
|
Closes #3896.
|
|
|
|
Fixes #2952
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: David Höppner <0xffea@gmail.com>
* remove version var
|
|
Signed-off-by: Adam Vandenberg <flangy@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
|
|
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.
|
|
|
|
|
|
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.
|
|
Dependency to boost c++ lib was missing and thrift cannot be built without
|
|
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.
|