<commit_before>from conans import ConanFile
import os

class EigenConan(ConanFile):
    name = "eigen"
    version = "3.2"
    settings = "os", "compiler", "build_type", "arch"
    options = {"shared": [True, False]}
    default_options = "shared=True"
    exports = "eigen/*"
    url="https://github.com/jslee02/conan-dart/tree/master/eigen/3.2"

    def source(self):
        self.run('hg clone https://bitbucket.org/eigen/eigen -u 3.2.7')
        self.run('cd eigen')

    def package(self):
        self.copy("*", dst="include/Eigen", src="eigen/Eigen")
        self.copy("*", dst="include/unsupported", src="eigen/unsupported")
<commit_msg>Add --insecure option to hg clone to avoid self-assigned certificate issue<commit_after>from conans import ConanFile
import os

class EigenConan(ConanFile):
    name = "eigen"
    version = "3.2"
    settings = "os", "compiler", "build_type", "arch"
    options = {"shared": [True, False]}
    default_options = "shared=True"
    exports = "eigen/*"
    url="https://github.com/jslee02/conan-dart/tree/master/eigen/3.2"

    def source(self):
        self.run('hg clone --insecure https://bitbucket.org/eigen/eigen -u 3.2.7')
        self.run('cd eigen')

    def package(self):
        self.copy("*", dst="include/Eigen", src="eigen/Eigen")
        self.copy("*", dst="include/unsupported", src="eigen/unsupported")

{'fraction_non_alphanumeric': 0.17254038179148312, 'fraction_numerical': 0.013215859030837005, 'mean_word_length': 3.326984126984127, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2060948', 'n_tokens_mistral': 482, 'n_tokens_neox': 469, 'n_words': 97}