summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-whichcraft/package.py
blob: b9d316cfa15e29aa3caa0e34b6d7049ea8a73b4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2024 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 PyWhichcraft(PythonPackage):
    """Cross-platform cross-python shutil.which functionality."""

    homepage = "https://github.com/pydanny/whichcraft"
    url = "https://github.com/pydanny/whichcraft/archive/0.4.1.tar.gz"

    license("BSD-3-Clause")

    version("0.4.1", sha256="66875022b3b9da8ddf7ab236c15670a782094550d07daeb51ceba4bc61b6b4aa")

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