isync: only apply patch to stable (#45295)

This commit is contained in:
Greg Anders 2019-10-14 07:50:11 -06:00 committed by FX Coudert
parent f3e1abe3dd
commit 0a68ed8825

View file

@ -1,11 +1,17 @@
class Isync < Formula
desc "Synchronize a maildir with an IMAP server"
homepage "https://isync.sourceforge.io/"
url "https://downloads.sourceforge.net/project/isync/isync/1.3.1/isync-1.3.1.tar.gz"
sha256 "68cb4643d58152097f01c9b3abead7d7d4c9563183d72f3c2a31d22bc168f0ea"
revision 1
head "https://git.code.sf.net/p/isync/isync.git"
stable do
url "https://downloads.sourceforge.net/project/isync/isync/1.3.1/isync-1.3.1.tar.gz"
sha256 "68cb4643d58152097f01c9b3abead7d7d4c9563183d72f3c2a31d22bc168f0ea"
# Patch to fix detection of OpenSSL 1.1
# https://sourceforge.net/p/isync/bugs/51/
patch :DATA
end
bottle do
cellar :any
sha256 "d4ea3fd276458ae669596cc955beee0d2cb38ab217fc51c5c6c2acb6c73de260" => :catalina
@ -19,10 +25,6 @@ class Isync < Formula
depends_on "berkeley-db"
depends_on "openssl@1.1"
# Patch to fix detection of OpenSSL 1.1
# https://sourceforge.net/p/isync/bugs/51/
patch :DATA
def install
# Regenerated for HEAD, and because of our patch
if build.head?