| Age | Commit message (Collapse) | Author |
|
It made the output harder to read.
|
|
|
|
The Python arch check in the Postgres formula was changed to use the new python
helper. This was incorrect. We specifically want to check for a 32-bit python
located in /Library.
|
|
Closes #21099.
|
|
|
|
Closes #20766.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Closes #20603.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
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.
|
|
This brings the formula in line with the postgres formulae in
homebrew-versions.
|
|
Fixes #18293.
|
|
Security update: CVE-2013-1899 CVE-2013-1900 CVE-2013-1901
Closes #18960.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #17663.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes #16873.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
Closes #16455.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94.
Turns out one of the "other things" is a dealbreaker.
We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.
So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
|
|
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.
The implications of this are:
- Anything that depends on readline will reinstall it as
"gnu-readline". Anything already installed will continue to function.
- "brew upgrade readline" will say "gnu-readline not installed", as
"readline" is now an alias.
- Probably other things.
So there are some downsides, but we will just have to deal with them.
Fixes #15776.
|
|
Closes #15079.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
We default to Os now, so we don't need to force O2.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
As always a dump and restore of a previous (9.1) database is required to
upgrade.
Closes #14834.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Closes #14662.
Signed-off-by: Ealden Esto E. Escanan <ealden@gmail.com>
Closes #14662.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
If we d not explicitly specify utf8 as the encoding, the server will be
initialized with ASCII encoding for the template1 database, which causes
problems when trying to create new databases with UTF8 encoding.
Closes #14149.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Fixes #14314.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes #14296.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes build on Mountain Lion
Fixes #10315.
Fixes #13639.
Closes #13803.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes #11162
Closes #12134
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #12644.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
A certain large cat doesn't work with ossp-uuid.
Closes #12210.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
Closes #10537.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Now individual formulae don't need to require this if they want to use
Hardware methods outside of `def install`.
|
|
|
|
Use basename to refer to plist file when loaded. Make cp lines same
across formulas.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.
plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.
c.f. #9346.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes #9449.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|