diff options
author | Jonathon Anderson <17242663+blue42u@users.noreply.github.com> | 2023-06-30 14:42:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 16:42:57 -0500 |
commit | 43143b134a761b72fce991a563decec5963aae8a (patch) | |
tree | f7a767431b6b96a5dd62317b9f0585421ae1e6de /var/spack/repos/builtin/packages/py-userpath/package.py | |
parent | 45697582dc2e971b93cdbe439b68d14028fff0c2 (diff) | |
download | spack-43143b134a761b72fce991a563decec5963aae8a.tar.gz spack-43143b134a761b72fce991a563decec5963aae8a.tar.bz2 spack-43143b134a761b72fce991a563decec5963aae8a.tar.xz spack-43143b134a761b72fce991a563decec5963aae8a.zip |
New package: pipx (#38658)
* py-userpath: new package
* pipx: new package
* Update var/spack/repos/builtin/packages/pipx/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* pipx: Remove incorrect dependency on py-platformdirs
* Update var/spack/repos/builtin/packages/pipx/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* py-userpath: Remove version requirements to match upstream
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var/spack/repos/builtin/packages/py-userpath/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-userpath/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-userpath/package.py b/var/spack/repos/builtin/packages/py-userpath/package.py new file mode 100644 index 0000000000..ac7225d784 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-userpath/package.py @@ -0,0 +1,21 @@ +# 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 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" + + 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")) |