Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getmail: deprecate & fix install #113253

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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