<commit_before># Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Openslide(AutotoolsPackage):
    """OpenSlide reads whole slide image files."""

    homepage = "http://openslide.org/"
    url      = "https://github.com/openslide/openslide/releases/download/v3.4.1/openslide-3.4.1.tar.xz"

    version('3.4.1', sha256='9938034dba7f48fadc90a2cdf8cfe94c5613b04098d1348a5ff19da95b990564')

    depends_on('openjpeg')
    depends_on('jpeg')
    depends_on('libtiff')
    depends_on('libxml2')
    depends_on('sqlite@3.6:')<commit_msg>openslide: Add missing dependencies. (#17445)<commit_after># Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Openslide(AutotoolsPackage):
    """OpenSlide reads whole slide image files."""

    homepage = "http://openslide.org/"
    url      = "https://github.com/openslide/openslide/releases/download/v3.4.1/openslide-3.4.1.tar.xz"

    version('3.4.1', sha256='9938034dba7f48fadc90a2cdf8cfe94c5613b04098d1348a5ff19da95b990564')

    depends_on('openjpeg')
    depends_on('jpeg')
    depends_on('libtiff')
    depends_on('libxml2')
    depends_on('sqlite@3.6:')
    depends_on('glib')
    depends_on('cairo+pdf')
    depends_on('gdk-pixbuf')
{'fraction_non_alphanumeric': 0.13188976377952755, 'fraction_numerical': 0.08858267716535433, 'mean_word_length': 4.407801418439717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5559094', 'n_tokens_mistral': 634, 'n_tokens_neox': 567, 'n_words': 98}