
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
20 lines
669 B
Python
20 lines
669 B
Python
# 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 PySnuggs(PythonPackage):
|
|
"""Snuggs are s-expressions for Numpy"""
|
|
|
|
homepage = "https://github.com/mapbox/snuggs"""
|
|
url = "https://github.com/mapbox/snuggs/archive/1.4.1.zip"
|
|
|
|
version('1.4.1', sha256='b37ed4e11c5f372695dc6fe66fce6cede124c90a920fe4726c970c9293b71233')
|
|
|
|
depends_on('py-numpy', type=('build', 'run'))
|
|
depends_on('py-click', type=('build', 'run'))
|
|
depends_on('py-pyparsing', type=('build', 'run'))
|