<commit_before>cask 'calibre' do
  if MacOS.version <= :lion
    version '1.48.0'
    sha256 '0533283965fbc9a6618d0b27c85bdf3671fe75ff0e89eeff406fe1457ee61b14'
  else
    version '2.66.0'
    sha256 'a83cc65bf7436fe767a984728e0a592de8d5a7255de01e11d02b9f0506b2944f'
    appcast 'https://github.com/kovidgoyal/calibre/releases.atom',
            checkpoint: '29193b770b3c0a0a5d9ebeda9e25348274dc88dfbe9b70040fcb0884b503f7f2'
  end

  url "https://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
  name 'calibre'
  homepage 'https://calibre-ebook.com/'
  license :gpl

  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"<commit_msg>Update calibre to 2.67.0 (#24354)<commit_after>cask 'calibre' do
  if MacOS.version <= :lion
    version '1.48.0'
    sha256 '0533283965fbc9a6618d0b27c85bdf3671fe75ff0e89eeff406fe1457ee61b14'
  else
    version '2.67.0'
    sha256 '3d6392e52ae2bcc9016258e9aaa4b722d2efa93a55fd088fc6ae9c5fcf9b1d68'
    appcast 'https://github.com/kovidgoyal/calibre/releases.atom',
            checkpoint: 'eba39571891c1c25190f0f98c1936bb623c5fcb048aedee9bdf2e9891ef54adf'
  end

  url "https://download.calibre-ebook.com/#{version}/calibre-#{version}.dmg"
  name 'calibre'
  homepage 'https://calibre-ebook.com/'
  license :gpl

  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"
{'fraction_non_alphanumeric': 0.12546353522867737, 'fraction_numerical': 0.16625463535228677, 'mean_word_length': 4.802867383512544, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '715226', 'n_tokens_mistral': 856, 'n_tokens_neox': 717, 'n_words': 75}