aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlex Dunn2015-03-11 17:46:19 -0700
committerBrett Koonce2015-03-11 23:47:05 -0700
commit7cad1e4930849c126010b6b4681ea60f62f83f8d (patch)
treeb79e54635fe12c4be5b8fb979a0777427af78b85 /Library
parent2f4abb6c16925588b133dd6171d05c5099d362b9 (diff)
downloadhomebrew-7cad1e4930849c126010b6b4681ea60f62f83f8d.tar.bz2
getmail 4.47.0
Closes #37615. Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/getmail.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/getmail.rb b/Library/Formula/getmail.rb
index 15c2c93c4..c6e7f4f4d 100644
--- a/Library/Formula/getmail.rb
+++ b/Library/Formula/getmail.rb
@@ -1,10 +1,8 @@
-require "formula"
-
class Getmail < Formula
homepage "http://pyropus.ca/software/getmail/"
- url "http://pyropus.ca/software/getmail/old-versions/getmail-4.46.0.tar.gz"
- mirror "http://fossies.org/linux/misc/getmail-4.46.0.tar.gz"
- sha1 "0e20fcfed6c422e5135304c3728c11c7cee7081a"
+ url "http://pyropus.ca/software/getmail/old-versions/getmail-4.47.0.tar.gz"
+ mirror "https://fossies.org/linux/misc/getmail-4.47.0.tar.gz"
+ sha256 "4b5accd3d0d79e1a84c0aed850ac8717b7f6e9ad72cfab7ba22abf58638e4540"
# See: https://github.com/Homebrew/homebrew/pull/28739
patch do
@@ -13,9 +11,13 @@ class Getmail < Formula
end
def install
- libexec.install %w( getmail getmail_fetch getmail_maildir getmail_mbox )
+ libexec.install %w[getmail getmail_fetch getmail_maildir getmail_mbox]
bin.install_symlink Dir["#{libexec}/*"]
libexec.install "getmailcore"
man1.install Dir["docs/*.1"]
end
+
+ test do
+ system bin/"getmail", "--help"
+ end
end