# Copyright 2013-2022 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 PyGlob2(PythonPackage):
    """Version of the glob module that can capture patterns
    and supports recursive wildcards."""

    homepage = "http://github.com/miracle2k/python-glob2/"
    pypi     = "glob2/glob2-0.7.tar.gz"

    version('0.7', sha256='85c3dbd07c8aa26d63d7aacee34fa86e9a91a3873bc30bf62ec46e531f92ab8c')
    version('0.6', sha256='f5b0a686ff21f820c4d3f0c4edd216704cea59d79d00fa337e244a2f2ff83ed6')

    depends_on('py-setuptools', type='build')
