<commit_before>from spack import *

class Jpeg(Package):
    """jpeg library"""
    homepage = "http://www.ijg.org"
    url      = "http://www.ijg.org/files/jpegsrc.v9a.tar.gz"

    version('9a', '3353992aecaee1805ef4109aadd433e7')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)

        make()
        make("install")<commit_msg>Add latest jpeg version<commit_after>from spack import *

class Jpeg(Package):
    """libjpeg is a widely used free library with functions for handling the
    JPEG image data format. It implements a JPEG codec (encoding and decoding)
    alongside various utilities for handling JPEG data."""

    homepage = "http://www.ijg.org"
    url      = "http://www.ijg.org/files/jpegsrc.v9b.tar.gz"

    version('9b', '6a9996ce116ec5c52b4870dbcd6d3ddb')
    version('9a', '3353992aecaee1805ef4109aadd433e7')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)

        make()
        make("test")
        make("install")
{'fraction_non_alphanumeric': 0.13645418326693226, 'fraction_numerical': 0.05976095617529881, 'mean_word_length': 3.1358024691358026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '7313770', 'n_tokens_mistral': 379, 'n_tokens_neox': 340, 'n_words': 76}