| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
- Extras now in HOMEBREW_PREFIX/share/python/Extras instead of
HOMEBREW_PREFIX/share/python2.7/Extras
- Assure no '-march=...' or '-msse4' or similar flags are there
because `python-config --cflags` reports them later and can
break certain c-extensions. (happend for SciPy).
Closes #14199.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
We only offer framework builds, so remove comments that suggest
otherwise.
Use HOMEBREW_PREFIX instead of `brew --prefix`, as that is what is
available inside of the formula, and how it is referenced elsewhere in
Homebrew.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
- Framework style build in order to support wxmac and other GUIs
(Note: PySide (and pyqt?) seem to work even with non-framework builds).
- Fixed automatic installation of `*.app`s into `/Applications`.
- The caveats tell us now about `brew link apps`.
- Cleanup of the caveats.
- Resolve the issue of duplicate `2to3` can make the symlink phase
to break because both python and python3 provide it. (Closes #12581)
- Enable warnings, because python's configure needs it. (Closes #12194)
- Add suppression of recommended warnings from the python docs.
- Add work-a-round for python bug: http://bugs.python.org/issue11445
- Add explicit test if sqlite3 built successful.
- Check against possible issue like #12667.
- Add needed "depends_on :x11" because tk.h includes x11.
- Install the Demo into HOMEBREW_PREFIX/share/python2.7/Extras
- Ensure sqlite from homebrew is used and not the one from OS X.
- Removed unnecessary flags from configure
- Added --without-gcc to the configure flags (all clang now)
- Ensure that "man python2.7" works by setting --datadir and --datarootdir to share.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Fixes #11602.
|
|
Using the recommended way of installing stuff
nowadays: pip. easy_install is still in place
and can be used but pip supports uninstalling
and other features easy_install lacks.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
The old ~/Frameworks is and never was a standard.
It should be under Library.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
subformula of Python, Python 3, PyPy
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
According to:
http://stackoverflow.com/questions/7590137/dividing-decimals-yields-invalid-results-in-python-2-5-to-2-7
the Python interpreter must be built with -fwrapv for proper Decimal division.
To test:
python -c "from decimal import Decimal; print Decimal(4) / Decimal(2)"
If built with -fwrapv, this yields 2.
Closes #10487.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
http://pypi.python.org/packages/source/d/distribute/
Closes #7765.
Closes #7768.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
This takes care of the issue described here (recognizing gdbm 1.9.x
databases): http://www.gossamer-threads.com/lists/python/bugs/942749
The patches are already in their respective upstream repositories, so
they will presumably be included in the next Python 2.7.x and 3.2.x
releases.
Closes #7738.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
We hardlink pythonw and pythonw2.7 to python and python2.7 respectively.
They may be used by 3rd party tools (like PyQt4) and, for some reason, python's
install script doesn't provide them when doing a non-framework install.
The man page (which comes with Mac OS X) on pythonw reads:
As of Python 2.5, python and pythonw are interchangeable; both execute
Python in the context of an application bundle, which means they have access
to the Graphical User Interface; thus both can, when properly programmed,
display windows, dialogs, etc.
See also this discussion https://github.com/mxcl/homebrew/issues/6176.
Hardlinks are placed in the same directory in which python and python2.7 reside
in order to be symlinked to /usr/local/bin as part of the installation process.
This also ensures a clean uninstall of the formula.
Closes #6248.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
To make it easier to copy and paste multiline scripts from caveats,
no longer use $ as a prompt marker.
|
|
Previous versions of the Python 2.x formula did not set up the
site-packages and install-scripts folders in a way friendly to updates
of Python itself.
|
|
Apple's implementation of poll does not support devices, which causes socket
operations that rely on a properly functioning poll to fail with Errno 35 [2].
This creates an option to strip out poll entirely, which is what Apple does
for the binaries they package with the OS [1].
1: https://svn.macports.org/ticket/18376
2: http://bugs.python.org/issue5154
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Be more specific for Framework builds about where the binaries
folder is.
Fixes #2962
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Many updates and (hopefully) improvements to the Python formula, including:
* Build as shared by default.
* Better handling of Framework builds.
* More reasonable Homebrew+site-packages support.
* Documentation (as a comment in the formula)
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
* Add some optional dependencies
* Fix framework switches
* Remove library "optimization"; it breaks
framework installs and other exotic builds
|
|
|
|
Also renamed --universal, but the --intel switch still works.
|
|
|