summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-userpath/package.py
blob: f7d62a92bbbff04668bb173623ad65c67acfe221 (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
# 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 PyUserpath(PythonPackage):
    """Cross-platform tool for adding locations to the user PATH."""

    homepage = "https://github.com/ofek/userpath"
    pypi = "userpath/userpath-1.8.0.tar.gz"

    license("MIT")

    version("1.8.0", sha256="04233d2fcfe5cff911c1e4fb7189755640e1524ff87a4b82ab9d6b875fee5787")

    depends_on("python@3.7:", type=("build", "run"))

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

    depends_on("py-click", type=("build", "run"))