diff options
author | Jen Herting <jen@herting.cc> | 2023-08-07 20:41:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 19:41:21 -0500 |
commit | 1f6e3cc8cba5688e7bd2d4b05e7994f23a9c14aa (patch) | |
tree | d7a575f1da5cbee2fd9bd82a0618c28ee2e7745e /var | |
parent | 169c4245e032213daf68fea9e1082a4a0fe53aee (diff) | |
download | spack-1f6e3cc8cba5688e7bd2d4b05e7994f23a9c14aa.tar.gz spack-1f6e3cc8cba5688e7bd2d4b05e7994f23a9c14aa.tar.bz2 spack-1f6e3cc8cba5688e7bd2d4b05e7994f23a9c14aa.tar.xz spack-1f6e3cc8cba5688e7bd2d4b05e7994f23a9c14aa.zip |
[py-pathy] new package (#38968)
* [py-pathy] new package
* [py-pathy] removed lines for unsupported versions of python
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pathy/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pathy/package.py b/var/spack/repos/builtin/packages/py-pathy/package.py new file mode 100644 index 0000000000..93c7b8be5a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pathy/package.py @@ -0,0 +1,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 PyPathy(PythonPackage): + """pathlib.Path subclasses for local and cloud bucket storage""" + + homepage = "https://github.com/justindujardin/pathy" + pypi = "pathy/pathy-0.10.1.tar.gz" + + version("0.10.1", sha256="4cd6e71b4cd5ff875cfbb949ad9fa5519d8d1dbe69d5fc1d1b23aa3cb049618b") + + depends_on("py-setuptools", type="build") + depends_on("py-smart-open@5.2.1:6", type=("build", "run")) + depends_on("py-typer@0.3:0", type=("build", "run")) |