4367 Commits

Author SHA1 Message Date
Jack Nagel
1074221a22 Remove keg test dependency on formula 2013-08-09 20:50:42 -05:00
Jack Nagel
755c786040 Move MacOS.xcode43_without_clt? into Xcode module 2013-08-09 20:47:28 -05:00
Adam Vandenberg
bcaa823538 Add fedora to brew search 2013-08-09 09:32:51 -07:00
Adam Vandenberg
b1f394f807 alphabetize list 2013-08-08 21:57:13 -07:00
Adam Vandenberg
a3796d7b72 Add SourceForge hg pattern 2013-08-08 21:56:18 -07:00
Jack Nagel
ab60b0114a cleaner: traverse directories in postorder 2013-08-08 20:52:52 -05:00
Adam Vandenberg
bb142f4e3b exception style 2013-08-08 11:17:16 -07:00
Samuel John
81468054e0 Don't hard-code PYTHONPATH for brew test
This rules out any possibility to test Python 3.x software as the
PYTHONPATH is used by any Python and `brew test pyqt --with-python3`
fails because it picks up the `pyqt` module fomr Python 2.x's
site-packages. Upstream tells us not to set the PYTHONPATH and then
starting another (major) python version.
2013-08-08 11:57:51 +02:00
Samuel John
5bb82e3071 Improve docs for Formula#python (python_helper) 2013-08-08 11:55:45 +02:00
Samuel John
a73012def4 Python: Exit if PYTHONPATH is wrong
In our sitecustomize.py we instruct python to exit with an error message
if the PYTHONPATH is pointing to a wrong homebrew site-packages dir.
With wrong meaning another major python version.

If you set the PYTHONPATH to include
    $(brew --prefix)/lib/python2.7/site-packages
and start python3, it may pick up modules from there, wich can result
in errors for non pure python modules (such as PyQt).
2013-08-08 11:54:42 +02:00
Samuel John
c968f8302f For brewed python, make sure to unset the PYTHONPATH
during building of python software inside of a `python do … end` block.
2013-08-08 11:50:46 +02:00
Samuel John
fe61524e03 python_helper prepends PYTHONPATH
…instead of appending. This should be safer against any
malformed user-defined values in the PYTHONPATH.
2013-08-08 11:48:16 +02:00
Jack Nagel
0456e7e5a5 Use MacOS::X11 path helpers 2013-08-06 19:24:19 -05:00
Jack Nagel
9c300020f8 Eliminate MacSystem module 2013-08-06 19:24:19 -05:00
Jack Nagel
8a14b91d01 MacSystem now just wraps MacOS 2013-08-06 19:24:19 -05:00
Jack Nagel
397ccc9968 Remove more dead code 2013-08-06 19:24:18 -05:00
Jack Nagel
326f50ae3f Don't use exceptions for flow-control 2013-08-06 19:24:18 -05:00
Jack Nagel
e7ee57d5e5 Raise a useful message 2013-08-06 19:24:17 -05:00
Jack Nagel
f6622b06e5 style 2013-08-06 19:24:17 -05:00
Jack Nagel
467419c1f3 Make this logic less confusing 2013-08-06 19:24:17 -05:00
Jack Nagel
3ff3e74438 Remove dead code 2013-08-06 19:24:17 -05:00
Adam Vandenberg
6a6b319a8b update search bash completion 2013-08-06 16:01:28 -07:00
Jack Nagel
3dea341732 Enable connection timeouts when mirrors are available
Closes Homebrew/homebrew#21623.
2013-08-06 12:54:47 -05:00
Adam Vandenberg
5600713bbb Add opensuse package search 2013-08-05 15:05:02 -07:00
Adam Vandenberg
20986e3ff5 ENV: add usage note to ncurses_define 2013-08-05 14:47:02 -07:00
Camillo Lugaresi
6a8387ad4a better debugging of failed formula loading
Closes Homebrew/homebrew#21680.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-05 14:03:20 -07:00
Adam Vandenberg
1540b3aadd Search marcqualie/nginx
Closes Homebrew/homebrew#21678.
2013-08-05 13:32:23 -07:00
Adam Vandenberg
5f6b10f39a fix printing of unexpected bin/lib files 2013-08-05 13:31:35 -07:00
Tijs Zwinkels - TinkerTank
008476940f Add support for the :ssl3 download-strategy.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-05 09:12:32 -07:00
Misty De Meo
db8e8c780e superenv: document O CCCFG flag 2013-08-04 22:37:52 -07:00
Mike McQuaid
5104fd21a5 bottles: update version regex messaging. 2013-08-04 08:25:51 -07:00
Mike McQuaid
98c3d39e65 bottle_versions: add ssh_copy_id bottle detection. 2013-08-03 22:27:42 -07:00
Mike McQuaid
b507536f80 bottle_versions: add perforce bottle detection. 2013-08-03 22:27:42 -07:00
Mike McQuaid
cfdd23b3ef bottles: use dedicated version class. 2013-08-03 22:27:42 -07:00
Mike McQuaid
705a248719 versions: remove perforce bottle detection. 2013-08-03 22:27:42 -07:00
Adam Vandenberg
73547fc750 Remove ARCHFLAGS fixme from Python dependency
This will be handled by env/superenv, not Python.
2013-08-03 10:28:57 -07:00
Adam Vandenberg
71a4b8c6b9 Add comment to superenv ENV to note trailing if 2013-08-03 10:27:52 -07:00
Adam Vandenberg
583dd38b08 Add homebrew-binary to search 2013-08-03 10:27:45 -07:00
Adam Vandenberg
ba0bebd343 regenerate man page 2013-08-03 10:11:52 -07:00
Ches Martin
6f908880d8 man page: fix argument order for brew create
The implementation requires that the URL is the first argument.

Closes Homebrew/homebrew#21597.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-03 10:11:12 -07:00
Ches Martin
7d30e4445e brew-create: don't break when given --set-version
Since 9f2782812cbaf2, specifying a version breaks with:

    Error: undefined method `detected_from_url?' for "1.2.2":String

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-03 10:11:11 -07:00
Jack Nagel
ba96851606 Always load net/https before referencing related constants
I put this require inside the method body, because eager-loading
net/https is slow compared to the rest of Homebrew, and utils.rb is
loaded for each `brew` invocation.

It's probably worth breaking up global.rb a bit, to reduce the amount of
code we are loading unnecessarily, but hopefully also to make inter-file
dependencies a bit more obvious.

Fixes Homebrew/homebrew#21617.
2013-08-02 18:25:17 -05:00
Jack Nagel
faf0a7204a Improve signal-to-noise ratio of brew list --unbrewed
Closes Homebrew/homebrew#21573.
2013-08-01 22:13:46 -05:00
Adam Vandenberg
27c53e5ba8 Document superenv HOMEBREW_CCFG flags 2013-08-01 20:12:23 -07:00
Misty De Meo
ea3861d296 ArchRequirement: support :intel, :ppc 2013-08-01 19:57:05 -07:00
MerelyAPseudonym
1dc2e12f3a fix typo
Closes Homebrew/homebrew#21601.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-01 17:22:51 -07:00
Jack Nagel
36f5452ae3 Handle mkpath of node_modules directory in keg 2013-07-31 13:51:05 -05:00
Samuel John
7aa86d3313 Increase copyright year in LICENSE to 2013 2013-07-31 09:49:03 +02:00
Misty De Meo
0845341de3 cc: delegate cpp to the real tool, not compiler
Fixes Homebrew/homebrew#21527.
2013-07-30 18:41:27 -07:00
Misty De Meo
f274ad3250 superenv: fix locating non-Xcode gcc-4.2 2013-07-29 18:45:03 -07:00