<commit_before>from spack import *

class Xz(Package):
    """XZ Utils is free general-purpose data compression software with
       high compression ratio. XZ Utils were written for POSIX-like
       systems, but also work on some not-so-POSIX systems. XZ Utils are
       the successor to LZMA Utils."""
    homepage = "http://tukaani.org/xz/"
    url      = "http://tukaani.org/xz/xz-5.2.0.tar.bz2"

    version('5.2.0', '<KEY>')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)
        make()
        make("install")<commit_msg>Added v5.2.2 for xz library<commit_after>from spack import *

class Xz(Package):
    """XZ Utils is free general-purpose data compression software with
       high compression ratio. XZ Utils were written for POSIX-like
       systems, but also work on some not-so-POSIX systems. XZ Utils are
       the successor to LZMA Utils."""
    homepage = "http://tukaani.org/xz/"
    url      = "http://tukaani.org/xz/xz-5.2.0.tar.bz2"

    version('5.2.0', '<KEY>',
            url = 'http://tukaani.org/xz/xz-5.2.0.tar.bz2')
    version('5.2.2', 'f90c9a0c8b259aee2234c4e0d7fd70af',
            url = 'http://tukaani.org/xz/xz-5.2.2.tar.bz2')
   
    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)
        make()
        make("install")

{'fraction_non_alphanumeric': 0.1445874337623013, 'fraction_numerical': 0.03406510219530658, 'mean_word_length': 2.4881266490765173, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4101598', 'n_tokens_mistral': 493, 'n_tokens_neox': 462, 'n_words': 115}