<commit_before>class Unlinked < Requirement
  fatal true

  satisfy(:build_env => false) { !core_gdal_linked }

  def core_gdal_linked
    Formula["gdal"].linked_keg.exist?
  rescue
    return false
  end

  def message
    s = "\033[31mYou have other linked versions!\e[0m\n\n"

    s += "Unlink with \e[32mbrew unlink gdal\e[0m or remove with brew \e[32muninstall --ignore-dependencies gdal\e[0m\n\n" if core_gdal_linked
    s
  end
end

class OsgeoGdal < Formula
  desc "GDAL: Geospatial Data Abstraction Library"
  homepage "https://www.gdal.org/"
  url "https://github.com/OSGeo/gdal/archive/v3.0.0.tar.gz"
  sha256 "638f4db7f97f9db91800beb0214620380b12e43da3595b98554ac63442b8d43a"

  # revision 1

  head do
    url "https://github.com/OSGeo/gdal.git", :branch => "master"
    depends_on "doxygen" => :build
  end

  bottle do
    root_url "https://bottle.download.osgeo.org"
    sha256 "193e4d06f1a7a5211a013f3af293818cc87604e51cb76b18203517ea49447cc9" => :mojave
    sha256 "193e4d06f1a7a5211a013f3af293818cc87604e51cb76b18203517ea49447cc9" => :high_sierra
    sha256 "87a77e9161b4cba1be6f6b2bfefe4b064d0c8ed0d0e42e619f7e982db346b9e6" => :sierra<commit_msg>Updated bottles for:  osgeo-gdal<commit_after>class Unlinked < Requirement
  fatal true

  satisfy(:build_env => false) { !core_gdal_linked }

  def core_gdal_linked
    Formula["gdal"].linked_keg.exist?
  rescue
    return false
  end

  def message
    s = "\033[31mYou have other linked versions!\e[0m\n\n"

    s += "Unlink with \e[32mbrew unlink gdal\e[0m or remove with brew \e[32muninstall --ignore-dependencies gdal\e[0m\n\n" if core_gdal_linked
    s
  end
end

class OsgeoGdal < Formula
  desc "GDAL: Geospatial Data Abstraction Library"
  homepage "https://www.gdal.org/"
  url "https://github.com/OSGeo/gdal/archive/v3.0.0.tar.gz"
  sha256 "638f4db7f97f9db91800beb0214620380b12e43da3595b98554ac63442b8d43a"

  # revision 1

  head do
    url "https://github.com/OSGeo/gdal.git", :branch => "master"
    depends_on "doxygen" => :build
  end

  bottle do
    root_url "https://bottle.download.osgeo.org"
    rebuild 1
    sha256 "8549309435a779d7ec3f9778db7801fb7c1c3ed92ab8c88549f304ff4e38e3ea" => :mojave
    sha256 "8549309435a779d7ec3f9778db7801fb7c1c3ed92ab8c88549f304ff4e38e3ea" => :high_sierra
    sha256 "70a056fd1e47fe8e9b22c1edda9a3d1e25f8a154c2e5b6560c0284365bda82d4" => :sierra
{'fraction_non_alphanumeric': 0.10063424947145877, 'fraction_numerical': 0.1649048625792812, 'mean_word_length': 4.304932735426009, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '195498', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1028, 'n_words': 166}