3595 Commits

Author SHA1 Message Date
Jack Nagel
d77240a98c Iterate over these directly rather than mapping first 2013-08-14 13:02:50 -05:00
Jack Nagel
603d8f9d4d Return value of modify_build_environment is unimportant 2013-08-14 13:01:35 -05:00
Jack Nagel
f8c34b5dc1 Reverse conditional 2013-08-14 12:46:37 -05:00
Jack Nagel
3857f83e9c Collapse to one-liner 2013-08-14 12:46:12 -05:00
Jack Nagel
3d39a57118 No need to map, all? takes a block 2013-08-14 12:45:54 -05:00
Jack Nagel
4d2188cc90 Add missing false 2013-08-14 12:41:52 -05:00
Jack Nagel
5561d3d09c Remove stray space 2013-08-14 12:41:15 -05:00
Adam Vandenberg
7c1671667f pathname: remove unused return values
Return value was used only by one test, rewrote test to know expected value.
2013-08-13 20:41:08 -07:00
Jack Nagel
b730a85e3a Remove outdated comment 2013-08-13 17:09:25 -05:00
Jack Nagel
d08508f7c7 Avoid reading whole files into memory during decompression 2013-08-13 16:43:51 -05:00
Jack Nagel
22365f2f6d Improve checksum perf by providing an output buffer 2013-08-13 15:40:48 -05:00
Misty De Meo
f960cf94d1 Doctor: missed CLT URL replacement 2013-08-10 22:30:15 -07:00
Misty De Meo
49cd13406b Update URL for CLT download
http://connect.apple.com is still down, but
https://developer.apple.com/downloads has all of the Apple developer
downloads available.

Fixes Homebrew/homebrew#21812.
2013-08-10 22:05:18 -07:00
Jack Nagel
14dd61fc87 Check that the cellar exists in Formula.installed
Fixes Homebrew/homebrew#21741.
2013-08-10 19:56:29 -05:00
Jack Nagel
966e82663f Make usage of ObserverPathnameExtension more obvious
Remove use of globals.

Closes Homebrew/homebrew#21795.
2013-08-10 19:02:00 -05:00
Jack Nagel
23fbe23426 Allow specifying a custom PATH for which method
Closes Homebrew/homebrew#21794.
2013-08-10 19:01:50 -05:00
Jack Nagel
d5325eb4e4 Always prune empty toplevel directories when unlinking
Closes Homebrew/homebrew#21750.
2013-08-09 20:55:54 -05:00
Jack Nagel
e4b951520a Keep track of pruned parent directories 2013-08-09 20:50:43 -05:00
Jack Nagel
1d8a85c0ae Add tests to demonstrate failure to prune empty directories 2013-08-09 20:50:43 -05:00
Jack Nagel
bca37554b7 Remove hardcoded paths in keg tests 2013-08-09 20:50:42 -05:00
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
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