<commit_before># Copyright 2013-2018 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 PyPly(PythonPackage):
    """PLY is nothing more than a straightforward lex/yacc implementation."""
    homepage = "http://www.dabeaz.com/ply"
    url      = "https://github.com/dabeaz/ply/archive/3.11.tar.gz"

    version('3.11', '6465f602e656455affcd7c5734c638f8')
    version('3.8', '94726411496c52c87c2b9429b12d5c50', url='http://www.dabeaz.com/ply/ply-3.8.tar.gz')<commit_msg>py-ply: fix download url (#9862)<commit_after># Copyright 2013-2018 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 PyPly(PythonPackage):
    """PLY is nothing more than a straightforward lex/yacc implementation."""
    homepage = "http://www.dabeaz.com/ply"
    url      = "http://www.dabeaz.com/ply/ply-3.11.tar.gz"

    version('3.11', '6465f602e656455affcd7c5734c638f8')
    version('3.8', '94726411496c52c87c2b9429b12d5c50')
{'fraction_non_alphanumeric': 0.13256006628003314, 'fraction_numerical': 0.11267605633802817, 'mean_word_length': 4.229437229437229, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5758374', 'n_tokens_mistral': 506, 'n_tokens_neox': 431, 'n_words': 96}