<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 PyCheroot(PythonPackage):
    """ Highly-optimized, pure-python HTTP server """

    homepage = "https://cheroot.cherrypy.org/"
    url      = "https://pypi.io/packages/source/c/cheroot/cheroot-6.5.5.tar.gz"

    version(
        '6.5.5', sha256='f6a85e005adb5bc5f3a92b998ff0e48795d4d98a0fbb7edde47a7513d4100601')

    depends_on('py-setuptools', type='build')
    depends_on('py-setuptools-scm@1.15.0:', type='build')
    depends_on('py-setuptools-scm-git-archive@1.0:', type='build')
    depends_on('py-more-itertools@2.6:', type=('build', 'run'))
    depends_on('py-six@1.11.0:', type=('build', 'run'))
    depends_on('py-backports-functools-lru-cache', type=('build', 'run'))
    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))<commit_msg>dependency fix for python3 (#18118)<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 PyCheroot(PythonPackage):
    """ Highly-optimized, pure-python HTTP server """

    homepage = "https://cheroot.cherrypy.org/"
    url = "https://pypi.io/packages/source/c/cheroot/cheroot-6.5.5.tar.gz"

    version('8.3.0', sha256='a0577e1f28661727d472671a7cc4e0c12ea0cbc5220265e70f00a8b8cb628931')
    version('6.5.5', sha256='f6a85e005adb5bc5f3a92b998ff0e48795d4d98a0fbb7edde47a7513d4100601')

    depends_on('py-setuptools', type='build')
    depends_on('py-setuptools-scm@1.15.0:', type='build')
    depends_on('py-setuptools-scm-git-archive@1.0:', type='build')
    depends_on('py-more-itertools@2.6:', type=('build', 'run'))
    depends_on('py-six@1.11.0:', type=('build', 'run'))
    depends_on('py-backports-functools-lru-cache', type=('build', 'run'),
               when='^python@:3.3')
    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
{'fraction_non_alphanumeric': 0.17810150375939848, 'fraction_numerical': 0.09774436090225563, 'mean_word_length': 4.602631578947369, 'pattern_counts': {'":': 0, '<': 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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5447408', 'n_tokens_mistral': 932, 'n_tokens_neox': 848, 'n_words': 121}