aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
AgeCommit message (Collapse)Author
2012-08-20python: optional deps are really recommendedJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-20python/python3: don't duplicate TkCheck requirementJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18python: ENV.minimal_optimization. Remove 2to3 fixsamueljohn
- 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>
2012-08-14python: tighten '2to3' checkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-14python: update commentsJack Nagel
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>
2012-08-13python: fix typoJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13python: use options DSLJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-08python: Now framework style. Bug fixes.samueljohn
- 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>
2012-07-26distribute 0.6.28papaeye
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-24Python: add check for rogue Tk frameworkAdam Vandenberg
Fixes #11602.
2012-06-12python: Install pipsamueljohn
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>
2012-05-23python: caveats tell the correct Framework linkssamueljohn
The old ~/Frameworks is and never was a standard. It should be under Library. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-21distribute 0.6.27Adam Vandenberg
subformula of Python, Python 3, PyPy
2012-05-06python: validate output in testJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-12Python checks for pkg-config at configure timeAdam Vandenberg
2012-04-11Python 2.7.3 + distribute 0.6.26Adam Vandenberg
2012-03-16Python: use distribute 0.6.25.Jannis Leidel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-25Python: add more references for bugAdam Vandenberg
2012-02-25Python: style tweakAdam Vandenberg
2012-02-25Python requires -fwrapv for Decimal divisionClay McClure
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>
2012-02-25Python: add Decimal division testAdam Vandenberg
2012-02-25Python 2/3: add effective_includeAdam Vandenberg
2012-01-10Python: always remove HAVE_POLLAdam Vandenberg
2011-11-15Python: show where distutils.cfg is written to in caveatsAdam Vandenberg
2011-10-28Distribute 0.6.24Adam Vandenberg
2011-09-22python: update distribute md5Richard West
http://pypi.python.org/packages/source/d/distribute/ Closes #7765. Closes #7768. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-21Add gdbm patches to python and python3 formulaeJack Nagel
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>
2011-09-01Python: edit and add commentsAdam Vandenberg
2011-09-01Python 2.7.2: use newer distributeAdam Vandenberg
2011-08-30Python: Add `pythonw` for non-Framework installsAlexei Sholik
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>
2011-07-16Python 2.7.2: Use newer distributeAdam Vandenberg
2011-06-18Python: fix version number in commentsAlexey Palazhchenko
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-12Python 2.7.2Kenneth Reitz
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-23Use ARGV.build_universal?Adam Vandenberg
2011-04-04Rewrite caveats to new style.Adam Vandenberg
To make it easier to copy and paste multiline scripts from caveats, no longer use $ as a prompt marker.
2011-03-29python: better site-packages and install-scriptsAdam Vandenberg
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.
2011-03-17Add option to python formula to remove pollYacin Nadji
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>
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2010-11-28Updated Python formula to 2.7.1.Jannis Leidel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30Python - update bin folder in caveatsAdam Vandenberg
Be more specific for Framework builds about where the binaries folder is. Fixes #2962
2010-10-13Python - Allow extensions in SQLite.Tobias Kräntzer
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-09Tweaks to Python 2.xAdam Vandenberg
2010-07-09Bumped Python version up to 2.7.Jannis Leidel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-03Python - update formulaAdam Vandenberg
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)
2010-05-25Python - ENV.j1 for installAdam Vandenberg
2010-04-02Update Python to 2.6.5Adam Vandenberg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-12Update Python formulaAdam Vandenberg
* Add some optional dependencies * Fix framework switches * Remove library "optimization"; it breaks framework installs and other exotic builds
2009-12-22python formula: fix readline completion in replAlexander Solovyov
2009-12-21Fix --intel switchMax Howell
Also renamed --universal, but the --intel switch still works.
2009-12-12Reformat Python, use post-fix ifAdam Vandenberg