<commit_before>#
# Cookbook Name:: electrum-server
# Recipe:: leveldb storage
#
# Copyright (C) 2012 <NAME> <<EMAIL>>
#
include_recipe "python::pip"
include_recipe "python::virtualenv"

# install dependencies

if platform?("debian")
  if platform_version =~ /squeeze/
    apt_repository "testing" do
      uri "http://ftp.us.debian.org/debian/"
      components ["wheezy","main", "contrib"]
    end
    apt_preference "libleveldb1" do
      pin "release a=testing"
      pin_priority "700"
    end
    apt_preference "python-leveldb" do
      pin "release a=testing"
      pin_priority "700"
    end
  end
  package "libleveldb1"<commit_msg>correct version check<commit_after>#
# Cookbook Name:: electrum-server
# Recipe:: leveldb storage
#
# Copyright (C) 2012 <NAME> <<EMAIL>>
#
include_recipe "python::pip"
include_recipe "python::virtualenv"

# install dependencies

if platform?("debian")
  if node[:platform_version].to_i < 7.0
    apt_repository "testing" do
      uri "http://ftp.us.debian.org/debian/"
      components ["wheezy","main", "contrib"]
    end
    apt_preference "libleveldb1" do
      pin "release a=testing"
      pin_priority "700"
    end
    apt_preference "python-leveldb" do
      pin "release a=testing"
      pin_priority "700"
    end
  end
  package "libleveldb1"
{'fraction_non_alphanumeric': 0.12355212355212356, 'fraction_numerical': 0.020077220077220077, 'mean_word_length': 3.6451612903225805, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3261347', 'n_tokens_mistral': 459, 'n_tokens_neox': 431, 'n_words': 107}