From 80a54dc5b2145bf494655af1a0b1c17c0700be54 Mon Sep 17 00:00:00 2001 From: Sean Wolfe Date: Tue, 1 Sep 2009 09:17:44 -0500 Subject: [PATCH] Couchdb and dependency formulae MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Max Howell I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway… --- Library/Homebrew/pathname+yeast.rb | 2 +- Library/Homebrew/unittest.rb | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index 6bdd423347..cf068d0fa2 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -118,7 +118,7 @@ class Pathname # eg. foobar-4.5.1-1 # eg. ruby-1.9.1-p243 - /-((\d+\.)*\d\.\d+-p?\d+)$/.match stem + /-((\d+\.)*\d\.\d+-(p|rc)?\d+)$/.match stem return $1 if $1 # eg. lame-398-1 diff --git a/Library/Homebrew/unittest.rb b/Library/Homebrew/unittest.rb index 0ef29f4f21..255b556010 100755 --- a/Library/Homebrew/unittest.rb +++ b/Library/Homebrew/unittest.rb @@ -477,4 +477,9 @@ class BeerTasting