diff options
author | Matthias Wolf <matthias.wolf@epfl.ch> | 2020-02-14 15:00:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 08:00:58 -0600 |
commit | 978a3bb7efbd8103ce0fee03deac01ec9089aed9 (patch) | |
tree | 5046a08195c262e0ed65e1c7170bfbc5c801786b /var | |
parent | 8c05221bc6b7dad8829b83d26402fcddf103719a (diff) | |
download | spack-978a3bb7efbd8103ce0fee03deac01ec9089aed9.tar.gz spack-978a3bb7efbd8103ce0fee03deac01ec9089aed9.tar.bz2 spack-978a3bb7efbd8103ce0fee03deac01ec9089aed9.tar.xz spack-978a3bb7efbd8103ce0fee03deac01ec9089aed9.zip |
py-whichcraft: new package (#14907)
* py-whichcraft: new package
* address comment
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-whichcraft/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-whichcraft/package.py b/var/spack/repos/builtin/packages/py-whichcraft/package.py new file mode 100644 index 0000000000..24dec3f888 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-whichcraft/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2020 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 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" + + version('0.4.1', sha256='66875022b3b9da8ddf7ab236c15670a782094550d07daeb51ceba4bc61b6b4aa') + + depends_on('py-setuptools', type='build') |