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