Skip to content

Commit

Permalink
getmail: rebuild
Browse files Browse the repository at this point in the history
* getmail: deprecate
* getmail: use brewed curl
* getmail: disable

Closes #113253.

Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
Co-authored-by: Nicolas Thumann <me@n-thumann.de>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
2 people authored and BrewTestBot committed Jan 1, 2023
1 parent 9da1c2d commit af65583
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/getmail.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Getmail < Formula
desc "Extensible mail retrieval system with POP3, IMAP4, SSL support"
homepage "https://pyropus.ca/software/getmail/"
url "https://pyropus.ca/software/getmail/old-versions/getmail-5.15.tar.gz"
url "https://pyropus.ca/software/getmail/old-versions/getmail-5.15.tar.gz", using: :homebrew_curl
sha256 "d453805ffc3f8fe2586ee705733bd666777e53693125fdb149494d22bd14162a"
license "GPL-2.0-only"

Expand All @@ -19,6 +19,8 @@ class Getmail < Formula
sha256 cellar: :any_skip_relocation, mojave: "c729f338af43aebe206c4b0cbddebd1d1619d94a8277e4f1dc43908fba631b8b"
end

disable! date: "2023-04-16", because: "depends on Python 2"

def install
libexec.install %w[getmail getmail_fetch getmail_maildir getmail_mbox]
inreplace Dir[libexec/"*"], %r{^#!/usr/bin/env python$}, "#!/usr/bin/python"
Expand Down

0 comments on commit af65583

Please sign in to comment.