Skip to content

Commit

Permalink
offlineimap: add patch to fix compatibility with Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Aug 21, 2024
1 parent 0a46e3c commit f5e7cb7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Formula/o/offlineimap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Offlineimap < Formula
url "https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/v8.0.0.tar.gz"
sha256 "5d40c163ca2fbf89658116e29f8fa75050d0c34c29619019eee1a84c90fcab32"
license "GPL-2.0-or-later"
revision 2
revision 3
head "https://github.com/OfflineIMAP/offlineimap3.git", branch: "master"

bottle do
Expand Down Expand Up @@ -59,6 +59,12 @@ class Offlineimap < Formula
sha256 "8d7eaa5a82a1cac232164990f04874c594c9453ec55eef02eab885aa02fc17a2"
end

# Fix compatibility with Python 3.11+.
patch do
url "https://github.com/OfflineIMAP/offlineimap3/commit/7cd32cf834b34a3d4675b29bebcd32dc1e5ef128.patch?full_index=1"
sha256 "ffddf6f43398ee13a761c78bece1b4262f9a46cc678966da6af2705ee0fbf1ba"
end

# Support python 3.12
patch do
url "https://github.com/OfflineIMAP/offlineimap3/commit/b0c75495db9e1b2b2879e7b0500a885df937bc66.patch?full_index=1"
Expand Down

0 comments on commit f5e7cb7

Please sign in to comment.