liweinan/ett — pull request #135 by thescouser89 (2014-04-25 19:17:30+00:00)
Title: add better name of package when guessing when getting an nvr

The better name guessing is actually a direct translation of the brew.parse
python method.

FIXME: This method is actually duplicated from package.rb . Remove duplication
in another time.