<commit_before>cask "calibre" do
  if MacOS.version <= :high_sierra
    version "3.48.0"
    sha256 "68829cd902b8e0b2b7d5cf7be132df37bcc274a1e5720b4605d2dd95f3a29168"
    url "https://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
  else
    version "5.6.0"
    sha256 "5eaf240fbf7ff201fba93ab3a360b00548bf3792c602632b3f592a1d77665284"
    # github.com/kovidgoyal/calibre/ was verified as official when first introduced to the cask
    url "https://github.com/kovidgoyal/calibre/releases/download/v#{version}/calibre-#{version}.dmg"
    appcast "https://github.com/kovidgoyal/calibre/releases.atom"
  end

  name "calibre"
  desc "E-books management software"
  homepage "https://calibre-ebook.com/"

  conflicts_with cask: "homebrew/cask-versions/calibre4"

  app "calibre.app"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-complete"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-customize"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-debug"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-parallel"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-server"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-smtp"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibredb"
  binary "#{appdir}/calibre.app/Contents/MacOS/ebook-convert"<commit_msg>Update calibre from 5.6.0 to 5.7.0 (#95213)<commit_after>cask "calibre" do
  if MacOS.version <= :high_sierra
    version "3.48.0"
    sha256 "68829cd902b8e0b2b7d5cf7be132df37bcc274a1e5720b4605d2dd95f3a29168"
    url "https://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
  else
    version "5.7.0"
    sha256 "da58c5aaf2fed244c58c1dc5909cfc4b96c3564d9c691a5d594fcb16c7fd67cf"
    url "https://github.com/kovidgoyal/calibre/releases/download/v#{version}/calibre-#{version}.dmg",
        verified: "github.com/kovidgoyal/calibre/"
    appcast "https://github.com/kovidgoyal/calibre/releases.atom"
  end

  name "calibre"
  desc "E-books management software"
  homepage "https://calibre-ebook.com/"

  conflicts_with cask: "homebrew/cask-versions/calibre4"

  app "calibre.app"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-complete"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-customize"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-debug"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-parallel"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-server"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibre-smtp"
  binary "#{appdir}/calibre.app/Contents/MacOS/calibredb"
  binary "#{appdir}/calibre.app/Contents/MacOS/ebook-convert"
{'fraction_non_alphanumeric': 0.14601769911504425, 'fraction_numerical': 0.07190265486725664, 'mean_word_length': 4.7846481876332625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6563632', 'n_tokens_mistral': 1215, 'n_tokens_neox': 1116, 'n_words': 124}