summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-glob2/package.py
blob: f91e2b6cce15ff97e461aa389facc75a99c417f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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')