<commit_before># Copyright 2013-2019 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 R3d(MakefilePackage):
    """Fast, robust polyhedral intersections, analytic integration, and
    conservative voxelization."""

    homepage = "https://github.com/devonmpowell/r3d"
    url      = "https://github.com/devonmpowell/r3d.git"

    version('2019-04-24', git=url, commit='86cea79c124c6a8edd8c8cdea61e3e923acb0b22')
    version('2018-12-19', git=url, commit='<PASSWORD>')

    variant("test",  default=False, description="Build R3D regression tests")

    def build(self, spec, prefix):<commit_msg>r3d: add version 2018-01-07 (#11770)<commit_after># Copyright 2013-2019 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 R3d(MakefilePackage):
    """Fast, robust polyhedral intersections, analytic integration, and
    conservative voxelization."""

    homepage = "https://github.com/devonmpowell/r3d"
    url      = "https://github.com/devonmpowell/r3d.git"

    version('2019-04-24', git=url, commit='86cea79c124c6a8edd8c8cdea61e3e923acb0b22')
    version('2018-12-19', git=url, commit='<PASSWORD>')
    version('2018-01-07', git=url, commit='<PASSWORD>')

    variant("test",  default=False, description="Build R3D regression tests")

    def build(self, spec, prefix):
{'fraction_non_alphanumeric': 0.1306277742549144, 'fraction_numerical': 0.07736207989854153, 'mean_word_length': 4.635714285714286, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '7313146', 'n_tokens_mistral': 605, 'n_tokens_neox': 518, 'n_words': 122}