5601 Commits

Author SHA1 Message Date
Camillo Lugaresi
cbd14fde1e Correctly find Homebrew-installed fortran
Fixes Homebrew/homebrew#26338.
Closes Homebrew/homebrew#26352.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-02 14:13:53 -05:00
Misty De Meo
d885d98164 C++ stdlibs: issue warning, don't fail the build 2014-02-02 11:04:30 -08:00
Misty De Meo
edf474cb63 C++ stdlib check: don't check executables for deps
This avoids some possible false positives, as happens with, e.g., qt4.
2014-02-02 11:04:30 -08:00
Mike McQuaid
8b969e981c caveats: tweak app bundle message. 2014-02-02 10:11:48 +00:00
Mike McQuaid
d83ed0d793 bottle: improve bottle commit writing. 2014-01-31 19:07:57 +01:00
Mike McQuaid
2e7c423609 bottle: show diff before trying to commit. 2014-01-30 16:58:12 +01:00
Mike McQuaid
a42ac924dd language_module_dependency: don't use build_env.
This is so a e.g. brewed Python's modules can be found by superenv.

References Homebrew/homebrew#26229.
Closes Homebrew/homebrew#26197.
2014-01-30 09:51:42 +01:00
Adam Vandenberg
92203ceaca don't trigger VCS when patching
When patching read-only files, patch can try to check-out from
a VCS system when other conditions are met, such as environmental
variables being set.

Homebrew never wants to trigger this behavior, so pass --get=0.

Closes Homebrew/homebrew#26277.
2014-01-29 21:24:30 -08:00
Mike McQuaid
ed53bb333b python_dependency: cleanup and fix build env.
* Only set PYTHONPATH for Python 2.
* Set the Python binary for superenv.

References Homebrew/homebrew#24842.
Closes Homebrew/homebrew#26197.
Closes Homebrew/homebrew#26216.
Closes Homebrew/homebrew#26218.
Closes Homebrew/homebrew#26228.
2014-01-29 17:49:57 +01:00
Misty De Meo
b7781c4571 Revert "Add python superenv wrapper"
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
2014-01-27 20:46:04 -08:00
aereal
91524a384d Make brew tap error message more clear
Closes Homebrew/homebrew#25813.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-26 17:33:12 -06:00
Misty De Meo
ee76cf75af Add python superenv wrapper
Closes Homebrew/homebrew#26140.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-01-26 10:55:49 -08:00
Frizlab
5de3686cd2 upgrade: fix output when no packages to upgrade.
When upgrading, if the only package to upgrade is a
pinned package, the output looked like that:
	==> Upgrading 0 packages, with result:

	==> Not upgrading 1 pinned package:
	<<package_name & version>>

The blank line is not beautiful. This commit fixes
the output and replaces with:
	==> No packages to upgrade
	==> Not upgrading 1 pinned package:
	<<package_name & version>>

Closes Homebrew/homebrew#26157.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-26 18:04:20 +01:00
Mike McQuaid
2a2c9402b9 mac: note that we only track stable Xcode versions. 2014-01-22 17:48:47 -08:00
Mike McQuaid
63fcca2fc4 caveats: tweak python site-packages wording.
References Homebrew/homebrew#25789.
2014-01-21 09:02:06 -08:00
Mike McQuaid
689be66203 python_dependency: cleanup, fix satisfy.
Closes Homebrew/homebrew#26067.
2014-01-20 23:30:32 -08:00
Mike McQuaid
a65f649cf5 utils: improve issue searching.
* issues_matching now returns an array
* prints issues titles and URLs
* find_pull_requests shows closed PRs if no matching PRs are open

Closes Homebrew/homebrew#26032.
2014-01-20 17:58:50 -08:00
Mike McQuaid
28143fb653 PythonDependency: massive refactoring.
Closes Homebrew/homebrew#24842.
2014-01-20 15:42:52 -08:00
Mike McQuaid
cb024e222c bottle: only print relocations with --verbose. 2014-01-20 15:26:31 -08:00
Mike McQuaid
f4cd66a88f caveats: print .app caveats if installed to keg. 2014-01-19 14:19:07 -08:00
Mike McQuaid
d8d76da55f keg: add function to detect if .app(s) installed. 2014-01-19 14:19:07 -08:00
Mike McQuaid
91f7f68ec4 bottle: use new quoting style. 2014-01-19 10:06:46 -08:00
Misty De Meo
a506053b98 Only search open pull requests, not closed
Refs Homebrew/homebrew#25962.
2014-01-16 13:04:15 -08:00
David Larson
ddce205f3f LICENSE: copyright 2014.
Closes Homebrew/homebrew#25917.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-15 09:07:18 +00:00
Jack Nagel
8f89db4882 Fix typo 2014-01-11 21:28:25 -06:00
Jack Nagel
0f5a80a97b Fix tokenizing openssl style versions
Fixes Homebrew/homebrew#25736.
2014-01-11 20:00:34 -06:00
Jack Nagel
92ac63fd94 LanguageModuleDependency: remove code that only worked by accident
The array elements here are individual arguments to exec, not a string
to pass to the shell; this only appeared to work. In reality, `opam
list` accepts "|" as valid argument, and the command works fine without
grepping the output.
2014-01-11 19:37:19 -06:00
Jack Nagel
0d42601872 Escape issue search string
Fixes Homebrew/homebrew#25779.
2014-01-10 17:32:15 -06:00
Mike McQuaid
30e409adfd search: handle tap not found and suggest update.
Closes Homebrew/homebrew#25706.
Closes Homebrew/homebrew#25682.
2014-01-09 17:20:54 +00:00
Mike McQuaid
30503cebaa Revert "detect_cxx_stdlibs: ignore executables."
This reverts commit 1cd636d368c66d1346adc1c38633c8f204c759f4.
2014-01-08 07:33:32 +00:00
Christian Moritz
3651c0cb58 create: fix typos
Closes Homebrew/homebrew#25709.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07 12:10:11 +00:00
Mike McQuaid
44d23c8d40 detect_cxx_stdlibs: ignore executables. 2014-01-07 08:49:37 +00:00
Mike McQuaid
cb0b6a0fa3 create: always use double quotes. 2014-01-07 08:11:02 +00:00
Mike McQuaid
6047e67d35 bottle: improve "not installed" message.
Fixes Homebrew/homebrew#25546.
2014-01-04 14:50:13 +00:00
Mike McQuaid
744a8944b0 caveats: show python caveats if modules installed. 2014-01-04 13:19:20 +00:00
Mike McQuaid
cdbc7c9e53 Pathname: add methods to write env scripts. 2014-01-04 13:19:20 +00:00
Mike McQuaid
996c7bd7d1 ENV: add method to prepend and create a PATH. 2014-01-04 13:19:20 +00:00
Mike McQuaid
ea1ae32a13 formula: fix whitespace. 2014-01-04 13:19:20 +00:00
Misty De Meo
c247f66a13 stdenv tests: add gcc-4.0 test 2014-01-04 01:37:19 -08:00
Misty De Meo
51d8270abd ENV.gcc: remove raise
This raise happened in no other ENV methods, and isn't really necessary
since fails_with guards against this method actually being called unless
gcc-4.2 is actually installed.
2014-01-04 01:22:04 -08:00
Misty De Meo
d7a6161751 Recommit ENV changes 2014-01-04 01:20:56 -08:00
Mike McQuaid
3cf2cc853d Revert "stdenv: fix self.cc check"
This reverts commit 0e1d52c0d3945ae0ac69383c7734e425b7fbf8f1.
2014-01-04 09:14:28 +00:00
Mike McQuaid
e3bb6f6e0b Revert "default_cc: locate already returns Pathnames"
This reverts commit 8ec6123d439e8f4d3586bbca6a426b726bd5e9dd.
2014-01-04 09:14:27 +00:00
Mike McQuaid
4866fd670f Revert "default_compiler: recognize gcc-4.0"
This reverts commit bedcbb806bb8a991a1317b4ccde8d16b6974cc46.
2014-01-04 09:14:26 +00:00
Mike McQuaid
1dcf726a59 Revert "stdenv: set correct compiler symbol for gcc 4.0"
This reverts commit f4dc5614953b3b90acc28c83262d56587b0616b1.
2014-01-04 09:14:25 +00:00
Misty De Meo
bdd2e71b3a stdenv: set correct compiler symbol for gcc 4.0 2014-01-03 19:13:35 -08:00
Misty De Meo
ce97caed34 default_compiler: recognize gcc-4.0 2014-01-03 18:25:09 -08:00
Misty De Meo
a6c838b08a default_cc: locate already returns Pathnames 2014-01-03 18:24:54 -08:00
Misty De Meo
97bb9c5b73 stdenv: fix self.cc check
Since ENV.cc/cxx are accessors to ENV, any values being passed through
are coerced into strings, which means that a nil `ENV.cc` is actually
an empty string - which isn't considered to be false in Ruby.

Fixes mistydemeo/tigerbrew#161.
Fixes mistydemeo/tigerbrew#135.
2014-01-03 17:59:00 -08:00
Mike McQuaid
5413ebca53 exceptions: remove unused AlreadyTappedError. 2014-01-03 21:57:07 +00:00