spack/var/spack/repos/builtin/packages/py-iminuit/package.py

24 lines
803 B
Python
Raw Normal View History

# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
2016-06-10 22:24:52 +08:00
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
2016-06-10 22:24:52 +08:00
from spack import *
class PyIminuit(PythonPackage):
2016-06-10 22:24:52 +08:00
"""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"
2016-06-10 22:24:52 +08:00
version('1.2', sha256='7651105fc3f186cfb5742f075ffebcc5088bf7797d8ed124c00977eebe0d1c64')
2016-06-10 22:24:52 +08:00
# Required dependencies
2016-03-09 23:46:56 +08:00
depends_on('py-setuptools', type='build')
2016-06-10 22:24:52 +08:00
# Optional dependencies
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run'))
2016-03-09 23:46:56 +08:00
depends_on('py-cython', type='build')