<commit_before>name "pycurl"
default_version "7.19.3.1"

dependency "python"
dependency "pip"
dependency "curl"
dependency "gdbm" if (platform == "mac_os_x" or platform == "freebsd" or platform == "aix")
dependency "libgcc" if (platform == "solaris2" and Omnibus.config.solaris_compiler == "gcc")

build do
  build_env = {
    "PATH" => "/#{install_dir}/embedded/bin:#{ENV['PATH']}"
  }
  command "#{install_dir}/embedded/bin/pip install -I #{name}==#{version}", :env => build_env
end<commit_msg>Platform is deprecated. Use Ohai['platform'] instead<commit_after>name "pycurl"
default_version "7.19.3.1"

dependency "python"
dependency "pip"
dependency "curl"
dependency "gdbm" if (Ohai['platform'] == "mac_os_x" or Ohai['platform'] == "freebsd" or Ohai['platform'] == "aix")
dependency "libgcc" if (Ohai['platform'] == "solaris2" and Omnibus.config.solaris_compiler == "gcc")

build do
  build_env = {
    "PATH" => "/#{install_dir}/embedded/bin:#{ENV['PATH']}"
  }
  command "#{install_dir}/embedded/bin/pip install -I #{name}==#{version}", :env => build_env
end
{'fraction_non_alphanumeric': 0.18908748824082786, 'fraction_numerical': 0.011288805268109126, 'mean_word_length': 5.777070063694268, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5664028', 'n_tokens_mistral': 408, 'n_tokens_neox': 378, 'n_words': 88}