Mike McQuaid
a3ea2b566b
FormulaInstaller: cleanup check_/audit_ functions.
2013-07-16 13:29:37 -07:00
Samuel John
8f0a073bf6
Audit LanguageModuleDependency for python
...
LanguageModuleDependency.new(:python,...) is deprecated now.
Replace it by
depends_on :python => ['module' => 'name-on-PyPi']
2013-07-16 11:10:14 +02:00
Samuel John
fb7f16fc94
Allow specifying version in depends_on :python
...
Note, in the explict form:
PythonInstalled.new('2.7') => :recommended
the tag :recommended is ignored (not a limitation
of PythonInstalled itself). One solution was to write
PythonInstalled.new('2.7', [:recommended])
but that is not as beautiful as we like it.
Therefore, now it is possible to:
depends_on :python => ['2.7', :recommended]
Only the first tag is attempted to be parsed as
a version specifyer "x" or "x.y" or "x.y.z"...
2013-07-16 11:04:57 +02:00
Jack Nagel
9fb163d34c
upgrade: don't rely on return value of 'onoe'
2013-07-15 23:47:04 -05:00
Jack Nagel
42cceeb4a0
upgrade: make condition clearer
2013-07-15 23:47:03 -05:00
Jack Nagel
b4419992ab
upgrade: move require out of method body
2013-07-15 23:47:03 -05:00
Jack Nagel
1678a4a65d
upgrade: remove redundant conditional
...
Since e1c62c35465eb6149688c745e4309438c08c410b, we exit early if the
outdated array is empty, so we no longer need to check this before
proceeding.
2013-07-15 23:47:02 -05:00
Mike McQuaid
e8354e2fb5
brew-test-bot: reset before checkout.
2013-07-15 21:18:32 -07:00
Samuel John
e143c3a799
Fix multiple execution of python do ... end blocks
...
Only run the `python do ... end` loop once even if
multiple `depends_on :python => 'module-name'` are
present.
2013-07-15 21:28:37 +02:00
Jack Nagel
6b299c4207
Clarify behavior of brew search
without an argument
...
As documented in the man page, when given no arguments, `brew search`
will list all formulae. This is different than giving an *empty*
argument.
2013-07-15 10:59:00 -05:00
Jack Nagel
d912bc5ff3
GitHub API access may result in SSL errors
...
Closes Homebrew/homebrew#21216 .
2013-07-15 10:57:55 -05:00
Mike McQuaid
4eb7116c9c
bottle: fix cellar output.
2013-07-14 12:11:57 -07:00
Jack Nagel
528e750f7b
Handle NULs in link targets in Pathname#resolved_path_exists?
...
Fixes Homebrew/homebrew#19475 .
Fixes Homebrew/homebrew#21184 .
2013-07-13 16:56:43 -05:00
Adam Vandenberg
7964aa6648
keg: more gnome folders
2013-07-13 10:15:54 -07:00
Adam Vandenberg
aba88a8502
audit: improve comment
2013-07-12 23:00:08 -07:00
Adam Vandenberg
34ae063c67
audit: remove github warning
...
All core formulae have been migrated to .io addresses except
for software maintained by github itself.
2013-07-12 21:26:55 -07:00
Jack Nagel
c8e79c3309
Move inreplace off of Object
...
Closes Homebrew/homebrew#21163 .
2013-07-12 16:23:06 -05:00
chdiza
6a205ab263
Man page: document brew fetch --build-from-source
...
Closes Homebrew/homebrew#21070 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-07-12 15:25:19 +01:00
Jack Nagel
38c1d25036
Remove unreachable branch in ENV.fortran
...
Now that this is handled by a Requirement with a default formula, this
code cannot be triggered under normal circumstances.
The advice given has now been moved to the Formula Cookbook on the wiki.
2013-07-11 13:03:25 -05:00
Adam Vandenberg
e805b8636c
Show symlink target if linking fails
...
Closes Homebrew/homebrew#21060 .
2013-07-10 08:54:18 -07:00
Adam Vandenberg
ae9401291d
fix deps
...
Closes Homebrew/homebrew#21113 .
2013-07-10 06:59:45 -07:00
Adam Vandenberg
37e64a2402
github doesn't use .io urls
2013-07-09 20:50:30 -07:00
Jack Nagel
9b51f986c8
Remove duplication in updater tests
2013-07-09 22:12:08 -05:00
phinze
9a94a77fa3
Properly define tapped formulae in update
...
A tapped formula is a ruby file present:
- in the root of the tap
- in directory of the tap called Formula
- in a directory of the tap called HomebrewFormula
And nowhere else. This corrects an overzealous definition of tapped
formula in the updater. (the correct definition has been in Pathname
since e613cbe5783cea2abb8100b56c22126a1ab6b9f2)
Refs Homebrew/homebrew#19743 .
Closes Homebrew/homebrew#21087 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-09 20:52:51 -05:00
Jack Nagel
81984411b0
Respect $VISUAL when picking an editor
2013-07-09 20:12:53 -05:00
Adam Vandenberg
a90ec1ae80
fix comment typo
2013-07-09 09:06:12 -07:00
Adam Vandenberg
6a83404fd5
add mime-info to Gnome folders
2013-07-08 09:59:45 -07:00
Jozef Izso
954049bcab
Completion for brew untap command in zsh shell.
...
Closes Homebrew/homebrew#21074 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-08 07:08:37 -07:00
Jack Nagel
b5d9025d22
Don't use install_p directly
2013-07-06 11:29:33 -05:00
Adam Vandenberg
527f80b83d
audit more template comments
2013-07-05 12:05:29 -07:00
Jack Nagel
e5ba52bf5c
Give advice when GitHub API requests fail
...
Refs Homebrew/homebrew#21023 .
2013-07-05 11:14:52 -05:00
Adam Vandenberg
d9487a96ea
Add audit for leading 'v' in version numbers
2013-07-04 08:49:10 -07:00
Mike McQuaid
6c242ad4bb
bottles: only try f.bottle.revision if it exists.
2013-07-04 11:32:50 +01:00
Mike McQuaid
9d12b917ec
Formulary: fix incorrect bottle variable usage.
2013-07-04 11:20:59 +01:00
Mike McQuaid
6823020af7
brew-test-bot: always force uninstall.
...
Also filter the force flag from pretty output.
Closes Homebrew/homebrew#20988 .
2013-07-04 10:52:56 +01:00
Adam Vandenberg
1e6e1dde4c
Don't always show an error at the end of brew versions
2013-07-03 10:06:11 -07:00
Adam Vandenberg
7e54d013e7
audit default template comments
2013-07-03 09:20:41 -07:00
Misty De Meo
22576e87a0
Hardware: Query sysctl for instructon sets
...
This may be more accurate than guessing.
2013-07-02 16:08:20 -05:00
Adam Vandenberg
53c97c3c96
Remove more nesting in python_helper
2013-07-02 10:21:45 -07:00
Adam Vandenberg
eafa7a141d
Reduce nesting and remove extra whitespace in python_helper
2013-07-02 10:19:31 -07:00
Adam Vandenberg
5db5740cc2
allow installation of formulae from the current folder
...
Closes Homebrew/homebrew#19177 .
2013-07-02 09:23:48 -07:00
Adam Vandenberg
9fdfdc5680
Better handling of Gnome desktop files
...
Gnome desktop support has a lot of folders in share that should be created
directly in share, rather than shared.
Add these folders to keg, and don't link any icon cache files into share.
Closes Homebrew/homebrew#20340 .
2013-07-02 08:59:33 -07:00
Adam Vandenberg
472b6e4fe1
versions: pass string to factory
...
Closes Homebrew/homebrew#20951 .
2013-07-01 16:46:05 -07:00
Mike McQuaid
e3f26a9ced
Remove message from default_formula'd requirements
2013-07-01 23:16:38 +01:00
Jack Nagel
59fdcfd4d0
Better behavior for failed connections in brew search
...
Fixes Homebrew/homebrew#20868 .
2013-07-01 17:00:08 -05:00
Mike McQuaid
621c44dbd2
CLT is just CLT now; not "for Xcode".
...
References Homebrew/homebrew#17383 .
2013-07-01 19:02:32 +01:00
Misty De Meo
be9f2d7dea
Add Haswell to CPU tests
...
These tests need a lot of work...
2013-07-01 01:06:44 -05:00
Misty De Meo
5eeb0e79a3
Hardware::CPU (Mac): add Haswell
...
See Homebrew/homebrew#20935 .
2013-07-01 00:44:54 -05:00
Adam Vandenberg
1c1b7ed683
Fix appending .rb to local formulae names
...
Closes Homebrew/homebrew#20926 .
2013-06-30 14:36:12 -07:00
Victor Martinez
829675719b
Fixed several broken sourceforge.net download locations
...
Closes Homebrew/homebrew#20645 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00