| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  | def blacklisted?(name) | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  |   case name.downcase | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "gem", /^rubygems?$/ then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2015-07-28 08:32:39 -07:00
										 |  |  |     Homebrew provides gem via: `brew install ruby`. | 
					
						
							| 
									
										
										
										
											2012-02-25 03:25:43 -06:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "tex", "tex-live", "texlive", "latex" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  |     Installing TeX from source is weird and gross, requires a lot of patches, | 
					
						
							| 
									
										
										
										
											2016-07-15 22:05:03 +01:00
										 |  |  |     and only builds 32-bit (and thus can't use Homebrew dependencies) | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-01-04 05:02:27 +01:00
										 |  |  |     We recommend using a MacTeX distribution: https://www.tug.org/mactex/ | 
					
						
							| 
									
										
										
										
											2016-03-06 13:26:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-15 22:05:03 +01:00
										 |  |  |     You can install it with Homebrew Cask: | 
					
						
							|  |  |  |       brew cask install mactex | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "pip" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-09-05 12:03:41 -05:00
										 |  |  |     Homebrew provides pip via: `brew install python`. However you will then | 
					
						
							| 
									
										
										
										
											2015-10-11 16:49:38 -04:00
										 |  |  |     have two Pythons installed on your Mac, so alternatively you can install | 
					
						
							|  |  |  |     pip via the instructions at: | 
					
						
							| 
									
										
										
										
											2016-06-30 12:47:15 -07:00
										 |  |  |       https://pip.readthedocs.io/en/stable/installing/ | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "pil" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-12-28 12:47:13 +00:00
										 |  |  |     Instead of PIL, consider `pip install pillow` or `brew install Homebrew/python/pillow`. | 
					
						
							| 
									
										
										
										
											2013-09-01 13:24:29 +02:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "macruby" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2016-06-30 12:47:15 -07:00
										 |  |  |     MacRuby is not packaged and is on an indefinite development hiatus. | 
					
						
							|  |  |  |     You can read more about it at: | 
					
						
							|  |  |  |       https://github.com/MacRuby/MacRuby | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2011-08-31 13:02:23 +01:00
										 |  |  |   when /(lib)?lzma/ | 
					
						
							|  |  |  |     "lzma is now part of the xz formula." | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "gtest", "googletest", "google-test" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-01-29 12:13:04 -08:00
										 |  |  |     Installing gtest system-wide is not recommended; it should be vendored | 
					
						
							|  |  |  |     in your projects that use it. | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "gmock", "googlemock", "google-mock" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-01-29 12:13:04 -08:00
										 |  |  |     Installing gmock system-wide is not recommended; it should be vendored | 
					
						
							|  |  |  |     in your projects that use it. | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "sshpass" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-03-09 15:25:16 +00:00
										 |  |  |     We won't add sshpass because it makes it too easy for novice SSH users to | 
					
						
							|  |  |  |     ruin SSH's security. | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "gsutil" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-05-18 20:26:36 -05:00
										 |  |  |     Install gsutil with `pip install gsutil` | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "clojure" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2013-08-17 12:28:25 +01:00
										 |  |  |     Clojure isn't really a program but a library managed as part of a | 
					
						
							|  |  |  |     project and Leiningen is the user interface to that library. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     To install Clojure you should install Leiningen: | 
					
						
							|  |  |  |       brew install leiningen | 
					
						
							|  |  |  |     and then follow the tutorial: | 
					
						
							|  |  |  |       https://github.com/technomancy/leiningen/blob/stable/doc/TUTORIAL.md | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "osmium" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2014-02-12 15:17:51 +00:00
										 |  |  |     The creator of Osmium requests that it not be packaged and that people | 
					
						
							|  |  |  |     use the GitHub master branch instead. | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "gfortran" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2014-05-19 14:59:59 -07:00
										 |  |  |     GNU Fortran is now provided as part of GCC, and can be installed with: | 
					
						
							|  |  |  |       brew install gcc | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "play" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2014-06-20 07:35:03 -07:00
										 |  |  |     Play 2.3 replaces the play command with activator: | 
					
						
							| 
									
										
										
										
											2014-06-18 17:16:23 +02:00
										 |  |  |       brew install typesafe-activator | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     You can read more about this change at: | 
					
						
							| 
									
										
										
										
											2015-01-04 05:02:27 +01:00
										 |  |  |       https://www.playframework.com/documentation/2.3.x/Migration23 | 
					
						
							|  |  |  |       https://www.playframework.com/documentation/2.3.x/Highlights23 | 
					
						
							| 
									
										
										
										
											2014-06-18 17:16:23 +02:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   when "haskell-platform" then <<-EOS.undent
 | 
					
						
							| 
									
										
										
										
											2014-09-08 16:33:09 -05:00
										 |  |  |     We no longer package haskell-platform. Consider installing ghc | 
					
						
							|  |  |  |     and cabal-install instead: | 
					
						
							|  |  |  |       brew install ghc cabal-install | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-15 22:05:03 +01:00
										 |  |  |     You can install with Homebrew Cask: | 
					
						
							| 
									
										
										
										
											2016-04-03 20:01:15 +02:00
										 |  |  |       brew cask install haskell-platform | 
					
						
							| 
									
										
										
										
											2014-09-08 16:33:09 -05:00
										 |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2016-02-01 14:59:02 +00:00
										 |  |  |   when "mysqldump-secure" then <<-EOS.undent
 | 
					
						
							|  |  |  |     The creator of mysqldump-secure tried to game our popularity metrics. | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2016-03-23 20:30:15 +00:00
										 |  |  |   when "ngrok" then <<-EOS.undent
 | 
					
						
							|  |  |  |     Upstream sunsetted 1.x in March 2016 and 2.x is not open-source. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-15 22:05:03 +01:00
										 |  |  |     If you wish to use the 2.x release you can install with Homebrew Cask: | 
					
						
							| 
									
										
										
										
											2016-03-23 20:30:15 +00:00
										 |  |  |       brew cask install ngrok | 
					
						
							|  |  |  |     EOS | 
					
						
							| 
									
										
										
										
											2010-11-14 03:52:59 +00:00
										 |  |  |   end | 
					
						
							|  |  |  | end | 
					
						
							| 
									
										
										
										
											2016-07-16 21:02:16 +01:00
										 |  |  | alias generic_blacklisted? blacklisted? | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require "extend/os/blacklist" |