
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
24 lines
803 B
Python
24 lines
803 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 PyIminuit(PythonPackage):
|
|
"""Interactive IPython-Friendly Minimizer based on SEAL Minuit2."""
|
|
|
|
homepage = "https://pypi.python.org/pypi/iminuit"
|
|
url = "https://pypi.io/packages/source/i/iminuit/iminuit-1.2.tar.gz"
|
|
|
|
version('1.2', sha256='7651105fc3f186cfb5742f075ffebcc5088bf7797d8ed124c00977eebe0d1c64')
|
|
|
|
# Required dependencies
|
|
depends_on('py-setuptools', type='build')
|
|
|
|
# Optional dependencies
|
|
depends_on('py-numpy', type=('build', 'run'))
|
|
depends_on('py-matplotlib', type=('build', 'run'))
|
|
depends_on('py-cython', type='build')
|