summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pathspec/package.py
blob: 1caaeb74a84f3c012c1fc2ae7b049ec3d90519d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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.package import *


class PyPathspec(PythonPackage):
    """pathspec extends the test loading and running features of unittest,
    making it easier to write, find and run tests."""

    homepage = "https://github.com/cpburnz/python-pathspec"
    pypi = "pathspec/pathspec-0.8.1.tar.gz"

    version("0.10.1", sha256="7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d")
    version("0.9.0", sha256="e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1")
    version("0.8.1", sha256="86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd")
    version("0.3.4", sha256="7605ca5c26f554766afe1d177164a2275a85bb803b76eba3428f422972f66728")

    depends_on("python@3.7:", when="@0.10:", type=("build", "run"))
    depends_on("python@2.7:2.8,3.5:", type=("build", "run"))
    depends_on("py-setuptools@40.8:", when="@0.10:", type="build")
    depends_on("py-setuptools@39.2:", when="@0.9:", type="build")
    depends_on("py-setuptools", type="build")