| 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.
|
|
|
|
Removes any global methods from formulae, and moves #kext_prefix (which
seems to be at least somewhat abstractable) into the Formula class. The
only formula with global methods is now aspell; it (and its generating
script in contrib) has been changed to prefix that method with
`aspell_`, to minimize the risk of name collisions.
Closes #19331.
Closes #19343.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Upgrade pyside to version 1.1.1, which supports Qt-4.8.
Add and out of source build to match shiboken, seeing as shiboken
is also from the same developers.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested with and it needs shiboken >= 1.1.1.
Closes #13331.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
This reverts commit ea1a9e603abe3dab90bf5b157d2614cf58e2cc8e.
Argh. Unrelated PySide changes slipped in.
|
|
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an
integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it
returned a string.
Now, the function always returns an integer.
Fixes #12033.
|
|
|
|
Also updates the following dependencies:
- ApiExtractor
- GeneratorRunner
- Shiboken
Also clean up dependency statements.
|
|
Also updates dependencies:
- apiextractor
- generatorrunner
- shiboken
|
|
Also updates dependencies:
- apiextractor
- generatorrunner
- shiboken
|
|
Also updates apiextractor, generatorrunner and shiboken.
|
|
Corrected the site-packages paths for pyside and pyside-tools to agree with
python's formula.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
PySide is a set of LGPL-licensed Python bindings for the Qt libraries that is
mostly compatible with PyQt.
This formula builds the Python run-time modules. For development tools such as
Qt UI and Resource compilers, see the PySideTools formula.
|