| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Add an explicit option to silence audit warnings.
|
|
Style fix in PythonInstalled req. that is :recommended.
|
|
Fixes #20426
|
|
- Python 2.7+ is needed for current version. A fix to
build with Python 2.6 has been recently added to
the master:
https://git.gnome.org/browse/libxml2/commit/?id=722923bc9b788f028e4221c77138fc66735a3113
- So for system python on 10.6, you'll have to use
the --HEAD for now.
- Fix audit not detecting the `if python` after
the def caveats.
|
|
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 #17745.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes #13511.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
This reverts commit 202119e0e3ee20c72940be5ff38bc36d3e331d41.
|
|
- Since libxml2 is a dupe, we have to assure to link against it and not system's python.
- Unless the CLT are present, apply a patch for the linking step.
- Help libxml2/python/setup.py to find libiconv headers.
Closes #13511.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
- Build Python bindings manually so we can exert some semblance of
control over where they are installed.
Tentatively fixes #12078.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
Adds a --with-python option, addressing Homebrew issue #2303:
http://github.com/mxcl/homebrew/issues/issue/2303/
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Fixes #2303
Fixes #3025
|
|
|
|
* 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
|
|
|
|
|
|
Providing a keg only version of libxml2. The one provided by Mac is old and doesn't contain some files used by some games.
|