diff options
author | Eric Martin <erimar77@users.noreply.github.com> | 2019-03-13 16:03:09 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-03-13 16:03:09 -0500 |
commit | 2bca68760535481f9ef5bc7f7b6565d7076379a3 (patch) | |
tree | cded4792b9a0fbc14a810fb22be2b4ae327928a0 /var | |
parent | 39c40ee3fcb9da8eabd70b4dee1439a2411de3d5 (diff) | |
download | spack-2bca68760535481f9ef5bc7f7b6565d7076379a3.tar.gz spack-2bca68760535481f9ef5bc7f7b6565d7076379a3.tar.bz2 spack-2bca68760535481f9ef5bc7f7b6565d7076379a3.tar.xz spack-2bca68760535481f9ef5bc7f7b6565d7076379a3.zip |
py-treehash: Create new package (#10872)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-treehash/package.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-treehash/package.py b/var/spack/repos/builtin/packages/py-treehash/package.py new file mode 100644 index 0000000000..f8eedcea6f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-treehash/package.py @@ -0,0 +1,16 @@ +# Copyright 2013-2019 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 PyTreehash(PythonPackage): + """Calculates a SHA256 (or, potentially, any other hashlib supported + function) "tree" hash, as used by e.g. Amazon Glacier.""" + + homepage = "https://github.com/jdswinbank/treehash" + url = "https://pypi.io/packages/source/t/treehash/TreeHash-1.0.2.tar.gz" + + version('1.0.2', sha256='fefcadd6a1e8ba2808897d776d5ae8bdae56ec3fe90ed385c1322357269f27a4') |