summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-whichcraft/package.py17
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')