Misty De Meo
77277da8ff
Doctor: missed CLT URL replacement
2013-08-10 22:30:15 -07:00
Misty De Meo
2f147fb8d1
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 #21812 .
2013-08-10 22:05:18 -07:00
Jack Nagel
3494186615
Check that the cellar exists in Formula.installed
...
Fixes #21741 .
2013-08-10 19:56:29 -05:00
Jack Nagel
99976efeed
Make usage of ObserverPathnameExtension more obvious
...
Remove use of globals.
Closes #21795 .
2013-08-10 19:02:00 -05:00
Jack Nagel
8508bdf985
Allow specifying a custom PATH for which method
...
Closes #21794 .
2013-08-10 19:01:50 -05:00
Jack Nagel
11c9eca76b
Always prune empty toplevel directories when unlinking
...
Closes #21750 .
2013-08-09 20:55:54 -05:00
Jack Nagel
102f760f9a
Keep track of pruned parent directories
2013-08-09 20:50:43 -05:00
Jack Nagel
16f134c14f
Add tests to demonstrate failure to prune empty directories
2013-08-09 20:50:43 -05:00
Jack Nagel
2ae78fd9a2
Remove hardcoded paths in keg tests
2013-08-09 20:50:42 -05:00
Jack Nagel
a4cc482162
Remove keg test dependency on formula
2013-08-09 20:50:42 -05:00
Jack Nagel
9733e244f9
Move MacOS.xcode43_without_clt? into Xcode module
2013-08-09 20:47:28 -05:00
Adam Vandenberg
2a89cc64da
Add fedora to brew search
2013-08-09 09:32:51 -07:00
Adam Vandenberg
7b08093348
alphabetize list
2013-08-08 21:57:13 -07:00
Adam Vandenberg
c15b3f9dbf
Add SourceForge hg pattern
2013-08-08 21:56:18 -07:00
Jack Nagel
d471f96fc5
cleaner: traverse directories in postorder
2013-08-08 20:52:52 -05:00
Adam Vandenberg
1ce1c9162a
exception style
2013-08-08 11:17:16 -07:00
Samuel John
14a315e358
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
d93c0b9caf
Improve docs for Formula#python (python_helper)
2013-08-08 11:55:45 +02:00
Samuel John
36ad1d552b
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
b024703426
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
72dfc1b5c0
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
7dfd1b3436
Use MacOS::X11 path helpers
2013-08-06 19:24:19 -05:00
Jack Nagel
772ef72d15
Eliminate MacSystem module
2013-08-06 19:24:19 -05:00
Jack Nagel
514d914625
MacSystem now just wraps MacOS
2013-08-06 19:24:19 -05:00
Jack Nagel
85b2d83eac
Remove more dead code
2013-08-06 19:24:18 -05:00
Jack Nagel
1c9b57e38a
Don't use exceptions for flow-control
2013-08-06 19:24:18 -05:00
Jack Nagel
431692a725
Raise a useful message
2013-08-06 19:24:17 -05:00
Jack Nagel
2679f68cf1
style
2013-08-06 19:24:17 -05:00
Jack Nagel
f57ec1fe26
Make this logic less confusing
2013-08-06 19:24:17 -05:00
Jack Nagel
6a84f2882c
Remove dead code
2013-08-06 19:24:17 -05:00
Jack Nagel
089153bd46
Enable connection timeouts when mirrors are available
...
Closes #21623 .
2013-08-06 12:54:47 -05:00
Adam Vandenberg
f6acb06bfe
Add opensuse package search
2013-08-05 15:05:02 -07:00
Adam Vandenberg
de9ff43b81
ENV: add usage note to ncurses_define
2013-08-05 14:47:02 -07:00
Camillo Lugaresi
fa30121991
better debugging of failed formula loading
...
Closes #21680 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2013-08-05 14:03:20 -07:00
Adam Vandenberg
9dce44474f
Search marcqualie/nginx
...
Closes #21678 .
2013-08-05 13:32:23 -07:00
Adam Vandenberg
7ded3ef393
fix printing of unexpected bin/lib files
2013-08-05 13:31:35 -07:00
Tijs Zwinkels - TinkerTank
96bd4d4683
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
e5ca1403c2
superenv: document O CCCFG flag
2013-08-04 22:37:52 -07:00
Mike McQuaid
da904368d4
bottles: update version regex messaging.
2013-08-04 08:25:51 -07:00
Mike McQuaid
5bbe98f3a1
bottle_versions: add ssh_copy_id bottle detection.
2013-08-03 22:27:42 -07:00
Mike McQuaid
36dcc6ba02
bottle_versions: add perforce bottle detection.
2013-08-03 22:27:42 -07:00
Mike McQuaid
ee972d943b
bottles: use dedicated version class.
2013-08-03 22:27:42 -07:00
Mike McQuaid
b9b5ff7719
versions: remove perforce bottle detection.
2013-08-03 22:27:42 -07:00
Adam Vandenberg
90ccfc36e6
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
2a74430831
Add comment to superenv ENV to note trailing if
2013-08-03 10:27:52 -07:00
Adam Vandenberg
4180510d86
Add homebrew-binary to search
2013-08-03 10:27:45 -07:00
Ches Martin
0abe3d08e9
brew-create: don't break when given --set-version
...
Since 9f2782812c , 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
26503dacdf
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 #21617 .
2013-08-02 18:25:17 -05:00
Jack Nagel
4b51e119a8
Improve signal-to-noise ratio of brew list --unbrewed
...
Closes #21573 .
2013-08-01 22:13:46 -05:00
Adam Vandenberg
969e59cabd
Document superenv HOMEBREW_CCFG flags
2013-08-01 20:12:23 -07:00